app/src/main/java/cn/flightfeather/thirdappmodule/model/enumreation/SceneType.kt
@@ -19,4 +19,20 @@ SCENE_TYPE12(12, "工业园区"), SCENE_TYPE13(13, "无固定场景"), StorageYard(14, "堆场"); companion object { /** * 本系统中的场景类型id对应飞羽环境系统中的值 */ fun typeMap(sceneTypeId: Int) = when (sceneTypeId) { Construction.value -> 2 Wharf.value -> 3 MixingPlant.value -> 5 Industrial.value -> 6 Restaurant.value -> 1 VehicleRepair.value -> 7 StorageYard.value -> 4 else -> sceneTypeId } } }