public class PlcControlParameter extends Parameter implements IObjectByteArray
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
P_PROGRAM |
functionCode| 构造器和说明 |
|---|
PlcControlParameter() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
byteArrayLength()
获取字节数组长度
|
static PlcControlParameter |
coldRestart()
冷启动
|
static PlcControlParameter |
compress()
将ram复制到rom中
|
static PlcControlParameter |
copyRamToRom()
将ram复制到rom中
|
static PlcControlParameter |
fromBytes(byte[] data)
字节数组数据解析
|
static PlcControlParameter |
hotRestart()
热重启
|
static PlcControlParameter |
insert(EFileBlockType blockType,
int blockNumber,
EDestinationFileSystem destinationFileSystem)
创建插入文件指令
|
void |
setParameterBlock(PlcControlParamBlock parameterBlock) |
void |
setPiService(String piService) |
byte[] |
toByteArray()
转换为字节数组
|
public static PlcControlParameter fromBytes(byte[] data)
data - 字节数组数据public static PlcControlParameter hotRestart()
public static PlcControlParameter coldRestart()
public static PlcControlParameter copyRamToRom()
public static PlcControlParameter compress()
public static PlcControlParameter insert(EFileBlockType blockType, int blockNumber, EDestinationFileSystem destinationFileSystem)
blockType - 块类型blockNumber - 块编号destinationFileSystem - 目标文件系统public void setParameterBlock(PlcControlParamBlock parameterBlock)
public void setPiService(String piService)
public int byteArrayLength()
IObjectByteArraybyteArrayLength 在接口中 IObjectByteArraybyteArrayLength 在类中 Parameterpublic byte[] toByteArray()
IObjectByteArraytoByteArray 在接口中 IObjectByteArraytoByteArray 在类中 ParameterCopyright © 2024. All rights reserved.