public class SetPointCommandShortFloatingPoint extends AbstractInformationObjectMessage implements MirrorableMessage<SetPointCommandShortFloatingPoint>
informationObjectAddress
header, MAX_INFORMATION_ENTRIES
Constructor and Description |
---|
SetPointCommandShortFloatingPoint(ASDUHeader header,
InformationObjectAddress informationObjectAddress,
float value) |
SetPointCommandShortFloatingPoint(ASDUHeader header,
InformationObjectAddress informationObjectAddress,
float value,
byte type,
boolean execute) |
Modifier and Type | Method and Description |
---|---|
void |
encode(ProtocolOptions options,
io.netty.buffer.ByteBuf out) |
byte |
getType() |
float |
getValue() |
boolean |
isExecute() |
SetPointCommandShortFloatingPoint |
mirror(Cause cause,
boolean positive) |
static SetPointCommandShortFloatingPoint |
parse(ProtocolOptions options,
byte length,
ASDUHeader header,
io.netty.buffer.ByteBuf data) |
getInformationObjectAddress
dump, getHeader, toString
public SetPointCommandShortFloatingPoint(ASDUHeader header, InformationObjectAddress informationObjectAddress, float value, byte type, boolean execute)
public SetPointCommandShortFloatingPoint(ASDUHeader header, InformationObjectAddress informationObjectAddress, float value)
public byte getType()
public float getValue()
public boolean isExecute()
public SetPointCommandShortFloatingPoint mirror(Cause cause, boolean positive)
mirror
in interface MirrorableMessage<SetPointCommandShortFloatingPoint>
public void encode(ProtocolOptions options, io.netty.buffer.ByteBuf out)
encode
in interface Encodeable
public static SetPointCommandShortFloatingPoint parse(ProtocolOptions options, byte length, ASDUHeader header, io.netty.buffer.ByteBuf data)