public DMM6500Control(TcpSetting tcpSet) { this._communicationBase = new CommunicationBase(tcpSet); if (!this._communicationBase.Connect()) { throw this._communicationBase.Exception; } }
public MPDAControl(TcpSetting tcpSet) { this._communication = new CommunicationBase(tcpSet); if (!this._communication.Connect()) { throw this._communication.Exception; } this._iOSet = new IOSetting(this._communication); }