private void EncryptKeyConfigFrm_Load(object sender, EventArgs e)
        {
            systemConfigEntity = service.FindSystemConfig((int)SystemConfigs.EncryptKey);

            if (systemConfigEntity != null && !string.IsNullOrEmpty(systemConfigEntity.ExSetting01))
            {
                txtEncryptKey.Text = systemConfigEntity.ExSetting01;
            }
        }
        /// <summary>
        /// 获取当前可执行产品构造器
        /// </summary>
        /// <returns></returns>
        public static ADbFileProductBuilder GetDbFileProductBuilder()
        {
            SystemConfigService service = new SystemConfigService();

            SystemConfigEntity systemConfig = service.FindSystemConfig((int)SystemConfigs.OpenbookSysType);

            if (systemConfig.Status == 0)
            {
                throw new Exception($"系统未配置开卷系统类型");
            }

            ADbFileProductBuilder productBuilder = null;

            if (systemConfig.Status == 1)
            {
                productBuilder = new DbFileProductBuilder();
            }
            else
            {
                productBuilder = new T8DbFileProductBuilder();
            }

            return(productBuilder);
        }