예제 #1
0
 // operador soma  de energia
 public void Soma(MyEnergyMeter em)
 {
     KWh                      += em.KWh;
     kvarh                    += em.kvarh;
     LossesKWh                += em.LossesKWh;
     TransformerLosses        += em.TransformerLosses;
     MTLineLosses             += em.MTLineLosses;
     BTLineLosses             += em.BTLineLosses;
     lineLossesPosMode        += em.lineLossesPosMode;
     lineLossesZeroMode       += em.lineLossesZeroMode;
     NoLoadLosseskWh          += em.NoLoadLosseskWh;
     MTEnergy                 += em.MTEnergy;
     BTEnergy                 += em.BTEnergy;
     MTLineLosses34KV         += em.MTLineLosses34KV;
     TransformerAllLosses34KV += em.TransformerAllLosses34KV;
     KWhGD                    += em.KWhGD;
 }
예제 #2
0
 // Construtor por copia
 public MyEnergyMeter(MyEnergyMeter em)
 {
     KWh                      = em.KWh;
     kvarh                    = em.kvarh;
     LossesKWh                = em.LossesKWh;
     TransformerLosses        = em.TransformerLosses;
     MTLineLosses             = em.MTLineLosses;
     BTLineLosses             = em.BTLineLosses;
     lineLossesPosMode        = em.lineLossesPosMode;
     lineLossesZeroMode       = em.lineLossesZeroMode;
     NoLoadLosseskWh          = em.NoLoadLosseskWh;
     MTEnergy                 = em.MTEnergy;
     BTEnergy                 = em.BTEnergy;
     _sMes                    = em._sMes;
     MTLineLosses34KV         = em.MTLineLosses34KV;
     TransformerAllLosses34KV = em.TransformerAllLosses34KV;
     KWhGD                    = em.KWhGD;
     loadMultAlim             = em.loadMultAlim;
 }