コード例 #1
0
 private void OnDigitalOnOffSensorSend(OnOffDigitalSensorMgr sender, OnOffSensorEventArgs e)
 {
     if (this.onDigitalOnOffSensorSend == null)
     {
         this.onDigitalOnOffSensorSend = this.OnDigitalOnOffSensorSend;
     }
     this.digitalOnOffSensorSend(sender, e);
 }
コード例 #2
0
 private async void OnOffSensor_04_digitalOnOffSensorSend(OnOffDigitalSensorMgr sender, OnOffDigitalSensorMgr.OnOffSensorEventArgs e)
 {
     await WriteOnOffEntityToCloud(e);
 }
コード例 #3
0
 private async void OnOffSensor_02_digitalOnOffSensorSend(OnOffDigitalSensorMgr sender, OnOffDigitalSensorMgr.OnOffSensorEventArgs e)
 {
     //Console.WriteLine("OnOffSensor_02 Thread-Id: " + e.DestinationTable + " " + Thread.CurrentThread.ManagedThreadId.ToString());
     await WriteOnOffEntityToCloud(e);
 }