use of com.ge.dspmicro.machinegateway.types.PEnvelope in project predix-machine-template-adapter-edison by PredixDev.
the class IntelBoardSubscriptionMachineAdapter method buildEnvelope.
private PDataValue buildEnvelope(WorkshopDataNodeIntel node, Object value) {
PEnvelope envelope = new PEnvelope(value);
PDataValue pDataValue = new PDataValue(node.getNodeId(), envelope);
pDataValue.setNodeName(node.getName());
pDataValue.setAddress(node.getAddress());
return pDataValue;
}
Aggregations