public IODeviceAttachInfo Get() { IODeviceAttachInfo info = null; if (this.queue_0.Count > 0) { info = this.queue_0.Dequeue(); } return(info); }
private void method_0(IODeviceAttachInfo iodeviceAttachInfo_0) { IODeviceTextMsg msg = iodeviceAttachInfo_0 as IODeviceTextMsg; TxtMsg msg2 = new TxtMsg { OrderCode = CmdParam.OrderCode.调度, MsgType = CmdParam.MsgType.详细调度信息, strMsg = msg.Message }; if (this.downDataIODevice_0 == null) { this.downDataIODevice_0 = new DownDataIODevice(3, false, true, true); } this.downDataIODevice_0.icar_SendTxtMsg(CmdParam.ParamType.SimNum, msg.SimNum, "", CmdParam.CommMode.未知方式, msg2); }
public void HandleIODeviceAttachInfo(IODeviceAttachInfo iodeviceAttachInfo_0) { if (iodeviceAttachInfo_0 != null) { try { if (iodeviceAttachInfo_0.InfoID == 1) { this.method_0(iodeviceAttachInfo_0); } } catch { } } }
public void Add(IODeviceAttachInfo iodeviceAttachInfo_0) { this.queue_0.Enqueue(iodeviceAttachInfo_0); }
private void method_2(IODeviceAttachInfo iodeviceAttachInfo_0) { if (iodeviceAttachInfo_0 != null) { if (this.updataIODeviceHandler_0 == null) { this.updataIODeviceHandler_0 = new UpdataIODeviceHandler(); } this.updataIODeviceHandler_0.HandleIODeviceAttachInfo(iodeviceAttachInfo_0); } }