feat(map): refine SCADA feature experience
This commit is contained in:
@@ -64,5 +64,10 @@ function getFeaturePresentation(
|
||||
title: `排放口 ${displayId}`,
|
||||
subtitle: `类型 ${formatValue(properties.outfall_type)} · 井底高程 ${formatValue(properties.invert_elevation)} m`
|
||||
};
|
||||
case "scada":
|
||||
return {
|
||||
title: String(properties.point_name || `SCADA 测点 ${displayId}`),
|
||||
subtitle: `${formatValue(properties.device_type_name)} · 设备 ${formatValue(properties.device_external_id)}`
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user