public AdsPlc(AmsNetId amsNetId, AmsPort amsPort) { adsSession = new AdsSession(amsNetId, (int)amsPort); }
public AmsAddress(AmsNetId netId, AmsPort port) { this.netId = netId; this.port = (int)port; }
public AmsAddress(byte[] netId, AmsPort port) { this.netId = new AmsNetId(netId); this.port = (int)port; }
public AmsAddress(AmsPort port) { this.netId = AmsNetId.Local; this.port = (int)port; }