void Function_Return_GET_RTC_STATUS(TransactionStatusClass.TransactionValues Status) { if (GET_RTC_RESPONSE_RECEIVED != null) { GET_RTC_RESPONSE_RECEIVED(Status); } }
void sense_o_EEPROM_RESPONSE_RECEIVED(TransactionStatusClass.TransactionValues STATUS) { System.Diagnostics.Debug.WriteLine("EEPROM Data Received"); if (this.InvokeRequired) { this.BeginInvoke(new MethodInvoker(() => sense_o_EEPROM_RESPONSE_RECEIVED(STATUS))); } else { string Time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); UpdateListView(1, STATUS.ToString(), Time, 0); if (STATUS == TransactionStatusClass.TransactionValues.SUCCESS) { System.Diagnostics.Debug.WriteLine("EEPROM Data Received Transaction was a success"); // Going To remove this for to it's own thread //Check4InternetThenUpdateToServer(); } } if (sense_o != null) { sense_o.Dispose(); GC.Collect(); } }
void Function_Return_CLR_EEPROM_STATUS(TransactionStatusClass.TransactionValues Status) { if (CLR_EEPROM_RESPONSE_RECEIVED != null) { CLR_EEPROM_RESPONSE_RECEIVED(Status); } }
void sense_o_CLR_EEPROM_RESPONSE_RECEIVED(TransactionStatusClass.TransactionValues STATUS) { System.Diagnostics.Debug.WriteLine("Clear EEPROM Response Received"); if (this.InvokeRequired) { this.BeginInvoke(new MethodInvoker(() => sense_o_CLR_EEPROM_RESPONSE_RECEIVED(STATUS))); } else { string Time = DateTime.Now.ToString("yyyy-MM-dd-HH:mm:ss"); UpdateListView(2, STATUS.ToString(), Time, 0); } if (sense_o != null) { sense_o.Dispose(); GC.Collect(); } }
private void Sense_o_GET_RTC_RESPONSE_RECEIVED(TransactionStatusClass.TransactionValues STATUS) { System.Diagnostics.Debug.WriteLine("GET RTC Response Received "); if (this.InvokeRequired) { this.BeginInvoke(new MethodInvoker(() => Sense_o_GET_RTC_RESPONSE_RECEIVED(STATUS))); } else { string Time = DateTime.Now.ToString("yyyy-MM-dd-HHmm-ss"); System.Diagnostics.Debug.WriteLine("sense_o_GET_RTC_RESPONSE_RECEIVED : Time : " + Time); UpdateListView(4, STATUS.ToString(), Time, 0); } if (sense_o != null) { sense_o.Dispose(); GC.Collect(); } }