Пример #1
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Encode(Sys.Encodeable.IEncoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     value.WriteInt32("Address", this.Address);
     value.WriteString("Psw", this.Psw, "0000");
     value.PopNamespace();
 }
Пример #2
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Encode(Sys.Encodeable.IEncoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     value.WriteBoolean("EnblCounterTariff1", this.EnblCounterTariff1, false);
     value.WriteBoolean("EnblCounterTariff2", this.EnblCounterTariff2, false);
     value.WriteBoolean("EnblCounterTariff3", this.EnblCounterTariff3, false);
     value.WriteBoolean("EnblCounterTariff4", this.EnblCounterTariff4, false);
     value.WriteBoolean("EnblCounterTariff5", this.EnblCounterTariff5, false);
     value.WriteBoolean("EnblCounterTariff6", this.EnblCounterTariff6, false);
     value.WriteBoolean("EnblCounterTariff7", this.EnblCounterTariff7, false);
     value.WriteBoolean("EnblCounterTariff8", this.EnblCounterTariff8, false);
     value.WriteBoolean("Enbl30min", this.Enbl30min, true);
     value.WriteBoolean("EnblTimeCorr", this.EnblTimeCorr, true);
     value.WriteBoolean("EnblEvents", this.EnblEvents, false);
     value.WriteBoolean("EnblIm", this.EnblIm, false);
     value.WriteEncodeable <Sys.Types.Components.ScheduleDbWrap>("Arch", this.Arch);
     value.WriteEncodeable <Sys.Types.Components.ScheduleDbWrap>("Im", this.Im);
     value.PopNamespace();
 }
Пример #3
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Encode(Sys.Encodeable.IEncoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     value.WriteString("SerialNumber", this.SerialNumber);
     value.PopNamespace();
 }