private void btResetRadarStatus_Click(object sender, RoutedEventArgs e) { if (_radarInfo != null) { _radarInfo.ResetRadarStatus(); } }
public void LoadData(RadarSettingInfo radar) { try { if (_radarInfomation != null) { radar.RadarChannels = _radarInfomation.RadarChannels; radar.InitRadarChannelsRate(_radarInfomation.Rates); radar.RadarStatusBase = _radarInfomation.GetRadarInfo(); radar.RadarRegions = _radarInfomation.RadarRegions; radar.ResetRadarStatus(); IsLinking = true; } } catch (Exception ex) { LogManager.GetLogger(this.GetType()).Warn(ex.ToString()); IsLinking = false; } }