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