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

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

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