public void SendDataToHost(List <string> response) { SendDataToHostEventArgs e = new SendDataToHostEventArgs(); e.Response = response; EventHandler <SendDataToHostEventArgs> sendData = this.SendDataToHostEvent; if (sendData != null) { sendData(this, e); } }
public void SendAUDataToHost(List <string> result) { try { var e = new SendDataToHostEventArgs(); e.AUStringResult = result; EventHandler <SendDataToHostEventArgs> sendData = this.ReturnDataEvent; if (sendData != null) { sendData(this, e); } } catch (Exception ex) { throw ex; } }
public void SendAURequestToHost(string RackNo, string PosNo, string SampleNo, string Barcode) { try { var e = new SendDataToHostEventArgs(); e.AUBarcode = Barcode; e.AUPosNo = PosNo; e.AURackNo = RackNo; e.AUSampleNo = SampleNo; EventHandler <SendDataToHostEventArgs> sendData = this.ReturnRequestEvent; if (sendData != null) { sendData(this, e); } } catch (Exception) { throw; } }