1 Star 0 Fork 0

guo / envMonitor_zz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Kconfig 3.51 KB
一键复制 编辑 原始数据 按行查看 历史
mainmenu "envMonitor project Configuration"
# 平台配置
source "/share/common_base/project_management/kconfigs/Kconfig-platform"
menu "app setup"
##########################################################
# 工程项目类型
source "/share/common_base/project_management/kconfigs/Kconfig-projects"
# 功能模块选择.
source "/share/common_base/project_management/kconfigs/Kconfig-libcomponent"
# 设备类型功能代码配置
source "/share/common_base/project_management/kconfigs/Kconfig-devtype"
# 微应用组件配置
source "/share/common_base/project_management/kconfigs/Kconfig-microapp"
##########################################################
# app基础配置
menu "app base info config"
config AliasNameCN
string #### app中文名称
default "环境量监测"
config VendorNameCN
string #### 厂家中文名称
default "甘肃同兴智能科技发展有限责任公司" if SELECT_PRO_MICROAPPS_TXZN_GANSU
default "河南许继仪表有限公司" if SELECT_PRO_MICROAPPS_HNXJ_JIANGXI
default "三圣凯瑞"
config VendorCode
string ##"the vendor english name."#### 厂家英文名称
default "TXZN" if SELECT_PRO_MICROAPPS_TXZN_GANSU
default "HNXJ" if SELECT_PRO_MICROAPPS_HNXJ_JIANGXI
default "sskr"
config APP_VERSION
string "app version" ## app版本
default "CV01.001"
config ExpirationDate
string "app expiration date time." ## app验签到期日期
default "2024-04-16"
config ENVMONITOR_EN
bool # 定义的app使能宏, 用于与app相关的差异处理
default y
config APP_LOGICALID
int #"app logical id." # app 逻辑id, 同一系统内, 应该是不同的.
default 101
config APP_NAME
string #"app process name." # app进程名称
default "TxznEnvMonitor" if SELECT_PRO_MICROAPPS_TXZN_GANSU
default "HnxjEnvMonitor" if SELECT_PRO_MICROAPPS_HNXJ_JIANGXI
default "envMonitor"
config APP_NAME_SHORT
string #"app name abbreviation (short), be used for data center json." # app的短名称, 可用于模型名称等.
default "ENV"
config THIS_APPNAME
string #"app process communication message name." #ipc消息通信的名字, 一般与app名称一致.
default "envMonitor"
endmenu
##########################################################
# 选择app类型, 按应用需求划分.
choice
prompt "Select the app type and divide it by application requirements."
default SELECT_APPTYPE_COLLECT
config SELECT_APPTYPE_MASTER
bool "APPTYPE : to master"#### 主站交互类.
config SELECT_APPTYPE_COLLECT
bool "APPTYPE : data collect"#### 数据采集类
config SELECT_APPTYPE_ANALY
bool "APPTYPE : data analy "#### 数据分析类
endchoice
config APPTYPE_MASTER
bool
default y if SELECT_APPTYPE_MASTER
config APPTYPE_COLLECT
bool
default y if SELECT_APPTYPE_COLLECT
config APPTYPE_ANALY
bool
default y if SELECT_APPTYPE_ANALY
##########################################################
# 选择主站类型(app给什么平台提供服务), 营销/配电/物管/
config MASTERTYPE_YINGXIAO
bool "MASTERTYPE_YINGXIAO: Provides services to the yingxiao master"
default n
config MASTERTYPE_PEIDIAN
bool "MASTERTYPE_PEIDIAN: Provides services to the peidian master"
default y
config MASTERTYPE_IOT
bool "MASTERTYPE_IOT: Provides services to the iot master"
default y
config MASTERTYPE_PD_IOT
bool #方便使用, 配电与物管, 差异不大.
default y if MASTERTYPE_PEIDIAN || MASTERTYPE_PEIDIAN
##########################################################
endmenu
1
https://gitee.com/guozhongwl/envMonitor_zz.git
git@gitee.com:guozhongwl/envMonitor_zz.git
guozhongwl
envMonitor_zz
envMonitor_zz
master

搜索帮助