Class DeviceSpecification
设备规格信息
Inheritance
System.Object
DeviceSpecification
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 DeviceSpecification
Properties
DefaultStationNo
默认站号
Declaration
public int DefaultStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Id
设备ID
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxStationNo
最大站号
Declaration
public int MaxStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinStationNo
最小站号
Declaration
public int MinStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
设备名称
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Registers
寄存器信息
Declaration
public IList<RegisterInfo> Registers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<RegisterInfo> |
SerialPortSettings
串口通讯默认参数
Declaration
public SerialPortSettings SerialPortSettings { get; set; }
Property Value
Type | Description |
---|---|
SerialPortSettings |
Methods
FilterRegisters(DataType)
通过数据类型过滤寄存器列表
Declaration
public IList<RegisterInfo> FilterRegisters(DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<RegisterInfo> |