6001
This commit is contained in:
parent
77737dca95
commit
6644caf893
|
@ -277,74 +277,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
systemId: 10006
|
||||
--- !u!1 &968199489
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 968199492}
|
||||
- component: {fileID: 968199491}
|
||||
- component: {fileID: 968199490}
|
||||
m_Layer: 0
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &968199490
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 968199489}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_HorizontalAxis: Horizontal
|
||||
m_VerticalAxis: Vertical
|
||||
m_SubmitButton: Submit
|
||||
m_CancelButton: Cancel
|
||||
m_InputActionsPerSecond: 10
|
||||
m_RepeatDelay: 0.5
|
||||
m_ForceModuleActive: 0
|
||||
--- !u!114 &968199491
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 968199489}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 10
|
||||
--- !u!4 &968199492
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 968199489}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
startSceneName: 03_OfficeScene
|
||||
--- !u!114 &1686064644
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -406,6 +339,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
systemId: 0
|
||||
schemeId: 6001
|
||||
device_Control: {fileID: 0}
|
||||
--- !u!114 &1817104531410758845
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -464,6 +398,8 @@ GameObject:
|
|||
- component: {fileID: 1817104532591070030}
|
||||
- component: {fileID: 1817104532591070028}
|
||||
- component: {fileID: 1686064644}
|
||||
- component: {fileID: 1817104532591070032}
|
||||
- component: {fileID: 1817104532591070033}
|
||||
m_Layer: 0
|
||||
m_Name: "\u6B65\u9AA4\u72B6\u6001"
|
||||
m_TagString: Untagged
|
||||
|
@ -511,6 +447,31 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1817104532591070032
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1817104532591070025}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7a335acc154f7404494330a3524ad6b5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &1817104532591070033
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1817104532591070025}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 50fb6698959dc034e865fdc90070cff0, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isOnceAddFun: 0
|
||||
--- !u!1001 &3218341170884851037
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -6242,7 +6242,7 @@ Transform:
|
|||
m_GameObject: {fileID: 6944469734800208480}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 9.000014, y: -104.49999, z: -47.90006}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_LocalScale: {x: 1, y: 1.007, z: 1.1637}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2089319124}
|
||||
|
|
|
@ -14957,8 +14957,7 @@ MonoBehaviour:
|
|||
triggerName: "NPC\u8D1F\u8D23\u4EBA"
|
||||
_highlight: {fileID: 0}
|
||||
npcSpeack:
|
||||
- "\u7740\u88C5\u89C4\u8303\u3001\u4E2A\u4EBA\u9632\u62A4\u7528\u54C1\u5408\u683C\u9F50\u5907\u3001\u4EBA\u5458\u7CBE\u795E\u72B6\u6001\u826F\u597D\uFF0C\u53EF\u4EE5\u5F00\u5C55\u5DE5\u4F5C\uFF01"
|
||||
- "\u4ECA\u5929\u5DE5\u4F5C\u5185\u5BB9\u662F\u76F4\u63A5\u63A5\u5165\u5F0F\u7535\u80FD\u8BA1\u91CF\u88C5\u7F6E\u8F6E\u6362\u4F5C\u4E1A\uFF0C\u5DE5\u4F5C\u5730\u70B9\u662Fxxx......"
|
||||
- "\u7740\u88C5\u89C4\u8303\u3001\u4E2A\u4EBA\u9632\u62A4\u7528\u54C1\u5408\u683C\u9F50\u5907\u3001\u4EBA\u5458\u7CBE\u795E\u72B6\u6001\u826F\u597D\uFF0C\u53EF\u4EE5\u5F00\u5C55\u5DE5\u4F5C\uFF01\u4ECA\u5929\u5DE5\u4F5C\u5185\u5BB9\u662F\u73B0\u573A\u91C7\u96C6\u6545\u969C\u6392\u67E5\u53CA\u5904\u7406\u4F5C\u4E1A\uFF0C\u5DE5\u4F5C\u5730\u70B9\u662Fxxx\uFF0C\u5E26\u7535\u90E8\u5206\uFF0C\u8BA1\u91CF\u7BB1\u53CA\u91D1\u5C5E\u88F8\u9732\u90E8\u5206\u7B49\uFF0C\u73B0\u573A\u4F5C\u4E1A\u5B89\u5168\u63AA\u65BD\u6839\u636E\u5DE5\u4F5C\u7968\u6240\u5217\u5B89\u5168\u8981\u6C42\uFF0C\u843D\u5B9E\u5B89\u5168\u63AA\u65BD..."
|
||||
speackIndex: 0
|
||||
spriteRenderer: {fileID: 680750130}
|
||||
animator: {fileID: 897986306}
|
||||
|
@ -19404,8 +19403,8 @@ Transform:
|
|||
- {fileID: 1443161530}
|
||||
- {fileID: 723535377}
|
||||
- {fileID: 2591019038652623238}
|
||||
- {fileID: 5008542128686470641}
|
||||
- {fileID: 1893456732}
|
||||
- {fileID: 5008542128686470641}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 6
|
||||
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
|
||||
|
@ -23026,7 +23025,11 @@ PrefabInstance:
|
|||
m_Modifications:
|
||||
- target: {fileID: 332338951700092342, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: "\u91C7\u96C6\u5668"
|
||||
value: "\u539F\u91C7\u96C6\u5668"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 332338951700092342, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 740431971001944585, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_Name
|
||||
|
@ -23034,7 +23037,7 @@ PrefabInstance:
|
|||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1141491156000722700, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 9
|
||||
value: 8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1141491156000722700, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
@ -23092,6 +23095,14 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2734541677271557524, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3621052572427822743, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: isInstalled
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3621052572427822743, guid: 60338bcb7d853724fba468a37342705f, type: 3}
|
||||
propertyPath: installPos.x
|
||||
value: -0.1565018
|
||||
|
@ -25331,7 +25342,8 @@ MonoBehaviour:
|
|||
tMDTips: {fileID: 1180096483}
|
||||
triggerName: "\u6536\u56DE\u5DE5\u5177"
|
||||
npcCustomController: {fileID: 890581130}
|
||||
playSpeack: "\u60A8\u597D\uFF0C\u6211\u662Fxx\u4F9B\u7535\u516C\u53F8\u5458\u5DE5\uFF0C\u8FD9\u662F\u6211\u7684\u5DE5\u4F5C\u8BC1\u3002\u73B0\u5728\u6211\u4EEC\u8981\u5BF9\u8D35\u6237\u66F4\u6362\u7535\u80FD\u8BA1\u91CF\u8868"
|
||||
playSpeack: "\u60A8\u597D\uFF0C\u6211\u662F XX \u4F9B\u7535\u516C\u53F8\u7684\u5458\u5DE5\uFF0C\u8FD9\u662F\u6211\u7684\u5DE5\u4F5C\u8BC1\u3002\u4ECA\u5929\u6211\u4EEC\u5BF9\u8D35\u6237\u8FDB\u884C\u73B0\u573A\u91C7\u96C6\u6545\u969C\u6392\u67E5\u53CA\u5904\u7406\u5DE5\u4F5C\uFF0C\u4F5C\u4E1A\u65F6\u95F4\u4E3A
|
||||
XX \u65F6\u81F3 XX \u65F6\uFF0C\u4F5C\u4E1A\u5B8C\u6210\u540E\u5C06\u518D\u6B21\u901A\u77E5\u60A8\u3002\u5728\u6B64\u671F\u95F4\u5BF9\u60A8\u9020\u6210\u7684\u4E0D\u4FBF\u6211\u4EEC\u6DF1\u611F\u62B1\u6B49\uFF0C\u611F\u8C22\u60A8\u7684\u7406\u89E3\u3002"
|
||||
device_Control: {fileID: 1584432037}
|
||||
jiaoYanYiPos: {fileID: 0}
|
||||
wanYongBiaoPos: {fileID: 0}
|
||||
|
@ -27594,13 +27606,17 @@ PrefabInstance:
|
|||
propertyPath: m_Name
|
||||
value: "\u91C7\u96C6\u5668\u63D2\u5934"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2232743127493013942, guid: b39fdcc820528d14396a912f3d0daf97, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: "------\u91C7\u96C6\u5668"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3791089853158224115, guid: b39fdcc820528d14396a912f3d0daf97, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7351379683168670963, guid: b39fdcc820528d14396a912f3d0daf97, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 8
|
||||
value: 9
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7351379683168670963, guid: b39fdcc820528d14396a912f3d0daf97, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
|
|
@ -180,9 +180,12 @@ public class Device_Control_6001 : Device_Control
|
|||
collector.MoveToInstall();
|
||||
cur_collector.gameObject.SetActive(false);
|
||||
collector.gameObject.SetActive(true);
|
||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(device_collectorTrigger.name, true) == 0)
|
||||
collector.gameObject.name = "采集器";
|
||||
collector.isInstalled = true;
|
||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(device_collectorTrigger.triggerName, true) == 0)
|
||||
{
|
||||
ScoreManager.instance.Check(device_collectorTrigger.name, "采集器完成重装");
|
||||
collector.plug.SetPlugColliderState(true);
|
||||
ScoreManager.instance.Check(collector.gameObject.name, "采集器完成重装");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -438,5 +441,6 @@ public class Device_Control_6001 : Device_Control
|
|||
protected void OnDestroy()
|
||||
{
|
||||
EventCenter.Instance.RemoveEventListener<GameObject>(Enum_EventType.TakeOutAndRetrievingTheTools, CheckTriggerShow);
|
||||
GameManager.UIMgr.HidePanel<UI_ConnectStation>();//HQB 显示联系台站的按钮
|
||||
}
|
||||
}
|
||||
|
|
|
@ -179,12 +179,12 @@ public class Score_6001 : ScoreBase
|
|||
float tmp = 0;
|
||||
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("国网安全帽") ? 0.25f : 0);
|
||||
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("工作服") ? 0.25f : 0);
|
||||
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("绝缘手套") ? 0.25f : 0);
|
||||
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("编织手套") ? 0.25f : 0);
|
||||
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("绝缘靴") ? 0.25f : 0);
|
||||
steps[5].SetScore(tmp);
|
||||
|
||||
//检查背包是否携带
|
||||
string[] shoudleTools = new string[] { "剥线钳", "绝缘螺丝刀", "验电笔", "国网安全帽", "工作服", "绝缘手套", "绝缘靴", "工作证", "盒装封印", "采集器" };
|
||||
string[] shoudleTools = new string[] { "剥线钳", "绝缘螺丝刀", "验电笔", "国网安全帽", "工作服", "编织手套", "绝缘靴", "工作证", "盒装封印", "采集器" };
|
||||
float tmp2 = 1;
|
||||
shoudleTools.ToList().ForEach(a =>
|
||||
{
|
||||
|
|
|
@ -78,6 +78,7 @@ public class StepState_6001 : StepState
|
|||
//清空背包
|
||||
PacksackBagMgr.Instance.ClearAllToolAndDiveceAndMaterial();
|
||||
TooRoomMannger.Instance.CheckWearByWearDic();
|
||||
TooRoomMannger.Instance.CreateTool();
|
||||
//完成第一步点击去工具间
|
||||
if (num == lastNum)
|
||||
{
|
||||
|
@ -96,7 +97,7 @@ public class StepState_6001 : StepState
|
|||
//选取工器具
|
||||
|
||||
//服装拿到背包
|
||||
List<Tool_SelectComponent> items = ToolAndmaterialMgr.Instance.GetItemInfoByName(new List<string> { "国网安全帽", "工作服", "绝缘手套", "绝缘靴" });
|
||||
List<Tool_SelectComponent> items = TooRoomMannger.Instance.GetItemInfoByName(new List<string> { "国网安全帽", "工作服", "编织手套", "绝缘靴" });
|
||||
items.ForEach(item =>
|
||||
{
|
||||
PacksackBagMgr.Instance.AddOneToolOrMater(item.itemInfo);
|
||||
|
@ -132,7 +133,7 @@ public class StepState_6001 : StepState
|
|||
//清空背包数据
|
||||
PacksackBagMgr.Instance.ClearAllData();
|
||||
//生成服装
|
||||
List<ItemInfo> items = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "国网安全帽", "工作服", "绝缘手套", "绝缘靴" });
|
||||
List<ItemInfo> items = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "国网安全帽", "工作服", "编织手套", "绝缘靴" });
|
||||
//放入背包
|
||||
items.ForEach(item =>
|
||||
{
|
||||
|
@ -141,7 +142,7 @@ public class StepState_6001 : StepState
|
|||
PacksackBagMgr.Instance.WearItemState(item, true);
|
||||
});
|
||||
//生成工具
|
||||
List<ItemInfo> items2 = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "剥线钳", "绝缘螺丝刀", "验电笔", "国网安全帽", "工作服", "绝缘手套", "绝缘靴", "工作证", "盒装封印", "采集器" });
|
||||
List<ItemInfo> items2 = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "剥线钳", "绝缘螺丝刀", "验电笔", "国网安全帽", "工作服", "编织手套", "绝缘靴", "工作证", "盒装封印", "采集器" });
|
||||
items2.ForEach(item =>
|
||||
{
|
||||
PacksackBagMgr.Instance.AddOneToolOrMater(item);
|
||||
|
@ -161,6 +162,14 @@ public class StepState_6001 : StepState
|
|||
|
||||
//关闭故障登记表
|
||||
GameManager.UIMgr.HidePanel<UI_FaultRegistrationFormPanel>();
|
||||
|
||||
//还原采集器
|
||||
device_Control.device_collectorTrigger.gameObject.SetActive(false);
|
||||
device_Control.collector.gameObject.SetActive(true);
|
||||
device_Control.collector.MoveToInstall();
|
||||
device_Control.collector.gameObject.name = "原采集器";
|
||||
device_Control.collector.plug.SetPlugState(true);
|
||||
device_Control.collector.plug.SetPlugColliderState(true);
|
||||
}
|
||||
else if (num == 8)
|
||||
{
|
||||
|
|
|
@ -8,17 +8,19 @@ public class UI_ConnectStation : BasePanel
|
|||
public string triggerName;
|
||||
|
||||
//bool reinstalled = false;
|
||||
Device_Control_6001 dc = null;
|
||||
Device_Control dc = null;
|
||||
public Device_Collector collector;
|
||||
public Device_Sundries sundries;
|
||||
|
||||
public override void ShowMe()
|
||||
{
|
||||
base.ShowMe();
|
||||
//GameManager.EventMgr.AddEventListener<GameObject>(Enum_EventType.TakeOutAndRetrievingTheTools, TakeOutAndRetrievingTheTools_1);
|
||||
//GameObject seal_2 = GameObject.Find("电能表封印2");
|
||||
//ds = seal_2.GetComponent<Device_Seal>();
|
||||
//ds.cutAction += HighlightBtn;
|
||||
dc = FindObjectOfType<Device_Control_6001>();
|
||||
dc.collector.plug.onPlugToClose += HighlightBtn;
|
||||
//dc = FindObjectOfType<Device_Control_4001>();
|
||||
dc = FindObjectOfType<Device_Control>();
|
||||
collector = dc.GetComponentInChildren<Device_Collector>(true);
|
||||
sundries = dc.GetComponentInChildren<Device_Sundries>(true);
|
||||
|
||||
collector.plug.onPlugToClose += HighlightBtn;
|
||||
if (GameManager.RunModelMgr.ModeType == E_ModeType.Study)
|
||||
{
|
||||
GetControl<Button>("connectBtn").interactable = false;
|
||||
|
@ -28,10 +30,7 @@ public class UI_ConnectStation : BasePanel
|
|||
public override void HideMe()
|
||||
{
|
||||
base.HideMe();
|
||||
dc.collector.plug.onPlugToClose -= HighlightBtn;
|
||||
//GameManager.EventMgr.RemoveEventListener<GameObject>(Enum_EventType.TakeOutAndRetrievingTheTools, TakeOutAndRetrievingTheTools_1);
|
||||
//GameObject seal_2 = GameObject.Find("电能表封印2");
|
||||
//ds.cutAction -= HighlightBtn;
|
||||
collector.plug.onPlugToClose -= HighlightBtn;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -40,14 +39,15 @@ public class UI_ConnectStation : BasePanel
|
|||
void HighlightBtn()
|
||||
{
|
||||
GetControl<Button>("connectBtn").interactable = true;
|
||||
//if (reinstalled)
|
||||
//{
|
||||
if (GameManager.RunModelMgr.ModeType == E_ModeType.Study)
|
||||
if (GameManager.RunModelMgr.ModeType == E_ModeType.Study)
|
||||
{
|
||||
if (collector != null && !collector.gameObject.name.Contains("原"))
|
||||
{
|
||||
RectTransform rect = GameObject.Find("connectBtn").GetComponent<RectTransform>();
|
||||
GameManager.UIMgr.imageTips.ShowTips(rect);
|
||||
collector.plug.transform.GetComponent<BoxCollider>().enabled = false;
|
||||
}
|
||||
//}
|
||||
RectTransform rect = GameObject.Find("connectBtn").GetComponent<RectTransform>();
|
||||
GameManager.UIMgr.imageTips.ShowTips(rect);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -59,11 +59,18 @@ public class UI_ConnectStation : BasePanel
|
|||
switch (btnName)
|
||||
{
|
||||
case "connectBtn":
|
||||
GameManager.UIMgr.ShowPanel<UI_PlayerSessionPanel>(E_UI_Layer.Mid, (panel) =>
|
||||
if (collector != null && !collector.gameObject.name.Contains("原"))
|
||||
{
|
||||
GameManager.EventMgr.EventTrigger<bool>(Enum_EventType.PlayerCanMove, false);
|
||||
panel.Init(triggerName, "您好,xxx客户采集器更换完毕,请主站人员看下有没有抄录数据。", StationLeadTalk, 0);
|
||||
});
|
||||
GameManager.UIMgr.ShowPanel<UI_PlayerSessionPanel>(E_UI_Layer.Mid, (panel) =>
|
||||
{
|
||||
GameManager.EventMgr.EventTrigger<bool>(Enum_EventType.PlayerCanMove, false);
|
||||
panel.Init(triggerName, "您好,xxx客户采集器更换完毕,请主站人员看下有没有抄录数据。", StationLeadTalk, 0);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
TipPanel.ShowTip("召测失败");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -93,8 +100,11 @@ public class UI_ConnectStation : BasePanel
|
|||
{
|
||||
ScoreManager.instance.Check(triggerName, "²É¼¯¹ÊÕÏ´¦ÀíÍê³É");
|
||||
}
|
||||
Device_Control_6001 ds = (Device_Control_6001)FindObjectOfType<Device_Control>();
|
||||
ds.sundries.gameObject.SetActive(true);
|
||||
sundries.gameObject.SetActive(true);
|
||||
if (GameManager.RunModelMgr.ModeType == E_ModeType.Study)
|
||||
{
|
||||
GetControl<Button>("connectBtn").interactable = false;
|
||||
}
|
||||
}, 0);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
练习学习,/member/pro/simulationStepRecord/addSubmitDetail
|
||||
练习学习,/member/pro/simulationStepRecord/addSubmitDetail
|
||||
试卷,/member/proSimulationExamination/queryById?id=
|
||||
GetToken,/member/pro/times/refreshToken
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0b473877c36c5cc4b999f390cb520900
|
||||
guid: 9519507e90c44d54982f87d7825b8862
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<TB_System id="10006" systemName="低压台区采集故障分析与消缺仿真" loadName="低压台区采集故障分析与消缺仿真" titleName="低压台区采集故障分析与消缺仿真">
|
||||
<TB_System id="10006" systemName="低压台区采集故障分析与消缺仿真培训" loadName="低压台区采集故障分析与消缺仿真" titleName="低压台区采集故障分析与消缺仿真">
|
||||
|
||||
<Subject id="6001" deviceTypeId="6001" schemeName="直接接入式电能计量装置" deviceMap="单相表" isFault="1" schemeDes="" ToolOrMaterilOrDevice="剥线钳,绝缘螺丝刀,验电笔,国网安全帽,工作服,绝缘手套,绝缘靴,工作证,盒装封印,采集器">
|
||||
<Subject id="6001" deviceTypeId="6001" schemeName="直接接入式电能计量装置" deviceMap="单相表" isFault="1" schemeDes="" ToolOrMaterilOrDevice="剥线钳,绝缘螺丝刀,验电笔,国网安全帽,工作服,编织手套,绝缘靴,工作证,盒装封印,采集器">
|
||||
|
||||
<Process id="" processName="系统诊断及人工研判" processDes="">
|
||||
|
||||
|
@ -19,13 +19,13 @@
|
|||
</Step>
|
||||
|
||||
<Step id="" subProcessName="办理工作票" isPrecondition="FALSE" precondition="" tipTitle="" tips="请选择合适的工作票,并正确填写">
|
||||
<operation id="" subProcessStepName="选择正确工作票" isPrecondition="" precondition="Office" triggerID="工作票按钮,低压工作票确认按钮" tipTitle="请打开左边菜单点击工作票按钮" score=""></operation>
|
||||
<operation id="" subProcessStepName="选择正确工作票" isPrecondition="" precondition="Office" triggerID="工作票按钮,低压工作票,低压工作票确认按钮" tipTitle="请打开左边菜单点击工作票按钮" score=""></operation>
|
||||
</Step>
|
||||
|
||||
<Step id="" subProcessName="正确着装" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往工具间,选取工作服、绝缘鞋、安全帽、手套,到梳妆镜面前进行换装">
|
||||
<operation id="" subProcessStepName="前往工具间" isPrecondition="" precondition="Office" triggerID="工具间按钮" tipTitle="前往工具间" score=""></operation>
|
||||
<operation id="" subProcessStepName="选择着装" isPrecondition="" precondition="ToolRoom" triggerID="国网安全帽,工作服,绝缘手套,绝缘靴" tipTitle="请按照提示点击正确的着装" score=""></operation>
|
||||
<operation id="" subProcessStepName="正确着装" isPrecondition="" precondition="ToolRoom" triggerID="镜子,国网安全帽,工作服,绝缘手套,绝缘靴" tipTitle="请点击镜子,按顺序点击着装" score=""></operation>
|
||||
<operation id="" subProcessStepName="选择着装" isPrecondition="" precondition="ToolRoom" triggerID="国网安全帽,工作服,编织手套,绝缘靴" tipTitle="请按照提示点击正确的着装" score=""></operation>
|
||||
<operation id="" subProcessStepName="正确着装" isPrecondition="" precondition="ToolRoom" triggerID="镜子,国网安全帽,工作服,编织手套,绝缘靴" tipTitle="请点击镜子,按顺序点击着装" score=""></operation>
|
||||
</Step>
|
||||
|
||||
<Step id="" subProcessName="选取工器具" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往工具间,按照顺序选取剥线钳,绝缘螺丝刀,验电笔,工作证,盒装封印,采集器">
|
||||
|
@ -40,7 +40,7 @@
|
|||
</Step>
|
||||
|
||||
<Step id="" subProcessName="班前会" isPrecondition="FALSE" precondition="" tipTitle="" tips="清前往现场,由工作负责人检查着装是否规范、个人防护用品是否合格齐备、人员精神状态是否良好">
|
||||
<operation id="" subProcessStepName="班前会" isPrecondition="" precondition="Site" triggerID="NPC负责人" tipTitle="请点击工作负责人与之对话" score=""></operation>
|
||||
<operation id="" subProcessStepName="班前会" isPrecondition="" precondition="Site" triggerID="NPC负责人" tipTitle="请点击工作负责人与之对话" score=""></operation>
|
||||
</Step>
|
||||
</Process>
|
||||
|
||||
|
|
Loading…
Reference in New Issue