This commit is contained in:
何嘉峣 2026-04-09 17:27:27 +08:00
parent d5663e8e12
commit b2c569378b
5 changed files with 1191 additions and 105 deletions

View File

@ -1 +1 @@
2026-04-09 11:04:34#'efficiencymanagement://31,56,118,1,3,1491755674177110016,eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjExZmY1ZmQ3LTAxN2QtNGNlMC1hOGZkLTg1NzExY2M0OGQzNyJ9.fxpB_DdhcmFI0eRwbKyBMzV6ErQsYjRAeXHCTWIWE1cFbk5FVD6wuv3VB2_b40gFk4lYSCf0pTTiJVJwCTOeOg,&/#116;est1212,10001,172.16.1.135:8081,60'|
2026-04-09 15:04:24#'efficiencymanagement://31,56,118,1,3,1491816028567502848,eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjRjMDhjMTAyLTAxY2ItNDg5NS1iNjZjLWIzMDJkMmU4YzgyYSJ9.OdzdjH7kB7-NzSB0vQM_K90wUga7yr24hqau15l54rAwoSYMhMDpXTs6Gl9e_vEJqmG9FAvcOOe3mH4ae5Piog,&/#116;est1212,10001,172.16.1.135:8081,60'|

View File

@ -1,21 +1,3 @@
public enum E_SceneType
{
None,
/// <summary>
/// 办公室
/// </summary>
Office,
/// <summary>
/// 工器具间
/// </summary>
ToolRoom,
/// <summary>
/// 现场
/// </summary>
Site,
}
/// <summary>
/// 模式
/// </summary>

View File

@ -14,11 +14,6 @@ public class RunModelMgr : MonoSingleton<RunModelMgr>
/// </summary>
private E_ModeType modeType = E_ModeType.None;
/// <summary>
/// 场景
/// </summary>
private E_SceneType sceneType = E_SceneType.None;
/// <summary>
/// 设备/方案id
/// </summary>
@ -48,16 +43,5 @@ public class RunModelMgr : MonoSingleton<RunModelMgr>
}
}
/// <summary>
/// 场景信息
/// </summary>
public E_SceneType SceneType
{
get => sceneType;
set
{
sceneType = value;
}
}
}

View File

@ -285,22 +285,25 @@ public class EquipmentSimulationView : UIView
{
case "空调":
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("楼层").Activate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空调").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-水泵").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空压机").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板空调").Activate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板水泵").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("空调操作步骤").Activate();
UIView.Get<EquipmentSimulationView>().variables.Get<GameObject>("togglegroup").Deactivate();
break;
case "泵":
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("楼层").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板空调").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板水泵").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("空调操作步骤").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<GameObject>("togglegroup").Activate();
break;
case "空压机":
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("楼层").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板空调").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板水泵").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("空调操作步骤").Deactivate();
UIView.Get<EquipmentSimulationView>().variables.Get<GameObject>("togglegroup").Activate();
break;
//case "泵":
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("楼层").Deactivate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空调").Deactivate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-水泵").Activate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空压机").Deactivate();
// break;
//case "空压机":
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("楼层").Deactivate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空调").Deactivate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-水泵").Deactivate();
// UIView.Get<EquipmentSimulationView>().variables.Get<RectTransform>("参数面板-空压机").Activate();
// break;
default:
break;
}