Class UpdateDataMonitorDefinitionArgs
更新监测点条目参数
Inheritance
System.Object
UpdateDataMonitorDefinitionArgs
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 UpdateDataMonitorDefinitionArgs
Constructors
UpdateDataMonitorDefinitionArgs()
无参构造函数
Declaration
public UpdateDataMonitorDefinitionArgs()
UpdateDataMonitorDefinitionArgs(String, Int64, String, Int64, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, DataWidth, DataType, Int32, PrivilegeType, Int32, Int32, String)
构造函数
Declaration
public UpdateDataMonitorDefinitionArgs(string boxNo, long dMonUid, string name, long dMonGroupUid, int serviceId, int portNo, int stationNo, int deviceId, int regId, int mainAddress, int subAddress, int subIndex, DataWidth regWidth, DataType dataType, int updateInterval, PrivilegeType privilegeType, int intDigits, int fracDigits, string unit)
Parameters
Type | Name | Description |
---|---|---|
System.String | boxNo | 盒子编码 |
System.Int64 | dMonUid | 监测点条目的UID |
System.String | name | 监测点名称 |
System.Int64 | dMonGroupUid | 监测点组UID |
System.Int32 | serviceId | 服务ID |
System.Int32 | portNo | |
System.Int32 | stationNo | 站号 |
System.Int32 | deviceId | 设备ID |
System.Int32 | regId | 寄存器ID |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
DataWidth | regWidth | 数据宽度类型 |
DataType | dataType | 数据类型 |
System.Int32 | updateInterval | 更新频率 |
PrivilegeType | privilegeType | 读写权限 |
System.Int32 | intDigits | 整数位 |
System.Int32 | fracDigits | 小数位 |
System.String | unit | 单位 |
UpdateDataMonitorDefinitionArgs(String, Int64, String, Int64, String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, DataWidth, DataType, Int32, PrivilegeType, String, Int32, Int32, Boolean, Decimal, String)
构造函数
Declaration
public UpdateDataMonitorDefinitionArgs(string boxNo, long dMonUid, string name, long dMonGroupUid, string dataMonitorDefName, int serviceId, int portNo, int stationNo, int deviceId, int regId, int mainAddress, int subAddress, int subIndex, DataWidth regWidth, DataType dataType, int updateInterval, PrivilegeType privilegeType, string desc, int intDigits, int fracDigits, bool trafficSaving, decimal deadZone, string unit)
Parameters
Type | Name | Description |
---|---|---|
System.String | boxNo | 盒子编码 |
System.Int64 | dMonUid | 监测点条目的UID |
System.String | name | 监测点名称 |
System.Int64 | dMonGroupUid | 监测点组UID |
System.String | dataMonitorDefName | 监测点名称 |
System.Int32 | serviceId | 服务ID |
System.Int32 | portNo | |
System.Int32 | stationNo | 站号 |
System.Int32 | deviceId | 设备ID |
System.Int32 | regId | 寄存器ID |
System.Int32 | mainAddress | 主地址 |
System.Int32 | subAddress | 子地址 |
System.Int32 | subIndex | 子地址索引 |
DataWidth | regWidth | 数据宽度类型 |
DataType | dataType | 数据类型 |
System.Int32 | updateInterval | 更新频率 |
PrivilegeType | privilegeType | 读写权限 |
System.String | desc | 描述 |
System.Int32 | intDigits | 整数位 |
System.Int32 | fracDigits | 小数位 |
System.Boolean | trafficSaving | 省流量模式 |
System.Decimal | deadZone | 死区值 |
System.String | unit | 单位 |
Properties
BoxNo
盒子编码
Declaration
public string BoxNo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataMonitorDefName
监测点名称
Declaration
public string DataMonitorDefName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataType
数据类型
Declaration
public DataType DataType { get; set; }
Property Value
Type | Description |
---|---|
DataType |
DeadZone
死区设置值(若有小数位则该死区值的小数位和设置的小数一致,位类型死区值设置为0)
Declaration
public decimal DeadZone { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
Desc
描述
Declaration
public string Desc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeviceId
设备ID
Declaration
public int DeviceId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DMonGroupUid
监测点组UID
Declaration
public long DMonGroupUid { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
DMonUid
监测点条目的UID
Declaration
public long DMonUid { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
FracDigits
小数位
Declaration
public int FracDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IntDigits
整数位
Declaration
public int IntDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MainAddress
主地址
Declaration
public int MainAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
监测点名称
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PortNo
PortNo
Declaration
public int PortNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PrivilegeType
读写权限
Declaration
public PrivilegeType PrivilegeType { get; set; }
Property Value
Type | Description |
---|---|
PrivilegeType |
RegId
寄存器ID
Declaration
public int RegId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RegWidth
数据宽度类型
Declaration
public DataWidth RegWidth { get; set; }
Property Value
Type | Description |
---|---|
DataWidth |
ServiceId
服务ID
Declaration
public int ServiceId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StationNo
站号
Declaration
public int StationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubAddress
子地址
Declaration
public int SubAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubIndex
子地址索引
Declaration
public int SubIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TrafficSaving
省流量模式
Declaration
public bool TrafficSaving { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Unit
单位
Declaration
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UpdateInterval
更新周期
Declaration
public int UpdateInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |