Search in sources :

Example 1 with PEnvelope

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;
}
Also used : PDataValue(com.ge.dspmicro.machinegateway.types.PDataValue) PEnvelope(com.ge.dspmicro.machinegateway.types.PEnvelope)

Aggregations

PDataValue (com.ge.dspmicro.machinegateway.types.PDataValue)1 PEnvelope (com.ge.dspmicro.machinegateway.types.PEnvelope)1