Пример #1
0
 public void UpdateFields(Meter meter, MeterModel model, RateType rateType, Smc smc, MeterKeys meterKeys)
 {
     Serial           = meter.Serial;
     Installation     = meter.Installation;
     Latitude         = meter.Latitude;
     Longitude        = meter.Longitude;
     Prefix           = meter.Prefix;
     BillingConstant  = meter.BillingConstant;
     TcRatio          = meter.TcRatio;
     TpRatio          = meter.TpRatio;
     Registrars       = meter.Registrars;
     Tli              = meter.Tli;
     Identifier       = meter.Identifier;
     Phase            = meter.Phase;
     ConnectionPhase  = meter.ConnectionPhase;
     AccountantStatus = meter.AccountantStatus;
     MeterModel       = model;
     RateType         = rateType;
     Smc              = smc;
     Energies         = meter.Energies;
 }
Пример #2
0
 public void UpdateFields(MeterModel meterModel)
 {
     Name         = meterModel.Name;
     Manufacturer = meterModel.Manufacturer;
 }