public Control(IPEndPoint ip, string pass) { m_ip = ip; plc = new PLC(ip, pass); plc.Connect(); }
public void ConnectTest() { PLC target = new PLC(ip, password); // TODO: Initialize to an appropriate value target.Connect(); }
public void ConnectWrongPassTest() { PLC target = new PLC(ip, "3012893128"); // TODO: Initialize to an appropriate value target.Connect(); }
public static void MyClassInitialize(TestContext testContext) { plc = new PLC(ip, password); }