This commit is contained in:
parent
beb6a9e09a
commit
8452d4fa40
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d62a875779e4cd24c80fcd8f902addd8
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 84aa99b0a2f722746affd28228ee1556
|
||||
ModelImporter:
|
||||
serializedVersion: 21300
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 1
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -1032,7 +1032,7 @@ RectTransform:
|
|||
m_Children:
|
||||
- {fileID: 5830182655613619193}
|
||||
m_Father: {fileID: 2218283927450267575}
|
||||
m_RootOrder: 19
|
||||
m_RootOrder: 18
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
|
|
@ -5400,7 +5400,7 @@ RectTransform:
|
|||
- {fileID: 147051189585377923}
|
||||
- {fileID: 2056179942339485871}
|
||||
m_Father: {fileID: 2218283927450267575}
|
||||
m_RootOrder: 18
|
||||
m_RootOrder: 19
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
|
|
@ -7998,7 +7998,7 @@ GameObject:
|
|||
- component: {fileID: 2137834756503599608}
|
||||
- component: {fileID: 7881404903967625119}
|
||||
m_Layer: 5
|
||||
m_Name: "\u542F\u52A8\u8FD0\u884C-\u51B7\u5374\u5854\u98CE\u673A"
|
||||
m_Name: "\u542F\u52A8\u8FD0\u884C-\u51B7\u5374\u5854\u98CE\u673A1"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
|
@ -29790,7 +29790,7 @@ GameObject:
|
|||
- component: {fileID: 5457075362341438442}
|
||||
- component: {fileID: 3448667863643248440}
|
||||
m_Layer: 5
|
||||
m_Name: "\u5F00\u542F\u51B7\u5374\u5854\u98CE\u673AText"
|
||||
m_Name: "\u5F00\u542F\u51B7\u5374\u5854\u98CE\u673AText1"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
|
@ -30372,7 +30372,7 @@ GameObject:
|
|||
- component: {fileID: 1292627877264267908}
|
||||
- component: {fileID: 5264816421757296973}
|
||||
m_Layer: 5
|
||||
m_Name: "\u505C\u6B62\u8FD0\u884C-\u51B7\u5374\u5854\u98CE\u673A"
|
||||
m_Name: "\u505C\u6B62\u8FD0\u884C-\u51B7\u5374\u5854\u98CE\u673A1"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
|
@ -35732,8 +35732,8 @@ RectTransform:
|
|||
- {fileID: 2763135511812594485}
|
||||
- {fileID: 4105807922915180587}
|
||||
- {fileID: 8535479253889913351}
|
||||
- {fileID: 3430685890828565262}
|
||||
- {fileID: 3563240794140871924}
|
||||
- {fileID: 3430685890828565262}
|
||||
m_Father: {fileID: 5627652596030768171}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
|
|||
|
|
@ -422,17 +422,18 @@ public class EquipmentSimulationView : UIView
|
|||
Unload();
|
||||
Load<TypicalEnergyHomeView>();
|
||||
});
|
||||
//开启
|
||||
variables.Get<Button>("启动运行-冷却塔风机1").onClick.AddListener(delegate
|
||||
{
|
||||
Stepbools[0] = true;
|
||||
SBStartOperation("开启冷却塔风机1成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-冷却塔风机1"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却塔风机1"));
|
||||
});
|
||||
variables.Get<Button>("启动运行-冷却塔风机2").onClick.AddListener(delegate
|
||||
{
|
||||
Stepbools[1] = true;
|
||||
SBStartOperation("开启冷却塔风机2成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-冷却塔风机2"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却塔风机2"));
|
||||
});
|
||||
|
||||
variables.Get<Button>("启动运行-冷却泵1").onClick.AddListener(delegate
|
||||
|
|
@ -441,13 +442,13 @@ public class EquipmentSimulationView : UIView
|
|||
{
|
||||
Stepbools[2] = true;
|
||||
SBStartOperation("启动运行-冷却泵成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-冷却泵1"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却泵1"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("启动水泵前请打开水流开关");
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
variables.Get<Button>("启动运行-冷却泵2").onClick.AddListener(delegate
|
||||
{
|
||||
|
|
@ -455,7 +456,7 @@ public class EquipmentSimulationView : UIView
|
|||
{
|
||||
Stepbools[3] = true;
|
||||
SBStartOperation("启动运行-冷却泵成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-冷却泵2"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却泵2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -464,48 +465,117 @@ public class EquipmentSimulationView : UIView
|
|||
});
|
||||
variables.Get<Button>("启动运行-风机盘管1").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == true&&variables.Get<Toggle>("水流开关2").isOn == true)
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == true && variables.Get<Toggle>("水流开关2").isOn == true)
|
||||
{
|
||||
Stepbools[4] = true;
|
||||
SBStartOperation("启动风机盘管成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-风机盘管1"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-风机盘管1"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("启动风机盘管前请打开冷冻泵");
|
||||
}
|
||||
});
|
||||
variables.Get<Button>("启动运行-风机盘管2").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == true&&variables.Get<Toggle>("水流开关2").isOn == true)
|
||||
{
|
||||
Stepbools[5] = true;
|
||||
SBStartOperation("启动风机盘管成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-风机盘管2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("启动风机盘管前请打开冷冻泵");
|
||||
}
|
||||
});
|
||||
|
||||
variables.Get<Button>("启动运行-风机盘管2").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == true && variables.Get<Toggle>("水流开关2").isOn == true)
|
||||
{
|
||||
Stepbools[5] = true;
|
||||
SBStartOperation("启动风机盘管成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-风机盘管2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("启动风机盘管前请打开冷冻泵");
|
||||
}
|
||||
});
|
||||
variables.Get<Button>("启动运行-中央空调主机").onClick.AddListener(delegate
|
||||
{
|
||||
Stepbools[6] = true;
|
||||
SBStartOperation("开启中央空调主机成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4,"参数面板-中央空调主机"));
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-中央空调主机"));
|
||||
});
|
||||
|
||||
|
||||
|
||||
variables.Get<Button>("启动改造-空压机-改造方案").onClick.AddListener(delegate
|
||||
//关闭
|
||||
variables.Get<Button>("停止运行-冷却塔风机1").onClick.AddListener(delegate
|
||||
{
|
||||
RepareCheck(2);
|
||||
Stepbools[0] = false;
|
||||
SBStartOperation("关闭冷却塔风机1成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却塔风机1"));
|
||||
});
|
||||
variables.Get<Button>("启动改造-空压机-改造方案").onClick.AddListener(delegate
|
||||
variables.Get<Button>("停止运行-冷却塔风机2").onClick.AddListener(delegate
|
||||
{
|
||||
Stepbools[1] = false;
|
||||
SBStartOperation("关闭冷却塔风机2成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却塔风机2"));
|
||||
});
|
||||
variables.Get<Button>("停止运行-冷却泵1").onClick.AddListener(delegate
|
||||
{
|
||||
RepareCheck(2);
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == false)
|
||||
{
|
||||
Stepbools[2] = false;
|
||||
SBStartOperation("停止运行冷却泵1成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却泵1"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("停止水泵1前请关闭水流开关");
|
||||
}
|
||||
|
||||
});
|
||||
variables.Get<Button>("停止运行-冷却泵2").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关2").isOn == false)
|
||||
{
|
||||
Stepbools[3] = false;
|
||||
SBStartOperation("停止运行冷却泵2成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-冷却泵2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("停止水泵2前请关闭水流开关");
|
||||
}
|
||||
});
|
||||
variables.Get<Button>("停止运行-风机盘管1").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == false && variables.Get<Toggle>("水流开关2").isOn == false)
|
||||
{
|
||||
Stepbools[4] = false;
|
||||
SBStartOperation("停止风机盘管成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-风机盘管1"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("关闭风机盘管前请关闭冷冻泵");
|
||||
}
|
||||
});
|
||||
variables.Get<Button>("停止运行-风机盘管2").onClick.AddListener(delegate
|
||||
{
|
||||
if (variables.Get<Toggle>("水流开关1").isOn == false && variables.Get<Toggle>("水流开关2").isOn == false)
|
||||
{
|
||||
Stepbools[5] = false;
|
||||
SBStartOperation("停止风机盘管成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-风机盘管2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWarming("关闭风机盘管前请关闭冷冻泵");
|
||||
}
|
||||
});
|
||||
variables.Get<Button>("停止运行-中央空调主机").onClick.AddListener(delegate
|
||||
{
|
||||
Stepbools[6] = false;
|
||||
SBStartOperation("关闭中央空调主机成功");
|
||||
StartCoroutine(EquipmentIIntroduction_TSQ.instance.AutoHide(4, "参数面板-中央空调主机"));
|
||||
});
|
||||
|
||||
variables.Get<Button>("启动改造-空压机-改造方案").onClick.AddListener(delegate
|
||||
{
|
||||
RepareCheck(2);
|
||||
});
|
||||
variables.Get<Button>("启动改造-空压机-改造方案").onClick.AddListener(delegate
|
||||
{
|
||||
RepareCheck(2);
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -1217,18 +1287,18 @@ public class EquipmentSimulationView : UIView
|
|||
{
|
||||
variables.Get<Toggle>("一楼Toggle").onValueChanged.AddListener(delegate
|
||||
{
|
||||
ChooseFloor(1);
|
||||
ChooseFloor(1);
|
||||
});
|
||||
variables.Get<Toggle>("二楼Toggle").onValueChanged.AddListener(delegate
|
||||
{
|
||||
ChooseFloor(2);
|
||||
ChooseFloor(2);
|
||||
});
|
||||
variables.Get<Toggle>("三楼Toggle").onValueChanged.AddListener(delegate
|
||||
{
|
||||
ChooseFloor(3);
|
||||
ChooseFloor(3);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 空调楼层选择
|
||||
/// </summary>
|
||||
|
|
@ -1239,19 +1309,19 @@ public class EquipmentSimulationView : UIView
|
|||
{
|
||||
case 1:
|
||||
GameMangner_TSQ.instance.FirstPersonController[0].transform.SetLocalPositionAndRotation
|
||||
(new Vector3(0.1f, 0.025f, 2.2f),Quaternion.Euler(0, 120, 0));
|
||||
(new Vector3(0.1f, 0.025f, 2.2f), Quaternion.Euler(0, 120, 0));
|
||||
break;
|
||||
case 2:
|
||||
GameMangner_TSQ.instance.FirstPersonController[0].transform.SetLocalPositionAndRotation
|
||||
(new Vector3(0.1f, 0.355f, 2.2f),Quaternion.Euler(0, 120, 0));
|
||||
(new Vector3(0.1f, 0.355f, 2.2f), Quaternion.Euler(0, 120, 0));
|
||||
break;
|
||||
case 3:
|
||||
GameMangner_TSQ.instance.FirstPersonController[0].transform.SetLocalPositionAndRotation
|
||||
(new Vector3(-0.74f, 1.171f, 0.517f),Quaternion.Euler(0, 280, 0));
|
||||
GameMangner_TSQ.instance.FirstPersonController[0].transform.SetLocalPositionAndRotation
|
||||
(new Vector3(-0.74f, 1.171f, 0.517f), Quaternion.Euler(0, 280, 0));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备运行
|
||||
/// </summary>
|
||||
|
|
@ -1269,7 +1339,7 @@ public class EquipmentSimulationView : UIView
|
|||
StartCoroutine(YXCGAutoHide(3.5f));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 自动隐藏运行成功信息协程,延迟一段时间后关闭框。
|
||||
/// </summary>
|
||||
/// <param name="durationTime"></param>
|
||||
|
|
|
|||
Loading…
Reference in New Issue