46 lines
951 B
C#
46 lines
951 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using SK.Framework;
|
|
|
|
/// <summary>
|
|
/// 典型能耗模拟界面
|
|
/// </summary>
|
|
public class TypicalEnergyHomeView : UIView
|
|
{
|
|
public Variables variables;
|
|
|
|
protected override void OnInit(IViewData data)
|
|
{
|
|
base.OnInit(data);
|
|
variables.Set<TypicalEnergyHomeView>("my_TypicalEnergyHome", this);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 结构认知
|
|
/// </summary>
|
|
public void StructuralCognition()
|
|
{
|
|
Unload();
|
|
//SceneLoader.LoadAsync("Models");
|
|
Load<EquipmentStructureView>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 运行及节能仿真
|
|
/// </summary>
|
|
public void EquipmentSimulation()
|
|
{
|
|
Unload();
|
|
Load<EquipmentSimulationView>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 返回入口
|
|
/// </summary>
|
|
public void BackToEntrance()
|
|
{
|
|
base.Unload();
|
|
Load<EntranceView>();
|
|
}
|
|
} |