Class PlcDevice
Inheritance
Object
PlcDevice
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 PlcDevice
Properties
BroadcastNo
默认广播站号
Declaration
public int BroadcastNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ByteOrderSettings
Declaration
[JsonProperty("byteOrders")]
public ByteOrderSettings ByteOrderSettings { get; set; }
Property Value
Type | Description |
---|---|
ByteOrderSettings |
Class
设备类型
Declaration
public DeviceClass Class { get; set; }
Property Value
Type | Description |
---|---|
DeviceClass |
DefaultStationNo
默认站号
Declaration
public int DefaultStationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
DeviceConnectionType
连接方式 DeviceConnectionType
Declaration
[JsonProperty("connType")]
public DeviceConnectionType DeviceConnectionType { get; set; }
Property Value
Type | Description |
---|---|
DeviceConnectionType |
EthernetSettings
Declaration
[JsonProperty("ethParams")]
public EthernetSettingsV1 EthernetSettings { get; set; }
Property Value
Type | Description |
---|---|
EthernetSettingsV1 |
Id
设备ID (不唯一)
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Manufacturer
厂家
Declaration
[JsonProperty("mfr")]
public string Manufacturer { get; set; }
Property Value
Type | Description |
---|---|
String |
MaxStationNo
最大站号
Declaration
public int MaxStationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MiniDrivers
mini驱动
Declaration
public IList<MiniDeviceDriverInfo> MiniDrivers { get; set; }
Property Value
Type | Description |
---|---|
IList<MiniDeviceDriverInfo> |
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
[JsonProperty("regs")]
public IList<RegisterInfo> Registers { get; set; }
Property Value
Type | Description |
---|---|
IList<RegisterInfo> |
SerialPortSettings
串口通讯默认参数
Declaration
[JsonProperty("comPortParams")]
public SerialPortSettingsV1 SerialPortSettings { get; set; }
Property Value
Type | Description |
---|---|
SerialPortSettingsV1 |
SupportedPlcs
支持的PLC类型
Declaration
public IList<string> SupportedPlcs { get; set; }
Property Value
Type | Description |
---|---|
IList<String> |