Class AlarmDefinitionDtoV2
报警条目基类V2
Inheritance
System.Object
AlarmDefinitionDtoV2
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class AlarmDefinitionDtoV2 : DataSourceDtoV2
Properties
AlarmMessage
报警消息
Declaration
[JsonProperty("alarmMsg")]
public string AlarmMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Condition1
条件一,若选择bit数据类型,bit为ON:条件一EQ
Declaration
[JsonProperty("condition1")]
public AlarmConditionType Condition1 { get; set; }
Property Value
Type | Description |
---|---|
AlarmConditionType |
Condition2
报警条件二
Declaration
[JsonProperty("condition2")]
public AlarmConditionType Condition2 { get; set; }
Property Value
Type | Description |
---|---|
AlarmConditionType |
ConditionCombineMethod
组合条件关联方式 AlarmConditionCombineMethod
Declaration
[JsonProperty("condMethod")]
public AlarmConditionCombineMethod ConditionCombineMethod { get; set; }
Property Value
Type | Description |
---|---|
AlarmConditionCombineMethod |
GroupId
报警组别ID、报警组别名称使用一个即可
Declaration
[JsonProperty("alarmGrpId")]
public long GroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GroupName
报警组别ID、报警组别名称使用一个即可
Declaration
[JsonProperty("alarmGrpName")]
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Memo
报警备注
Declaration
[JsonProperty("memo")]
public string Memo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Operand1
操作数一,若DataType为Bit(位)时,操作数一为0(OFF)或者1 (ON)
Declaration
[JsonProperty("operand1")]
public decimal Operand1 { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
Operand2
操作数二,若DataType为Bit(位)时,操作数二为0, 若ConditionCombineMethod 为None时,也为0
Declaration
[JsonProperty("operand2")]
public decimal Operand2 { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |