private void OnDigitalOnOffSensorSend(OnOffDigitalSensorMgr sender, OnOffSensorEventArgs e) { if (this.onDigitalOnOffSensorSend == null) { this.onDigitalOnOffSensorSend = this.OnDigitalOnOffSensorSend; } this.digitalOnOffSensorSend(sender, e); }
private async void OnOffSensor_04_digitalOnOffSensorSend(OnOffDigitalSensorMgr sender, OnOffDigitalSensorMgr.OnOffSensorEventArgs e) { await WriteOnOffEntityToCloud(e); }
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); }