Beispiel #1
0
        /// <summary>
        /// 复制
        /// </summary>
        /// <returns></returns>
        public COnOff_Item Clone()
        {
            COnOff_Item item = new COnOff_Item();

            item.ChkSec = this.ChkSec;

            item.OnOffTime = this.OnOffTime;

            item.OnTime = this.OnTime;

            item.OffTime = this.OffTime;

            item.ACV = this.ACV;

            item.OutPutType = this.OutPutType;

            return(item);
        }
Beispiel #2
0
        public COnOff_List()
        {
            Item = new COnOff_Item[ITEM_MAX];

            for (int i = 0; i < ITEM_MAX; i++)
            {
                Item[i] = new COnOff_Item();

                Item[i].ChkSec = 0;

                Item[i].OnOffTime = 0;

                Item[i].OnTime = 0;

                Item[i].OffTime = 0;

                Item[i].ACV = 220;

                Item[i].OutPutType = 0;
            }
        }