private void OnNotifyRegisterErrEvent(object sender, NotifyRegisterErrorEventArgs e) { SendStatusMsg("NoScreenInfo"); _reRegisterTimer.Change(5000, 5000); if (_allComBaseInfo_Bak != null && _allComBaseInfo_Bak.AllInfoDict != null) { _allComBaseInfo_Bak.AllInfoDict.Clear(); } if (_allComBaseInfo != null && _allComBaseInfo.AllInfoDict != null) { _allComBaseInfo.AllInfoDict.Clear(); } Interlocked.Exchange(ref _isRunningMetux, 0); if (NotifyRegisterErrEvent != null) { NotifyRegisterErrEvent(sender, e); } }
/// <summary> /// 响应服务退出事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected override void OnNotifyRegisterErrEvent(object sender, NotifyRegisterErrorEventArgs e) { _registToServerTimer.Start(); ChangeDeviceList(_proxy.EquipmentTable); }
private void OnNotifyRegisterErrEvent(object O0l1Ol, NotifyRegisterErrorEventArgs O) { //throw new NotImplementedException(); }