[sweeper运营&云控合并]refactor: 优化文案;
This commit is contained in:
@@ -18,7 +18,9 @@ import com.mogo.eagle.core.function.call.vehicle.CallerSweeperModeListenerManage
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger;
|
||||
import com.mogo.eagle.core.utilcode.mogo.vehicle.SweeperVehicleConfigUtils;
|
||||
import com.mogo.eagle.core.utilcode.util.AppUtils;
|
||||
import com.mogo.eagle.core.utilcode.util.ToastUtils;
|
||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler;
|
||||
import com.mogo.och.common.module.utils.ToastUtilsOch;
|
||||
import com.mogo.och.sweeper.cloud.fragment.SweeperCloudFragment;
|
||||
import com.mogo.och.sweeper.common.constant.SweeperConst;
|
||||
import com.mogo.och.sweeper.common.database.MyDataBase;
|
||||
@@ -124,19 +126,24 @@ public class SweeperProvider implements IMogoOCH, IMoGoSweeperModeListener {
|
||||
if (SweeperVehicleConfigUtils.isSPCurrentSweeperOperateMode()) {
|
||||
FunctionBuildConfig.sweeperCurrentMode = SweeperVehicleConfigUtils.BUSINESS_MODE_OPERATE;
|
||||
showOperateFragment();
|
||||
ToastUtils.showLong("当前清扫业务模式:运营");
|
||||
} else if (SweeperVehicleConfigUtils.isSPCurrentSweeperCloudMode()) {
|
||||
FunctionBuildConfig.sweeperCurrentMode = SweeperVehicleConfigUtils.BUSINESS_MODE_CLOUD;
|
||||
showCloudFragment();
|
||||
ToastUtils.showLong("当前清扫业务模式:云控");
|
||||
} else if (SweeperVehicleConfigUtils.isDefaultSweeperOperateMode(FunctionBuildConfig.sweeperDefaultMode)) {
|
||||
FunctionBuildConfig.sweeperCurrentMode = SweeperVehicleConfigUtils.BUSINESS_MODE_OPERATE;
|
||||
showOperateFragment();
|
||||
ToastUtils.showLong("当前清扫业务模式:运营");
|
||||
} else if (SweeperVehicleConfigUtils.isDefaultSweeperCloudMode(FunctionBuildConfig.sweeperDefaultMode)) {
|
||||
FunctionBuildConfig.sweeperCurrentMode = SweeperVehicleConfigUtils.BUSINESS_MODE_CLOUD;
|
||||
showCloudFragment();
|
||||
ToastUtils.showLong("当前清扫业务模式:云控");
|
||||
} else {
|
||||
// 默认云控模式
|
||||
FunctionBuildConfig.sweeperCurrentMode = SweeperVehicleConfigUtils.BUSINESS_MODE_CLOUD;
|
||||
showCloudFragment();
|
||||
ToastUtils.showLong("当前清扫业务模式:云控");
|
||||
}
|
||||
|
||||
CallerSweeperModeListenerManager.INSTANCE.addListener(TAG, this);
|
||||
|
||||
@@ -132,6 +132,6 @@ class DebugView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
fun initView() {
|
||||
currentSweeperModeTextView.text = "当前清扫模式:${FunctionBuildConfig.sweeperCurrentMode}"
|
||||
currentSweeperModeTextView.text = "当前清扫业务模式:${FunctionBuildConfig.sweeperCurrentMode}"
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="清扫车信息"
|
||||
android:text="清扫车相关信息"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="业务流程关键节点日志(司机端)"
|
||||
android:text="清扫车业务流程关键节点日志(司机端)"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
@@ -53,8 +53,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/sweeper_debug_view_log_history_bg"
|
||||
android:fadeScrollbars="false"
|
||||
android:minLines="30"
|
||||
android:maxLines="30"
|
||||
android:minLines="28"
|
||||
android:maxLines="28"
|
||||
android:scrollbars="vertical"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
Reference in New Issue
Block a user