Пример #1
0
 void SerialPortParm_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e)
 {
     if (e.OptType == SerialPortType.NoiseBatchWrite && !string.IsNullOrEmpty(e.Msg))
     {
         ShowWaitForm("", e.Msg);
         SetStaticItem(e.Msg);
     }
 }
Пример #2
0
 void SerialPortParm_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e)
 {
     if ((e.OptType == SerialPortType.UniversalReadBasicInfo || e.OptType == SerialPortType.UniversalSetBasicInfo) && !string.IsNullOrEmpty(e.Msg))
     {
         ShowWaitForm("", e.Msg);
         SetStaticItem(e.Msg);
     }
 }
Пример #3
0
 void SerialPortMgr_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e)
 {
     if ((e.OptType == SerialPortType.PreReadInfo || e.OptType == SerialPortType.PreReadInfo) && !string.IsNullOrEmpty(e.Msg))
     {
         ShowWaitForm("", e.Msg);
         SetStaticItem(e.Msg);
     }
 }