Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="TmpSystemInfo"></param>
        public void Load(CLDC_DataCore.SystemModel.Item.SystemConfigure TmpSystemInfo)
        {
            SystemInfo = new Dictionary <string, string>();

            foreach (string _Key in TmpSystemInfo.getKeyNames())
            {
                SystemInfo.Add(_Key, TmpSystemInfo.getItem(_Key).Value);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 构造函数,构造表信息List
        /// </summary>
        /// <param name="Bws">电能台表位数</param>
        public CusModel(int Bws, int TaiID)
        {
            _Bws    = Bws;
            _Taiid  = TaiID;
            DnbData = new DnbGroupInfo(Bws, TaiID);

            CLDC_DataCore.SystemModel.Item.SystemConfigure _TmpSystem = new CLDC_DataCore.SystemModel.Item.SystemConfigure();
            _TmpSystem.Load();

            this.Load(_TmpSystem);
        }