SystemCommonSettingClass系统基础设置类

一、类名Class

类名:PublicFunctions.ApplicationSetting.SystemCommonSettingClass

 

二、属性Properties

序号
类型属性名称属性说明
 1 string SystemDesktopMode 系统桌面模式(默认,门户)
 2 string SystemDesktopStyle 系统默认桌面图标风格
 3 bool IsDesignMode 是否设计模式
 4 string PageTemplateStyle 系统界面模板
 5 bool IsAllowUserDeleteSelfWorkFlow 是否允许用户删除已发起的流程(默认为true)
 6 bool IsAllowUserRestoreWorkFlowToFirstStep 是否允许用户撤回已发起的流程(默认为true)
 7 bool IsAutoCompressImageAttachment 是否自动压缩图片附件
 8 int MaxWidth 自动压缩图片附件的最大宽度
 9 int MaxHeight 自动压缩图片附件的最大高度
 10 bool IsEnableSMSEngine 是否启用短信功能
 11 bool SMSMessageNeedApprove 短信是否需要审核
 12 string SMSMessageSendInterfaceSetting 短信发送接口
 13 bool EnableTraditionalTemplateStyle 定义是否启用传统界面模式
 14 string HomePageLogoLinkURL 主页链接地址
 15 bool IsEnableWorkFlowMailNotice 是否启用流程邮件通知
 16 bool IsEnableThirdPartyMailServer 是否采用外部邮件服务器
 17 string WorkFlowMailNoticeSMTP 工作流邮件通知SMTP
 18 string WorkFlowMailNoticeSMTPPort 工作流邮件通知SMTP端口号
 19 string WorkFlowMailNoticeUserName 工作流邮件通知SMTP帐号
 20 string WorkFlowMailNoticePassword 工作流邮件通知SMTP密码
 21 bool IsEnableWorkFlowSMSNotice 是否启用流程短信通知
 22 string WorkFlowSMSNoticeTemplateID 流程短信通知模板编号
 23 bool IsEnableWorkFlowVacationMode 是否启用工作流休假模式
 24 string PendingWorkFlowExtraStrWhere 待处理流程附加条件
 25 string NoticeWorkFlowExtraStrWhere 流程通知附加条件
 26 string NoticeDLLFileName 流程通知插件
 27 bool ServerIsChineseTimer 服务器是否为中文日期
 28 bool SIPIsDefaultCTIMode SIP是否为默认的CTI模式
 29 string SystemStyleVersion 系统风格版本
 30 string SystemTitle 系统标题
 30 string UserLoginPluginDLLSetting 用户登录认证插件设置
 31 string PageLeftMenuPluginDLLSetting 页面左侧菜单插件
 32 bool IsEnablePageLeftMenuTree 是否启用页面左侧菜单树
 33 string ExtraPageHeaderUserDropDownMenuHTML 额外的用户信息下拉菜单

 

三、方法Methods

1、获得设置

函数:public static SystemCommonSettingClass Get()

返回: SystemCommonSettingClass

 

2、保存设置

函数:public static void Save(SystemCommonSettingClass setting)

返回: 无

 

3、GetSystemStyleVersionDictionary获得系统风格字典

函数:public static Dictionary<string, string> GetSystemStyleVersionDictionary()

返回: Dictionary<string, string>

 

4、GetUserSystemStyleVersion获得用户的系统风格

函数:public static SystemStyleVersionEnum GetUserSystemStyleVersionSetting(string UserGuid)

返回: SystemStyleVersionEnum