コード例 #1
0
 public CaseProtocolExecutionForTelnet(myConnectForTelnet yourConnectInfo)
 {
     isConnect             = false;
     myExecutionDeviceInfo = yourConnectInfo;
     telnetShell           = new MyTelnet(myExecutionDeviceInfo.host, myExecutionDeviceInfo.port, 5);
     if (myExecutionDeviceInfo.expectPattern != null)
     {
         telnetShell.ExpectPattern = myExecutionDeviceInfo.expectPattern;
     }
 }
コード例 #2
0
ファイル: DemoForMyTelnet.cs プロジェクト: lulianqi/AutoTest
 public DemoForMyTelnet()
 {
     telnet = new MyTelnet("192.168.200.150", 23, 5);
 }