Class DataSourceDtoV2
数据源基类
Inheritance
System.Object
DataSourceDtoV2
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 DataSourceDtoV2
Properties
AddressDescription
地址描述
Declaration
[JsonProperty("addrDesc")]
public string AddressDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BitIndex
按位索引号
Declaration
public int BitIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BitIndexEnabled
是否启用按位索引
Declaration
public bool BitIndexEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Int32 |
RegId
寄存器ID(与寄存器位宽联合使用)
Declaration
public int RegId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RegName
寄存器名称
Declaration
[JsonProperty("regName")]
public string RegName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StationNo
站号
Declaration
[JsonProperty("station")]
public int StationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubAddress
子地址
Declaration
[JsonProperty("subAddr")]
public int SubAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubIndex
数据块(DB块)
Declaration
[JsonProperty("addrBlk")]
public int SubIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |