Exemplo n.º 1
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Decode(Sys.Encodeable.IDecoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     this.Address = value.ReadInt32("Address");
     this.Psw     = value.ReadString("Psw", "0000");
     value.PopNamespace();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Decode(Sys.Encodeable.IDecoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     this.EnblCounterTariff1 = value.ReadBoolean("EnblCounterTariff1", false);
     this.EnblCounterTariff2 = value.ReadBoolean("EnblCounterTariff2", false);
     this.EnblCounterTariff3 = value.ReadBoolean("EnblCounterTariff3", false);
     this.EnblCounterTariff4 = value.ReadBoolean("EnblCounterTariff4", false);
     this.EnblCounterTariff5 = value.ReadBoolean("EnblCounterTariff5", false);
     this.EnblCounterTariff6 = value.ReadBoolean("EnblCounterTariff6", false);
     this.EnblCounterTariff7 = value.ReadBoolean("EnblCounterTariff7", false);
     this.EnblCounterTariff8 = value.ReadBoolean("EnblCounterTariff8", false);
     this.Enbl30min          = value.ReadBoolean("Enbl30min", true);
     this.EnblTimeCorr       = value.ReadBoolean("EnblTimeCorr", true);
     this.EnblEvents         = value.ReadBoolean("EnblEvents", false);
     this.EnblIm             = value.ReadBoolean("EnblIm", false);
     this.Arch = value.ReadEncodeableClass <Sys.Types.Components.ScheduleDbWrap>("Arch", this.EmeraSharedSetting_CreateSys_Types_Components_ScheduleDbWrap);
     this.Im   = value.ReadEncodeableClass <Sys.Types.Components.ScheduleDbWrap>("Im", this.EmeraSharedSetting_CreateSys_Types_Components_ScheduleDbWrap);
     value.PopNamespace();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Метод сериализации
 /// </summary>
 public virtual void Decode(Sys.Encodeable.IDecoderObject value)
 {
     value.PushNamespace("Sys.Services.Drv");
     this.SerialNumber = value.ReadString("SerialNumber");
     value.PopNamespace();
 }