Beispiel #1
0
        /// <summary>
        /// Очистка значений энергий
        /// </summary>
        public void ClearData()
        {
            UseMonthValue = false;
            ActiveEnergy.ClearData();
            ReactiveEnergy.ClearData();

            if (Children != null)
            {
                foreach (IHierarchicalEmcosPoint item in Children)
                {
                    if (item is IBalanceItem bi)
                    {
                        bi.ClearData();
                    }
                }
            }
        }
Beispiel #2
0
 public BalanceItem()
 {
     UseMonthValue  = false;
     ActiveEnergy   = new ActiveEnergy();
     ReactiveEnergy = new ReactiveEnergy();
 }