Ejemplo n.º 1
0
 void SerialPortParm_SerialPortScheduleEvent(object sender, SerialPortScheduleEventArgs e)
 {
     if (e.OptType == SerialPortType.NoiseBatchWrite && !string.IsNullOrEmpty(e.Msg))
     {
         ShowWaitForm("", e.Msg);
         SetStaticItem(e.Msg);
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }