public void SetFPYGoal(decimal fpygoal) { foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters) { UCCenter.SetFPYGoal(fpygoal); } UCCenterTotal.FPYGoal = fpygoal; }
public void ResetUCWatchPanelCenterValue() { foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters) { UCCenter.ResetControlValue(); } UCCenterTotal.ResetControlValue(); }
public void SetCalculateStrategy(ICalculateStrategy Stategy) { this.Stategy = Stategy; foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters) { UCCenter.SetCalculateStrategy(Stategy); } UCCenterTotal.SetCalculateStrategy(Stategy); }
public void CalculateActual() { UCCenterTotal.ResetControlValue(); foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters) { UCCenter.CalculateActual(); UCCenterTotal.Input += UCCenter.Input; UCCenterTotal.Defects += UCCenter.Defects; } UCCenterTotal.CalculateActual(); }