use of org.openmuc.openiec61850.BdaTimestamp in project Protocol-Adapter-IEC61850 by OSGP.
the class NodeContainer method writeDate.
/**
* Writes a Date value to the given child on the device
*/
public void writeDate(final SubDataAttribute child, final Date value) throws NodeWriteException {
final BdaTimestamp dBdaTimestamp = (BdaTimestamp) this.parent.getChild(child.getDescription());
LOGGER.info("device: {}, writing {} to {}", this.deviceIdentification, value, child.getDescription());
dBdaTimestamp.setDate(value);
this.writeNode(dBdaTimestamp);
}
Aggregations