Пример #1
0
 //------------------------------------------------------------------------------------------------------------------------
 private void RegisterThingStateCbs()
 {
     proxyNode.PortEventHandlers[Things.Find(i => i.Name == "Console").Ports[0]] = data =>
     {
         ibmAppClient.SendCommands(ActiveCfg.IBMInfo.IOTFDeviceType, ActiveCfg.IBMInfo.IOTFDeviceName, "yodiwoporteventmsg", data);
     };
 }