public CaseProtocolExecutionForTelnet(myConnectForTelnet yourConnectInfo) { isConnect = false; myExecutionDeviceInfo = yourConnectInfo; telnetShell = new MyTelnet(myExecutionDeviceInfo.host, myExecutionDeviceInfo.port, 5); if (myExecutionDeviceInfo.expectPattern != null) { telnetShell.ExpectPattern = myExecutionDeviceInfo.expectPattern; } }
public DemoForMyTelnet() { telnet = new MyTelnet("192.168.200.150", 23, 5); }