static void Main(string[] args) { InitService(); Interoperate(); while (true) { GateAdaptor.Poll(); } }
public void MainLoop() { MqttAdaptor.Poll(); GateAdaptor.Poll(); }