void IDeviceControlInterrupt.Interrupt(DeviceException_Type exception, int device_id, IOBase device) { Console.WriteLine("设备控制器:" + exception.ToString() + " " + device_id); }
/// <summary> /// 设备控制器运行时中断回调接口 /// </summary> /// <param name="exception"></param> /// <param name="device_id"></param> /// <param name="device"></param> public override void Interrupt(DeviceException_Type exception, int device_id, IOBase device) { Show.Show("设备控制器:" + exception.ToString() + " " + device_id); }