Example #1
0
        public bool TestDisconnectJetbus(Behavior behaviour)
        {
            testConnection = new TestJetbusConnection(behaviour, "wss://172.19.103.8:443/jet/canopen", "Administrator", "wtx", delegate { return(true); });

            WtxJet WTXJetObj = new WtxJet(testConnection);

            this.connectCallbackCalled = false;

            WTXJetObj.Connect(this.OnConnect, 100);

            WTXJetObj.Disconnect(this.OnDisconnect);

            return(WTXJetObj.isConnected);
        }