示例#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(RateType rateType)
 {
     Name = rateType.Name;
 }