Ejemplo n.º 1
0
        public dynamic Clone()
        {
            CTempLevelsData_HA cls_TempLevels_Clonado = new CTempLevelsData_HA(NumLevels());

            cls_TempLevels_Clonado.LevelsOnOff      = this.LevelsOnOff;
            cls_TempLevels_Clonado.LevelsTempSelect = this.LevelsTempSelect;
            for (int index = 0; index <= NumLevels() - 1; index++)
            {
                cls_TempLevels_Clonado.LevelsTemp[index]      = this.LevelsTemp[index];
                cls_TempLevels_Clonado.LevelsExtTemp[index]   = this.LevelsExtTemp[index];
                cls_TempLevels_Clonado.LevelsFlow[index]      = this.LevelsFlow[index];
                cls_TempLevels_Clonado.LevelsTempOnOff[index] = this.LevelsTempOnOff[index];
            }

            return(cls_TempLevels_Clonado);
        }
Ejemplo n.º 2
0
 protected virtual void Initialize(int NumLevels)
 {
     Levels = new CTempLevelsData_HA(NumLevels);
 }