/// <summary>
        /// Returns the value of OPC_DT_SAMPLE_FLAG variable name in database.
        /// </summary>
        /// <returns>value</returns>
        public string GetOPCDTSmplFlagValue()
        {
            string result = ConfigVarsDAO.GetInstance().GetVarValue(VARIBALE_NAME);

            if (result.Equals("null"))
            {
                result = "N";
            }
            return(result);
        }
 /// <summary>
 /// Updates the OPC_DT_SAMPLE_FLAG variable value to "N".
 /// </summary>
 public void UpdateToDisableOPCDTSmplFlag()
 {
     ConfigVarsDAO.GetInstance().UpdateValue(VARIBALE_NAME, "N");
 }