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

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

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