예제 #1
0
 private void Data2ReceivedHandler(object sender, SecsDataReceivedEventArgs arg)
 {
     Stream2TextBox.Text   = arg.SecsMessage.S.ToString();
     Function2TextBox.Text = arg.SecsMessage.F.ToString();
     StatusTextBox.AppendText("get msg header for device 0.\n");
     Message2TextBox.Text = arg.SecsMessage.ToString();
     Message2TextBox.AppendText("\n");
     Message2TextBox.AppendText(arg.SecsMessage.SecsItem.ToString());
     StatusTextBox.AppendText("get msg data for device 0.\n");
 }
예제 #2
0
 private void DataReceivedHandler(object sender, SecsDataReceivedEventArgs arg)
 {
     //event
     if (arg.SecsMessage.S == 6 && arg.SecsMessage.F == 11)
     {
         if (arg.SCESEquipment.SECSType == SECSType.ZBV)
         {
         }
     }
 }