Class DownLoadPlcArgs
下载PLC参数
Inheritance
System.Object
System.EventArgs
DownLoadPlcArgs
Inherited Members
System.EventArgs.Empty
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 DownLoadPlcArgs : EventArgs
Constructors
DownLoadPlcArgs()
构造函数
Declaration
public DownLoadPlcArgs()
DownLoadPlcArgs(String, IDictionary<Int32, ComPortPlc>, IList<EthernetPlc>)
构造函数
Declaration
public DownLoadPlcArgs(string boxNo, IDictionary<int, ComPortPlc> comPortPlcs, IList<EthernetPlc> ethernetPlcs)
Parameters
Type | Name | Description |
---|---|---|
System.String | boxNo | 盒子编码 |
System.Collections.Generic.IDictionary<System.Int32, ComPortPlc> | comPortPlcs | 待下载串口PLC列表 |
System.Collections.Generic.IList<EthernetPlc> | ethernetPlcs | 待下载以太网PLC列表 |
Properties
BoxNo
盒子编码
Declaration
public string BoxNo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ComPortPlcs
待下载串口列表(目前仅支持 COM1,COM2,COM3) ,key=0代表com1 ,key=1代表com2,key=2代表com3
Declaration
public IDictionary<int, ComPortPlc> ComPortPlcs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Int32, ComPortPlc> |
EthernetPlcs
待下载以太网PLC列表
Declaration
public IList<EthernetPlc> EthernetPlcs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EthernetPlc> |