createPowerZoneMesg static method
Mesg
createPowerZoneMesg(
)
Implementation
static Mesg createPowerZoneMesg() {
int fieldIndex, subfieldIndex;
Mesg newMesg = Mesg("PowerZone", MesgNum.powerZone);
fieldIndex = 0;
newMesg.setField(
Field(
"MessageIndex",
254,
132,
1.0,
0.0,
"",
false,
ProfileType.messageIndex,
),
);
fieldIndex++;
newMesg.setField(
Field("HighValue", 1, 132, 1.0, 0.0, "watts", false, ProfileType.uint16),
);
fieldIndex++;
newMesg.setField(
Field("Name", 2, 7, 1.0, 0.0, "", false, ProfileType.string),
);
fieldIndex++;
return newMesg;
}