示例#1
0
文件: PLC.cs 项目: pkelm1/Choreo
 public AdsPlc(AmsNetId amsNetId, AmsPort amsPort)
 {
     adsSession = new AdsSession(amsNetId, (int)amsPort);
 }
示例#2
0
 public AmsAddress(AmsNetId netId, AmsPort port)
 {
     this.netId = netId;
     this.port  = (int)port;
 }
示例#3
0
 public AmsAddress(byte[] netId, AmsPort port)
 {
     this.netId = new AmsNetId(netId);
     this.port  = (int)port;
 }
示例#4
0
 public AmsAddress(AmsPort port)
 {
     this.netId = AmsNetId.Local;
     this.port  = (int)port;
 }