[6.0.0] taxi司机端重构初始化

This commit is contained in:
wangmingjun
2023-07-31 18:14:41 +08:00
parent 2e3ab4a5e0
commit 489e2ef869
566 changed files with 4828 additions and 13411 deletions

View File

@@ -18,6 +18,11 @@
"driverpassenger": ["ochDFHQ"],
"passenger": ["ochDFHQ"]
},
"taxiunmanned" :{
"driver": ["ochDFHQ"],
"driverpassenger": ["ochDFHQ"],
"passenger": ["ochDFHQ"]
},
"bus" :{
"driver": ["ochJL"],
"driverpassenger": ["ochJL"],

View File

@@ -36,7 +36,9 @@ project.dependencies {
implementation project.project(':OCH:sweeper:sweeper')
} else if (isCurrentDriver("taxi")) {
implementation project.project(':OCH:mogo-och-taxi')
} else if (isCurrentPassenger("taxi")) {
} else if (isCurrentDriver("taxiunmanned")) {
implementation project.project(':OCH:mogo-och-taxi-unmanned')
}else if (isCurrentPassenger("taxi")) {
implementation project.project(':OCH:mogo-och-taxi-passenger')
} else {
noopImplementation(project(':OCH:mogo-och-noop'))

View File

@@ -1,15 +1,15 @@
project.android.productFlavors {
// 出租车业务
taxi {
taxiunmanned {
dimension "product"
manifestPlaceholders = [
CHANNEL_VALUE_HEAD: "Taxi",
CHANNEL_VALUE_HEAD: "TaxiUnmanned",
// Activity的朝向
SCREEN_ORIENTATION:"landscape",
]
// ①标识
buildConfigField 'String', 'APP_IDENTITY_MODE_HEAD', "\"Taxi\""
buildConfigField 'String', 'APP_IDENTITY_MODE_HEAD', "\"TaxiUnmanned\""
// ②连接的工控机IP地址
buildConfigField 'String', 'ADAS_CONNECT_IP', "\"192.168.1.102\""