private void OnINIFailed(object sender, EventArgs e) { // Sleep100msecs(); this.SetDrawerWorkState(DrawerWorkState.InitialFailed); if (OnINIFailedHandler != null) { OnINIFailedHandler.Invoke(this, e); } }
private void OnINIFailed(object sender, EventArgs e) { // Sleep100msecs(); Debug.WriteLine("Drawer IP=" + this.DeviceIP + ", Event=" + "OnINIFailed"); this.SetDrawerWorkState(DrawerWorkState.InitialFailed); if (OnINIFailedHandler != null) { OnINIFailedHandler.Invoke(this, e); } }
/// <summary>event INIFailed (902)</summary> /// <param name="reply">回覆的訊息(執行結果)</param> /// <remarks> /// <para>除非規格書有異動, 否則</para> /// <para>1. 函式名稱不得修改</para> /// <para>2. 函式不得刪除</para> /// </remarks> public void INIFailed(ReplyMessage reply) { if (OnINIFailedHandler != null) { OnINIFailedHandler.Invoke(this, EventArgs.Empty); } if (INIResult != null) { INIResult.Invoke(this, false); } }