public void Dispose() {
            if (RealDB != null) {
                if (RealDB.IsOpen())
                    RealDB.Close();

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

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