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