示例#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);
     }
 }