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, waitforEach, spliteratorpublic 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 JSONSerializablepublic void fromJSON(net.sf.json.JSONObject json)
fromJSON in interface JSONSerializablepublic boolean addDataBlock(DataBlock dataBlock)
addDataBlock in interface LongFramepublic byte getAddress()
getAddress in interface PrimaryAddresspublic Frame.ControlCode getControlCode()
getControlCode in interface Framepublic DataBlock getLastDataBlock()
getLastDataBlock in interface LongFramepublic int getSubTelegram()
public ApplicationReset.TelegramType getTelegramType()
public boolean isFcb()
public void replaceDataBlock(DataBlock oldDataBlock, DataBlock newDataBlock)
replaceDataBlock in interface LongFramepublic void setAddress(byte address)
setAddress in interface PrimaryAddresspublic 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.