[6.0.0] taxi司机端重构初始化
This commit is contained in:
@@ -18,6 +18,11 @@
|
||||
"driverpassenger": ["ochDFHQ"],
|
||||
"passenger": ["ochDFHQ"]
|
||||
},
|
||||
"taxiunmanned" :{
|
||||
"driver": ["ochDFHQ"],
|
||||
"driverpassenger": ["ochDFHQ"],
|
||||
"passenger": ["ochDFHQ"]
|
||||
},
|
||||
"bus" :{
|
||||
"driver": ["ochJL"],
|
||||
"driverpassenger": ["ochJL"],
|
||||
|
||||
@@ -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'))
|
||||
|
||||
@@ -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\""
|
||||
|
||||
Reference in New Issue
Block a user