Class DeviceSpecification
设备规格信息
Inheritance
Object
DeviceSpecification
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 DeviceSpecification
Properties
DefaultStationNo
默认站号
Declaration
public int DefaultStationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Id
设备ID
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MaxStationNo
最大站号
Declaration
public int MaxStationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MinStationNo
最小站号
Declaration
public int MinStationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Name
设备名称
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Registers
寄存器信息
Declaration
public IList<RegisterInfo> Registers { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
IList<RegisterInfo> |