Exemplo n.º 1
0
    private void OnConnected()
    {
        //Debug.Log("Connected");                   //debug check
        var subscription = Interface.Subscribe("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xReset\"", NodeChanged); //sets value to variable

        info = subscription.ToString();                                                                        //sets string value to var value
    }
Exemplo n.º 2
0
    private void OnConnected()
    {
        //Debug.Log("Connected");                       //debug check
        var subscription = Interface.Subscribe("ns=3;s=\"dbOpPanel\".\"OpPanelBtn\".\"xEmStop\"", NodeChanged); //gets value when there is change

        info = subscription.ToString();                                                                         //sets value to string
    }
Exemplo n.º 3
0
    private void OnConnected()
    {
        //Debug.Log("Connected");                                   //debug check
        var subscription = Interface.Subscribe("ns=3;s=\"dbRfidData\".\"ID1\".\"iCarrierID\"", NodeChanged); //sets value to variable

        info = subscription.ToString();                                                                      //sets string to variable value
    }
 private void OnConnected()
 {
     Debug.Log("Connected");
     var subscription = oPCUA_Interface.Subscribe(NodeID, NodeChanged);
 }