import { RhSafeAny } from './any'; import { WithNil } from './base'; /** * webapp 程序配置 */ export declare class RhAppConfigDto { /** 服务器Ip 地址 */ ServerIp: WithNil; /** 机联网服务器地址 */ IotServerIp: WithNil; /** 是否是产品模式 * @deprecated 老版项目才用得到,新版项目使用数据驱动菜单显示的方式 */ IsProductMode: WithNil; /** 开发者模式,指示动态表单是开发者模式还是用户模式 && 非生产模式下要存储开发模式配置(app-config.json) */ DeveloperMode: WithNil; /** 高级设计模式,lcdp专用,用于区分设计模式是高级还是简洁 */ AdvancedMode: WithNil; /** 是否在控制台输出JSON */ IsLoggerOn: WithNil; /** 是否是客户端打印, */ IsClientPrint: WithNil; /** 平台WebAPI是否是本地模式, */ IsPlatformWebApiLocal: WithNil; /** WMS WebAPI是否是本地模式 */ IsWmsWebApiLocal: WithNil; /** MES WebApi 是否是本地模式 */ IsMesWebApiLocal: WithNil; IsRhWmsWebApiLocal: WithNil; IsMdmWebApiLocal: WithNil; /** 消息模块WebApi是否是本地模式 */ IsMsgWebApiPortLocal: WithNil; /** 新版MES Api是否本地模式 */ IsRhMesApiPortLocal: WithNil; /** ERP 是否是SAP模式 */ IsSapMode: WithNil; /** 公司名称 有些组件是公司专用的,作为配置使用 */ CompanyName: WithNil; /** 即`FactoryCode`,程序中很多地方是取这边的值 */ CompanyCode: WithNil; /** 判断是否对工艺路线显示特殊名称 */ IsSpecialProcessRouting: WithNil; IsMdpApiPortLocal: boolean; isRdpApiPortLocal: boolean; isEmpApiPortLocal: boolean; isWmsApiPortLocal: boolean; /** MES Web API 端口 */ MesWebApiPort: number; /** 平台 Web Api 端口 */ PlatformWebApiPort: number; /** Wms WebApi 端口 */ WmsWebApiPort: number; /** 主数据管理 */ MdmWebApiPort: number; RhWmsWebApiPort: number; /** 工作流webargpi端口 */ WfApiPort: number; /** 网站端口 */ WebsitePort: number; /** 消息模块端口 */ MsgApiPort: number; RhMesApiPort: number; /** 研发者中心端口号 */ RdpApiPort: number; /** 工厂建模 */ MdpApiPort: number; /** 设备管理(对应后端RHP-MES) */ EmpApiPort: number; /** RHP-WMS */ WmsApiPort: number; /** 产品标题 */ ProductTile: string; /** 是否启用单点登录 */ SSOEnable: boolean; /** admin是否启用单点登录,在`SSOEnable`为`true`时进行二次判断 */ AdminSSO: boolean; /** 是否拦截所有接口 */ isInterceptAll: boolean; /** 是否启用用户组 */ IsUserGroupOn: boolean; /** 是否使用站点的ip,启用后,会忽略`ServerIp`而使用当前网站的ip作为接口请求Ip */ IsUserSiteServerIp: boolean; /** Node服务器地址 */ NodeServerIp: string; /** Mock服务器端口号 */ MockApiPort: number; /** 是否启用Mock功能 */ enableMock: boolean; /** 是否对所有接口启用Mock */ isMockAll: boolean; /** 是否本地调试MockApi */ isMockApiLocal: boolean; /** mock项目代码,默认为`DefaultProject` */ mockProjectCode: string; /** 是否启用多工厂 */ EnableMultiplyFactory: boolean; isLcdpLocal?: boolean; LcdpApiPort: string; /** 菜单管理页面是否显示参数配置字段 */ IsShowMenuPara?: boolean; /** * 用于判定是否启用RuiHui服务,为`true`时会显示C#接口,并使用配置好的C#接口拉取下拉框数据 * @description 一般只有在`易智平台`项目上要设置为`false`。其他项目都设置为true即可 */ EnableRuiHuiService: boolean; /** 用于判断接口选择时,是否需要显示lcdp相关的接口选择tab * @description 不配置值的话,默认会启用 */ EnableLcdpService: boolean; /** 服务器环境:开发环境|生产环境|测试环境 */ Environment?: 'development' | 'production' | 'test'; /** 是否启用用户存储模式 * @description 支持动态组件在用户模式下的自定义配置 */ EnableUserStorageMode?: boolean; [prop: string]: RhSafeAny; /** 是否启用工厂拦截 */ EnableFactoryInterceptor: boolean; constructor( /** 服务器Ip 地址 */ ServerIp: WithNil, /** 机联网服务器地址 */ IotServerIp: WithNil, /** 是否是产品模式 * @deprecated 老版项目才用得到,新版项目使用数据驱动菜单显示的方式 */ IsProductMode: WithNil, /** 开发者模式,指示动态表单是开发者模式还是用户模式 && 非生产模式下要存储开发模式配置(app-config.json) */ DeveloperMode: WithNil, /** 高级设计模式,lcdp专用,用于区分设计模式是高级还是简洁 */ AdvancedMode: WithNil, /** 是否在控制台输出JSON */ IsLoggerOn: WithNil, /** 是否是客户端打印, */ IsClientPrint: WithNil, /** 平台WebAPI是否是本地模式, */ IsPlatformWebApiLocal: WithNil, /** WMS WebAPI是否是本地模式 */ IsWmsWebApiLocal: WithNil, /** MES WebApi 是否是本地模式 */ IsMesWebApiLocal: WithNil, IsRhWmsWebApiLocal: WithNil, IsMdmWebApiLocal: WithNil, /** 消息模块WebApi是否是本地模式 */ IsMsgWebApiPortLocal: WithNil, /** 新版MES Api是否本地模式 */ IsRhMesApiPortLocal: WithNil, /** ERP 是否是SAP模式 */ IsSapMode: WithNil, /** 公司名称 有些组件是公司专用的,作为配置使用 */ CompanyName: WithNil, /** 即`FactoryCode`,程序中很多地方是取这边的值 */ CompanyCode: WithNil, /** 判断是否对工艺路线显示特殊名称 */ IsSpecialProcessRouting: WithNil, IsMdpApiPortLocal?: boolean, isRdpApiPortLocal?: boolean, isEmpApiPortLocal?: boolean, isWmsApiPortLocal?: boolean); /** * 静态构造方法 */ static create(): RhAppConfigDto; }