Class AddAlarmDefinitionV2
新增报警条目参数V2
Inherited Members
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class AddAlarmDefinitionV2 : AlarmDefinitionDtoV2
Constructors
AddAlarmDefinitionV2()
无参构造函数
Declaration
public AddAlarmDefinitionV2()
AddAlarmDefinitionV2(String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, AlarmConditionType, Decimal, Decimal, AlarmConditionCombineMethod, String, Boolean, Int32, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, AlarmConditionType condition2, decimal operand1, decimal operand2, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, bool bitIndexEnabled, int bitIndex, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
AlarmConditionType | condition2 | 报警条件二 AlarmConditionType |
System.Decimal | operand1 | 条件值 |
System.Decimal | operand2 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.Boolean | bitIndexEnabled | 是否启用按位索引 |
System.Int32 | bitIndex | 按位索引号 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, AlarmConditionType, Decimal, Decimal, AlarmConditionCombineMethod, String, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, AlarmConditionType condition2, decimal operand1, decimal operand2, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
AlarmConditionType | condition2 | 报警条件二 AlarmConditionType |
System.Decimal | operand1 | 条件值 |
System.Decimal | operand2 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, Decimal, AlarmConditionCombineMethod, String, Boolean, Int32, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, decimal operand1, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, bool bitIndexEnabled, int bitIndex, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
System.Decimal | operand1 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.Boolean | bitIndexEnabled | 是否启用按位索引 |
System.Int32 | bitIndex | 按位索引号 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, Decimal, AlarmConditionCombineMethod, String, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, decimal operand1, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
System.Decimal | operand1 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, AlarmConditionType, Decimal, Decimal, AlarmConditionCombineMethod, String, Boolean, Int32, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string name, string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, AlarmConditionType condition2, decimal operand1, decimal operand2, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, bool bitIndexEnabled, int bitIndex, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | 报警名称 |
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
AlarmConditionType | condition2 | 报警条件二 AlarmConditionType |
System.Decimal | operand1 | 条件值 |
System.Decimal | operand2 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.Boolean | bitIndexEnabled | 是否启用按位索引 |
System.Int32 | bitIndex | 按位索引号 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, AlarmConditionType, Decimal, Decimal, AlarmConditionCombineMethod, String, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string name, string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, AlarmConditionType condition2, decimal operand1, decimal operand2, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | 报警名称 |
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
AlarmConditionType | condition2 | 报警条件二 AlarmConditionType |
System.Decimal | operand1 | 条件值 |
System.Decimal | operand2 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, Decimal, AlarmConditionCombineMethod, String, Boolean, Int32, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string name, string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, decimal operand1, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, bool bitIndexEnabled, int bitIndex, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | 报警名称 |
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
System.Decimal | operand1 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.Boolean | bitIndexEnabled | 是否启用按位索引 |
System.Int32 | bitIndex | 按位索引号 |
System.String | memo | 报警备注 |
AddAlarmDefinitionV2(String, String, Int32, DataType, Int32, DataWidth, String, Int32, Int32, Int32, Int64, String, AlarmConditionType, Decimal, AlarmConditionCombineMethod, String, String)
构造函数
Declaration
public AddAlarmDefinitionV2(string name, string devAlias, int stationNo, DataType dataType, int regId, DataWidth ioWidth, string regName, int mainAddress, int subAddress, int subIndex, long groupId, string groupName, AlarmConditionType condition1, decimal operand1, AlarmConditionCombineMethod conditionCombineMethod, string alarmMessage, string memo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | 报警名称 |
System.String | devAlias | PLC设备别名 |
System.Int32 | stationNo | 站号 |
DataType | dataType | 数据类型 DataType |
System.Int32 | regId | 寄存器ID |
DataWidth | ioWidth | 位宽 DataWidth |
System.String | regName | 寄存器名称 |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
System.Int64 | groupId | 报警分组ID |
System.String | groupName | 报警分组名称 |
AlarmConditionType | condition1 | 条件一,若选择bit数据类型,bit为ON:条件一EQ AlarmConditionType |
System.Decimal | operand1 | 条件值 |
AlarmConditionCombineMethod | conditionCombineMethod | 组合条件关联方式 AlarmConditionCombineMethod |
System.String | alarmMessage | 报警消息 |
System.String | memo | 报警备注 |