private void btnSendPrimaryMsg_Click(object sender, EventArgs e) { try { //var result = secsGem.SendAsync(this.primaryMsgToSend.Text.ToSecsMessage()); //result.Wait(); //var reply = result.Result; //SmlLog(reply.ToSml()); cimClient.LaunchOnOffLineProcess(true, this._equipmentInfo); } catch (Exception) { throw; } }
private void btn_i_online_Click(object sender, EventArgs e) { cimClient?.LaunchOnOffLineProcess(true, _equipmentInfo); }