Esempio n. 1
0
        public void Dispose() {
            if (RealDB != null) {
                if (RealDB.IsOpen())
                    RealDB.Close();

                RealDB = null;
            }
        }
Esempio n. 2
0
 public DBATLLibHelper() {
     if (RealDB == null)
         RealDB = new DBATLLib.DataCommClass();//(DBATLLib.DataCommClass)Application["RealDB"];
     
     tagValues = new Dictionary<string, DataRow>();
 }
Esempio n. 3
0
        /// <summary>
        /// 重新初始化
        /// </summary>
        internal void ReLoad() {
            Dispose();
            if (RealDB == null)
                RealDB = new DBATLLib.DataCommClass();//(DBATLLib.DataCommClass)Application["RealDB"];

            tagValues = new Dictionary<string, DataRow>();
        }