Class DataSourceDtoV2
数据源基类
Inheritance
Object
DataSourceDtoV2
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class DataSourceDtoV2
Properties
AddressDescription
地址描述
Declaration
[JsonProperty("addrDesc")]
public string AddressDescription { get; set; }
Property Value
Type | Description |
---|---|
String |
BitIndex
按位索引号
Declaration
public int BitIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
BitIndexEnabled
是否启用按位索引
Declaration
public bool BitIndexEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DataType
数据类型 DataType
Declaration
public DataType DataType { get; set; }
Property Value
Type | Description |
---|---|
DataType |
DevAlias
PLC别名
Declaration
[JsonProperty("devAlias")]
public string DevAlias { get; set; }
Property Value
Type | Description |
---|---|
String |
IoWidth
寄存器位宽 (与寄存器ID联合使用) DataWidth
Declaration
public DataWidth IoWidth { get; set; }
Property Value
Type | Description |
---|---|
DataWidth |
MainAddress
主地址
Declaration
[JsonProperty("addr")]
public int MainAddress { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RegId
寄存器ID(与寄存器位宽联合使用)
Declaration
public int RegId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RegName
寄存器名称
Declaration
[JsonProperty("regName")]
public string RegName { get; set; }
Property Value
Type | Description |
---|---|
String |
StationNo
站号
Declaration
[JsonProperty("station")]
public int StationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
SubAddress
子地址
Declaration
[JsonProperty("subAddr")]
public int SubAddress { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
SubIndex
数据块(DB块)
Declaration
[JsonProperty("addrBlk")]
public int SubIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |