Exemple #1
0
        public void SetFPYGoal(decimal fpygoal)
        {
            foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters)
            {
                UCCenter.SetFPYGoal(fpygoal);
            }

            UCCenterTotal.FPYGoal = fpygoal;
        }
Exemple #2
0
        public void ResetUCWatchPanelCenterValue()
        {
            foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters)
            {
                UCCenter.ResetControlValue();
            }

            UCCenterTotal.ResetControlValue();
        }
Exemple #3
0
        public void SetCalculateStrategy(ICalculateStrategy Stategy)
        {
            this.Stategy = Stategy;

            foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters)
            {
                UCCenter.SetCalculateStrategy(Stategy);
            }

            UCCenterTotal.SetCalculateStrategy(Stategy);
        }
Exemple #4
0
        public void CalculateActual()
        {
            UCCenterTotal.ResetControlValue();
            foreach (UCWatchPanelCenter UCCenter in WatchPanelCenters)
            {
                UCCenter.CalculateActual();

                UCCenterTotal.Input   += UCCenter.Input;
                UCCenterTotal.Defects += UCCenter.Defects;
            }

            UCCenterTotal.CalculateActual();
        }