public void NotifySweepModeChange(SweepMode mode) { if (mode == SweepMode.Normal) { view = null; } else { CalSweepSectionView(); } }
public void CalSweepSectionView() { view?.Dispose(); if (sweepModeSubject.IsSectionSweeping()) { view = displayer.CreateSweepSwctionView(sweepModeSubject.GetSweepSection()); } else { view = null; } }