public class ApplicationReset extends Object implements LongFrame
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationReset.TelegramType |
Frame.ControlCode
Modifier and Type | Field and Description |
---|---|
static String |
SEND_USER_DATA_SUBTYPE |
Constructor and Description |
---|
ApplicationReset() |
ApplicationReset(ApplicationReset.TelegramType telegramType,
int subTelegram) |
ApplicationReset(SendUserData old) |
Modifier and Type | Method and Description |
---|---|
boolean |
addDataBlock(DataBlock dataBlock) |
boolean |
equals(Object o) |
void |
fromJSON(net.sf.json.JSONObject json) |
byte |
getAddress() |
Frame.ControlCode |
getControlCode() |
DataBlock |
getLastDataBlock() |
int |
getSubTelegram() |
ApplicationReset.TelegramType |
getTelegramType() |
boolean |
isFcb() |
Iterator<DataBlock> |
iterator() |
void |
replaceDataBlock(DataBlock oldDataBlock,
DataBlock newDataBlock) |
void |
setAddress(byte address) |
void |
setFcb(boolean fcb) |
void |
setSubTelegram(int subTelegram) |
void |
setTelegramType(ApplicationReset.TelegramType telegramType) |
void |
setTelegramTypeAndSubTelegram(int value) |
net.sf.json.JSONObject |
toJSON(JsonSerializeType jsonSerializeType) |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String SEND_USER_DATA_SUBTYPE
public ApplicationReset()
public ApplicationReset(SendUserData old)
public ApplicationReset(ApplicationReset.TelegramType telegramType, int subTelegram)
public net.sf.json.JSONObject toJSON(JsonSerializeType jsonSerializeType)
toJSON
in interface JSONSerializable
public void fromJSON(net.sf.json.JSONObject json)
fromJSON
in interface JSONSerializable
public boolean addDataBlock(DataBlock dataBlock)
addDataBlock
in interface LongFrame
public byte getAddress()
getAddress
in interface PrimaryAddress
public Frame.ControlCode getControlCode()
getControlCode
in interface Frame
public DataBlock getLastDataBlock()
getLastDataBlock
in interface LongFrame
public int getSubTelegram()
public ApplicationReset.TelegramType getTelegramType()
public boolean isFcb()
public void replaceDataBlock(DataBlock oldDataBlock, DataBlock newDataBlock)
replaceDataBlock
in interface LongFrame
public void setAddress(byte address)
setAddress
in interface PrimaryAddress
public void setFcb(boolean fcb)
public void setSubTelegram(int subTelegram)
subTelegram
- the subTelegram to setpublic void setTelegramType(ApplicationReset.TelegramType telegramType)
subcode
- the subcode to setpublic void setTelegramTypeAndSubTelegram(int value)
subcode
- the subcode to setCopyright © 2009–2016 MBus4J. All rights reserved.