Exemplo n.º 1
0
 public static void Transfer(WashingStatusRouter.GUI.HomeWindow home, PubSubClient client)
 {
     MQTTEventTrigger.home = home;
     Client            = client;
     Client.GetReceive = CallBack;
 }
Exemplo n.º 2
0
 public bool ConnectWithServer()
 {
     client = new PubSubClient();
     return(client.Connect("MiddleWare", ServerIPAddress, UserName, Password));
 }