This commit is contained in:
parent
e307c989aa
commit
837eabc069
|
@ -14,24 +14,24 @@ public class Score_1002 : ScoreBase
|
||||||
{
|
{
|
||||||
base.Init();
|
base.Init();
|
||||||
List<ScoreSubjectStep> tmps= new List<ScoreSubjectStep>();
|
List<ScoreSubjectStep> tmps= new List<ScoreSubjectStep>();
|
||||||
tmps.Add(new ScoreSubjectStep(3001, 0));
|
tmps.Add(new ScoreSubjectStep(1, 0));
|
||||||
tmps.Add(new ScoreSubjectStep(3002,0));
|
tmps.Add(new ScoreSubjectStep(2,0));
|
||||||
tmps.Add(new ScoreSubjectStep(3003,5));
|
tmps.Add(new ScoreSubjectStep(3,5));
|
||||||
tmps.Add(new ScoreSubjectStep(3004,5));
|
tmps.Add(new ScoreSubjectStep(4,5));
|
||||||
tmps.Add(new ScoreSubjectStep(3005, 5));
|
tmps.Add(new ScoreSubjectStep(5, 5));
|
||||||
tmps.Add(new ScoreSubjectStep(3006, 10));
|
tmps.Add(new ScoreSubjectStep(6, 10));
|
||||||
tmps.Add(new ScoreSubjectStep(3007, 5));
|
tmps.Add(new ScoreSubjectStep(7, 5));
|
||||||
tmps.Add(new ScoreSubjectStep(3008, 0));
|
tmps.Add(new ScoreSubjectStep(8, 0));
|
||||||
tmps.Add(new ScoreSubjectStep(3009, 3));
|
tmps.Add(new ScoreSubjectStep(9, 3));
|
||||||
tmps.Add(new ScoreSubjectStep(3010,4));
|
tmps.Add(new ScoreSubjectStep(10,4));
|
||||||
tmps.Add(new ScoreSubjectStep(3011, 3));
|
tmps.Add(new ScoreSubjectStep(11, 3));
|
||||||
tmps.Add(new ScoreSubjectStep(3012, 20,true));
|
tmps.Add(new ScoreSubjectStep(12, 20,true));
|
||||||
tmps.Add(new ScoreSubjectStep(3013, 20,true));
|
tmps.Add(new ScoreSubjectStep(13, 20,true));
|
||||||
tmps.Add(new ScoreSubjectStep(3014, 5));
|
tmps.Add(new ScoreSubjectStep(14, 5));
|
||||||
tmps.Add(new ScoreSubjectStep(3015, 5));
|
tmps.Add(new ScoreSubjectStep(15, 5));
|
||||||
tmps.Add(new ScoreSubjectStep(3016, 3));
|
tmps.Add(new ScoreSubjectStep(16, 3));
|
||||||
tmps.Add(new ScoreSubjectStep(3017, 4));
|
tmps.Add(new ScoreSubjectStep(17, 4));
|
||||||
tmps.Add(new ScoreSubjectStep(3018, 3));
|
tmps.Add(new ScoreSubjectStep(18, 3));
|
||||||
|
|
||||||
steps = new Dictionary<int, ScoreSubjectStep>();
|
steps = new Dictionary<int, ScoreSubjectStep>();
|
||||||
tmps.ForEach(a =>
|
tmps.ForEach(a =>
|
||||||
|
@ -126,20 +126,20 @@ public class Score_1002 : ScoreBase
|
||||||
{
|
{
|
||||||
if (para.ToString() == "任务接受完成")
|
if (para.ToString() == "任务接受完成")
|
||||||
{
|
{
|
||||||
steps[3001].SetScore(true);
|
steps[1].SetScore(true);
|
||||||
}
|
}
|
||||||
else if (para.ToString() == "工作预约完成")
|
else if (para.ToString() == "工作预约完成")
|
||||||
{
|
{
|
||||||
steps[3002].SetScore(true);
|
steps[2].SetScore(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(triggerName== "低压工作票确认按钮")
|
else if(triggerName== "低压工作票确认按钮")
|
||||||
{
|
{
|
||||||
steps[3003].SetScore(true);
|
steps[3].SetScore(true);
|
||||||
}
|
}
|
||||||
else if(triggerName== "拆装工单按钮")
|
else if(triggerName== "拆装工单按钮")
|
||||||
{
|
{
|
||||||
steps[3004].SetScore(true);
|
steps[4].SetScore(true);
|
||||||
}
|
}
|
||||||
else if (triggerName == "现场按钮")
|
else if (triggerName == "现场按钮")
|
||||||
{
|
{
|
||||||
|
@ -149,7 +149,7 @@ public class Score_1002 : ScoreBase
|
||||||
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);
|
tmp += (PacksackBagMgr.Instance.wearDic.ContainsKey("绝缘靴") ? 0.25f : 0);
|
||||||
steps[3005].SetScore(tmp);
|
steps[5].SetScore(tmp);
|
||||||
|
|
||||||
//检查背包是否携带
|
//检查背包是否携带
|
||||||
string[] shoudleTools = new string[] { "剥线钳", "绝缘螺丝刀", "验电笔", "工作证", "盒装封印", "绝缘胶带", "三相四线电能表", "国网安全帽", "工作服", "绝缘手套", "绝缘靴" };
|
string[] shoudleTools = new string[] { "剥线钳", "绝缘螺丝刀", "验电笔", "工作证", "盒装封印", "绝缘胶带", "三相四线电能表", "国网安全帽", "工作服", "绝缘手套", "绝缘靴" };
|
||||||
|
@ -158,32 +158,32 @@ public class Score_1002 : ScoreBase
|
||||||
{
|
{
|
||||||
tmp2 -= (PacksackBagMgr.Instance.toolAndMaterialDic.ContainsKey(a) ? 0 : 0.1f);
|
tmp2 -= (PacksackBagMgr.Instance.toolAndMaterialDic.ContainsKey(a) ? 0 : 0.1f);
|
||||||
});
|
});
|
||||||
steps[3006].SetScore(Mathf.Clamp01(tmp2));
|
steps[6].SetScore(Mathf.Clamp01(tmp2));
|
||||||
}
|
}
|
||||||
else if (triggerName == "工作证")
|
else if (triggerName == "工作证")
|
||||||
{
|
{
|
||||||
//与客户沟通
|
//与客户沟通
|
||||||
steps[3007].SetScore(true);
|
steps[7].SetScore(true);
|
||||||
}
|
}
|
||||||
else if (triggerName == "NPC负责人")
|
else if (triggerName == "NPC负责人")
|
||||||
{
|
{
|
||||||
//班前会
|
//班前会
|
||||||
steps[3008].SetScore(true);
|
steps[8].SetScore(true);
|
||||||
}
|
}
|
||||||
else if (triggerName == "检查接线")
|
else if (triggerName == "检查接线")
|
||||||
{
|
{
|
||||||
if ((bool)para)
|
if ((bool)para)
|
||||||
{
|
{
|
||||||
//3012之前时拆除流程,之后时安装流程
|
//12之前时拆除流程,之后时安装流程
|
||||||
if (!steps[3012].isDone)
|
if (!steps[12].isDone)
|
||||||
{
|
{
|
||||||
//接线检查打分,判断三步验电是否正确
|
//接线检查打分,判断三步验电是否正确
|
||||||
steps[3009].SetScore(isCheckE());
|
steps[9].SetScore(isCheckE());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//安装检查
|
//安装检查
|
||||||
steps[3014].SetScore(true);
|
steps[14].SetScore(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -195,13 +195,13 @@ public class Score_1002 : ScoreBase
|
||||||
else if (triggerName == "验电笔+in开关_螺丝1" || triggerName == "验电笔+in开关_螺丝2" || triggerName == "验电笔+in开关_螺丝3")
|
else if (triggerName == "验电笔+in开关_螺丝1" || triggerName == "验电笔+in开关_螺丝2" || triggerName == "验电笔+in开关_螺丝3")
|
||||||
{
|
{
|
||||||
//3012之前是拆除,之后是安装
|
//3012之前是拆除,之后是安装
|
||||||
if (!steps[3012].isDone)
|
if (!steps[12].isDone)
|
||||||
{
|
{
|
||||||
//断电情况下
|
//断电情况下
|
||||||
if (SiteManager.instance.measuringCabinet.inSwitch.isOpen == false)
|
if (SiteManager.instance.measuringCabinet.inSwitch.isOpen == false)
|
||||||
{
|
{
|
||||||
InSwitchCloseYDList.Add(triggerName);
|
InSwitchCloseYDList.Add(triggerName);
|
||||||
steps[3010].SetScore(isInSwitchCheckE(),true);
|
steps[10].SetScore(isInSwitchCheckE(),true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -215,13 +215,13 @@ public class Score_1002 : ScoreBase
|
||||||
}
|
}
|
||||||
else if(triggerName == "电能表铭牌")
|
else if(triggerName == "电能表铭牌")
|
||||||
{
|
{
|
||||||
steps[3011].SetScore(true);
|
steps[11].SetScore(true);
|
||||||
}
|
}
|
||||||
else if(unInstallJieXian.Contains(triggerName))
|
else if(unInstallJieXian.Contains(triggerName))
|
||||||
{
|
{
|
||||||
//3012之前是拆除,之后是安装
|
//3012之前是拆除,之后是安装
|
||||||
//接线螺丝和线
|
//接线螺丝和线
|
||||||
if (!steps[3012].isDone)
|
if (!steps[12].isDone)
|
||||||
{
|
{
|
||||||
//判断拆接线
|
//判断拆接线
|
||||||
if ((bool)para)
|
if ((bool)para)
|
||||||
|
@ -240,7 +240,7 @@ public class Score_1002 : ScoreBase
|
||||||
//判分
|
//判分
|
||||||
if (triggerName.Contains("A_in_螺丝"))
|
if (triggerName.Contains("A_in_螺丝"))
|
||||||
{
|
{
|
||||||
steps[3013].SetScore(IsInstallJieXianCheckE(), true);
|
steps[13].SetScore(IsInstallJieXianCheckE(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -249,13 +249,13 @@ public class Score_1002 : ScoreBase
|
||||||
//取下电能表时判断验电顺序
|
//取下电能表时判断验电顺序
|
||||||
if(!(bool)para)
|
if(!(bool)para)
|
||||||
{
|
{
|
||||||
steps[3012].SetScore(IsUninstallJieXianCheckE());
|
steps[12].SetScore(IsUninstallJieXianCheckE());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(triggerName.Contains("电能表拆装螺丝"))
|
else if(triggerName.Contains("电能表拆装螺丝"))
|
||||||
{
|
{
|
||||||
//安装流程下
|
//安装流程下
|
||||||
if (steps[3012].isDone)
|
if (steps[12].isDone)
|
||||||
{
|
{
|
||||||
//拆装螺丝
|
//拆装螺丝
|
||||||
if ((bool)para)
|
if ((bool)para)
|
||||||
|
@ -267,42 +267,49 @@ public class Score_1002 : ScoreBase
|
||||||
else if(triggerName.Contains("电能表盖子固定螺丝"))
|
else if(triggerName.Contains("电能表盖子固定螺丝"))
|
||||||
{
|
{
|
||||||
//安装流程
|
//安装流程
|
||||||
if (steps[3012].isDone)
|
if (steps[12].isDone)
|
||||||
{
|
{
|
||||||
if ((bool)para)
|
if ((bool)para)
|
||||||
installCover.Add(triggerName);
|
installCover.Add(triggerName);
|
||||||
else
|
else
|
||||||
installCover.Remove(triggerName);
|
installCover.Remove(triggerName);
|
||||||
|
|
||||||
steps[3015].SetScore(Check3015(),true);
|
steps[15].SetScore(Check15(),true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(installTestJieXian.Any(a=>triggerName.StartsWith(a)))
|
else if(installTestJieXian.Any(a=>triggerName.StartsWith(a)))
|
||||||
{
|
{
|
||||||
//接线验电
|
//接线验电
|
||||||
if (steps[3012].isDone)
|
if (steps[12].isDone)
|
||||||
{
|
{
|
||||||
currentInstallTestJieXian.Add(triggerName);
|
currentInstallTestJieXian.Add(triggerName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(triggerName.Contains("电能表封印"))
|
else if(triggerName.Contains("电能表封印"))
|
||||||
{
|
{
|
||||||
if (steps[3012].isDone)
|
if (steps[12].isDone)
|
||||||
{
|
{
|
||||||
if((bool)para)
|
if((bool)para)
|
||||||
{
|
{
|
||||||
if(!SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Left.isCut && !SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Right.isCut)
|
if(!SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Left.isCut && !SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Right.isCut)
|
||||||
{
|
{
|
||||||
steps[3016].SetScore(true,true);
|
steps[16].SetScore(true,true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(triggerName=="告知单按钮")
|
||||||
|
{
|
||||||
|
if (steps[12].isDone)
|
||||||
|
{
|
||||||
|
steps[17].SetScore(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
else if(triggerName== "垃圾")
|
else if(triggerName== "垃圾")
|
||||||
{
|
{
|
||||||
if (steps[3012].isDone)
|
if (steps[12].isDone)
|
||||||
{
|
{
|
||||||
steps[3018].SetScore(true);
|
steps[18].SetScore(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -417,7 +424,7 @@ public class Score_1002 : ScoreBase
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Check3015()
|
public bool Check15()
|
||||||
{
|
{
|
||||||
//开关关了,盖子拧上了
|
//开关关了,盖子拧上了
|
||||||
if (SiteManager.instance.measuringCabinet.inSwitch.isOpen && installCover.Contains("电能表盖子固定螺丝1") && installCover.Contains("电能表盖子固定螺丝2"))
|
if (SiteManager.instance.measuringCabinet.inSwitch.isOpen && installCover.Contains("电能表盖子固定螺丝1") && installCover.Contains("电能表盖子固定螺丝2"))
|
||||||
|
|
|
@ -11,24 +11,24 @@ public class StepState_1002 : StepState
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
steps.Add(3001, E_SceneType.Office);
|
steps.Add(1, E_SceneType.Office);
|
||||||
steps.Add(3002, E_SceneType.Office);
|
steps.Add(2, E_SceneType.Office);
|
||||||
steps.Add(3003, E_SceneType.Office);
|
steps.Add(3, E_SceneType.Office);
|
||||||
steps.Add(3004, E_SceneType.Office);
|
steps.Add(4, E_SceneType.Office);
|
||||||
steps.Add(3005, E_SceneType.ToolRoom);
|
steps.Add(5, E_SceneType.ToolRoom);
|
||||||
steps.Add(3006, E_SceneType.ToolRoom);
|
steps.Add(6, E_SceneType.ToolRoom);
|
||||||
steps.Add(3007, E_SceneType.Site);
|
steps.Add(7, E_SceneType.Site);
|
||||||
steps.Add(3008, E_SceneType.Site);
|
steps.Add(8, E_SceneType.Site);
|
||||||
steps.Add(3009, E_SceneType.Site);
|
steps.Add(9, E_SceneType.Site);
|
||||||
steps.Add(3010, E_SceneType.Site);
|
steps.Add(10, E_SceneType.Site);
|
||||||
steps.Add(3011, E_SceneType.Site);
|
steps.Add(11, E_SceneType.Site);
|
||||||
steps.Add(3012, E_SceneType.Site);
|
steps.Add(12, E_SceneType.Site);
|
||||||
steps.Add(3013, E_SceneType.Site);
|
steps.Add(13, E_SceneType.Site);
|
||||||
steps.Add(3014, E_SceneType.Site);
|
steps.Add(14, E_SceneType.Site);
|
||||||
steps.Add(3015, E_SceneType.Site);
|
steps.Add(15, E_SceneType.Site);
|
||||||
steps.Add(3016, E_SceneType.Site);
|
steps.Add(16, E_SceneType.Site);
|
||||||
steps.Add(3017, E_SceneType.Site);
|
steps.Add(17, E_SceneType.Site);
|
||||||
steps.Add(3018, E_SceneType.Site);
|
steps.Add(18, E_SceneType.Site);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -41,26 +41,26 @@ public class StepState_1002 : StepState
|
||||||
//删除手里的东西
|
//删除手里的东西
|
||||||
LiveSceneManager.Instance?.OnCheckSubProcess();
|
LiveSceneManager.Instance?.OnCheckSubProcess();
|
||||||
|
|
||||||
if (num == 3001)
|
if (num == 1)
|
||||||
{
|
{
|
||||||
//查看任务单
|
//查看任务单
|
||||||
OfficeManager.Instance.mobileController.downIndex = 0;
|
OfficeManager.Instance.mobileController.downIndex = 0;
|
||||||
}
|
}
|
||||||
else if (num == 3002)
|
else if (num == 2)
|
||||||
{
|
{
|
||||||
//工作预约
|
//工作预约
|
||||||
OfficeManager.Instance.mobileController.downIndex = 1;
|
OfficeManager.Instance.mobileController.downIndex = 1;
|
||||||
}
|
}
|
||||||
else if (num == 3003)
|
else if (num == 3)
|
||||||
{
|
{
|
||||||
//办理工作票
|
//办理工作票
|
||||||
OfficeManager.Instance.mobileController.downIndex = 2;
|
OfficeManager.Instance.mobileController.downIndex = 2;
|
||||||
}
|
}
|
||||||
else if (num == 3004)
|
else if (num == 4)
|
||||||
{
|
{
|
||||||
//填写装拆工单
|
//填写装拆工单
|
||||||
}
|
}
|
||||||
else if (num == 3005)
|
else if (num == 5)
|
||||||
{
|
{
|
||||||
//场景首个步骤
|
//场景首个步骤
|
||||||
//正确着装
|
//正确着装
|
||||||
|
@ -80,7 +80,7 @@ public class StepState_1002 : StepState
|
||||||
GameManager.RunModelMgr.SceneType = curret;
|
GameManager.RunModelMgr.SceneType = curret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (num == 3006)
|
else if (num == 6)
|
||||||
{
|
{
|
||||||
|
|
||||||
//选取工器具
|
//选取工器具
|
||||||
|
@ -95,7 +95,7 @@ public class StepState_1002 : StepState
|
||||||
PacksackBagMgr.Instance.WearItemState(item.itemInfo, true);
|
PacksackBagMgr.Instance.WearItemState(item.itemInfo, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (num == 3007)
|
else if (num == 7)
|
||||||
{
|
{
|
||||||
//场景首个步骤
|
//场景首个步骤
|
||||||
//与客户沟通
|
//与客户沟通
|
||||||
|
@ -141,18 +141,18 @@ public class StepState_1002 : StepState
|
||||||
//还原npc对话
|
//还原npc对话
|
||||||
GameObject.FindObjectsOfType<NPCController>().ToList().ForEach(a => { a.speackIndex = 0; });
|
GameObject.FindObjectsOfType<NPCController>().ToList().ForEach(a => { a.speackIndex = 0; });
|
||||||
}
|
}
|
||||||
else if (num == 3008)
|
else if (num == 8)
|
||||||
{
|
{
|
||||||
//班前会
|
//班前会
|
||||||
}
|
}
|
||||||
else if (num == 3009)
|
else if (num == 9)
|
||||||
{
|
{
|
||||||
//接线检查
|
//接线检查
|
||||||
|
|
||||||
//还原npc负责人
|
//还原npc负责人
|
||||||
GameObject.FindObjectsOfType<NPCController>().ToList().Find(a => a.triggerName == "NPC负责人").speackIndex = 1;
|
GameObject.FindObjectsOfType<NPCController>().ToList().Find(a => a.triggerName == "NPC负责人").speackIndex = 1;
|
||||||
}
|
}
|
||||||
else if(num == 3010)
|
else if(num == 10)
|
||||||
{
|
{
|
||||||
//断开电源并验电
|
//断开电源并验电
|
||||||
|
|
||||||
|
@ -169,20 +169,20 @@ public class StepState_1002 : StepState
|
||||||
SiteManager.instance.measuringCabinet.check_JieXian.GetComponent<BoxCollider>().enabled = false;
|
SiteManager.instance.measuringCabinet.check_JieXian.GetComponent<BoxCollider>().enabled = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (num == 3011)
|
else if (num == 11)
|
||||||
{
|
{
|
||||||
//核对和抄录计量设备信息
|
//核对和抄录计量设备信息
|
||||||
|
|
||||||
//电源断开了
|
//电源断开了
|
||||||
SiteManager.instance.measuringCabinet.inSwitch.CloseState();
|
SiteManager.instance.measuringCabinet.inSwitch.CloseState();
|
||||||
}
|
}
|
||||||
else if(num== 3012)
|
else if(num== 12)
|
||||||
{
|
{
|
||||||
//拆除电能计量装置
|
//拆除电能计量装置
|
||||||
//铭牌已读取
|
//铭牌已读取
|
||||||
SiteManager.instance.measuringCabinet.meteringDevice.namePlate.isChecked = true;
|
SiteManager.instance.measuringCabinet.meteringDevice.namePlate.isChecked = true;
|
||||||
}
|
}
|
||||||
else if( num == 3013)
|
else if( num == 13)
|
||||||
{
|
{
|
||||||
//安装电能表
|
//安装电能表
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ public class StepState_1002 : StepState
|
||||||
//刷新带电状态
|
//刷新带电状态
|
||||||
SiteManager.instance.measuringCabinet.CheckHasElectricity();
|
SiteManager.instance.measuringCabinet.CheckHasElectricity();
|
||||||
}
|
}
|
||||||
else if (num == 3014)
|
else if (num == 14)
|
||||||
{
|
{
|
||||||
//安装检查
|
//安装检查
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ public class StepState_1002 : StepState
|
||||||
//刷新带电状态
|
//刷新带电状态
|
||||||
SiteManager.instance.measuringCabinet.CheckHasElectricity();
|
SiteManager.instance.measuringCabinet.CheckHasElectricity();
|
||||||
}
|
}
|
||||||
else if(num== 3015)
|
else if(num== 15)
|
||||||
{
|
{
|
||||||
//现场通电及检查
|
//现场通电及检查
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ public class StepState_1002 : StepState
|
||||||
SiteManager.instance.measuringCabinet.check_JieXian.isChecked = true;
|
SiteManager.instance.measuringCabinet.check_JieXian.isChecked = true;
|
||||||
SiteManager.instance.measuringCabinet.check_JieXian.GetComponent<BoxCollider>().enabled = false;
|
SiteManager.instance.measuringCabinet.check_JieXian.GetComponent<BoxCollider>().enabled = false;
|
||||||
}
|
}
|
||||||
else if(num== 3016)
|
else if(num== 16)
|
||||||
{
|
{
|
||||||
//实施封印
|
//实施封印
|
||||||
|
|
||||||
|
@ -243,13 +243,13 @@ public class StepState_1002 : StepState
|
||||||
//盖子盖上
|
//盖子盖上
|
||||||
SiteManager.instance.measuringCabinet.meteringDevice.CoverInstallState();
|
SiteManager.instance.measuringCabinet.meteringDevice.CoverInstallState();
|
||||||
}
|
}
|
||||||
else if(num== 3017)
|
else if(num== 17)
|
||||||
{
|
{
|
||||||
//填写告知单
|
//填写告知单
|
||||||
SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Left.Install();
|
SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Left.Install();
|
||||||
SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Right.Install();
|
SiteManager.instance.measuringCabinet.meteringDevice.cover.cover_seal_Right.Install();
|
||||||
}
|
}
|
||||||
else if(num== 3018)
|
else if(num== 18)
|
||||||
{
|
{
|
||||||
//清理现场
|
//清理现场
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ public class UI_DisassemblyAssemblyNoticePanel : BasePanel
|
||||||
break;
|
break;
|
||||||
case "Button_Define":
|
case "Button_Define":
|
||||||
GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true);
|
GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true);
|
||||||
|
ScoreManager.instance.Check(triggerName, null);
|
||||||
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,48 +3,48 @@
|
||||||
|
|
||||||
<Subject id="1002" deviceTypeId="20002" schemeName="直接接入式电能计量装置" deviceMap="单相表" schemeDes="" ToolOrMaterilOrDevice="5002,5003,5004,5008,5009,5010,5011,5014,5015,5016,5017">
|
<Subject id="1002" deviceTypeId="20002" schemeName="直接接入式电能计量装置" deviceMap="单相表" schemeDes="" ToolOrMaterilOrDevice="5002,5003,5004,5008,5009,5010,5011,5014,5015,5016,5017">
|
||||||
|
|
||||||
<Process id="2001" processName="任务接受" processDes="">
|
<Process id="" processName="任务接受" processDes="">
|
||||||
|
|
||||||
<Step id="3001" subProcessName="查看任务单" isPrecondition="FALSE" precondition="" tipTitle="" tips="请先打看掌机,查看您接受到的任务工单">
|
<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>
|
||||||
</Process >
|
</Process >
|
||||||
|
|
||||||
<Process id="2002" processName="工作前准备" processDes="">
|
<Process id="" processName="工作前准备" processDes="">
|
||||||
<Step id="3002" subProcessName="工作预约" isPrecondition="FALSE" precondition="" tipTitle="" tips="请电话联系客户">
|
<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>
|
||||||
|
|
||||||
<Step id="3003" subProcessName="办理工作票" isPrecondition="FALSE" precondition="" tipTitle="" tips="请选择合适的工作票,并正确填写">
|
<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>
|
||||||
|
|
||||||
<Step id="3004" subProcessName="填写装拆工单" isPrecondition="FALSE" precondition="" tipTitle="" tips="请填写正确的拆装工作单">
|
<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>
|
||||||
|
|
||||||
<Step id="3005" subProcessName="正确着装" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往工具间,选取工作服、绝缘鞋、安全帽、手套,到梳妆镜面前进行换装">
|
<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>
|
||||||
<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>
|
||||||
|
|
||||||
<Step id="3006" subProcessName="选取工器具" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往工具间,选取电能表、绝缘螺丝刀、剥线钳、绝缘胶带、验电笔、封印、相序表、工作证">
|
<Step id="" subProcessName="选取工器具" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往工具间,选取电能表、绝缘螺丝刀、剥线钳、绝缘胶带、验电笔、封印、相序表、工作证">
|
||||||
<operation id="" subProcessStepName="选取工器具" isPrecondition="" precondition="ToolRoom" triggerID="剥线钳,绝缘螺丝刀,验电笔,工作证,盒装封印,绝缘胶带,三相四线电能表" tipTitle="请点击正确工器具" score=""></operation>
|
<operation id="" subProcessStepName="选取工器具" isPrecondition="" precondition="ToolRoom" triggerID="剥线钳,绝缘螺丝刀,验电笔,工作证,盒装封印,绝缘胶带,三相四线电能表" tipTitle="请点击正确工器具" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
</Process>
|
</Process>
|
||||||
|
|
||||||
<Process id="2003" processName="现场开工" processDes="">
|
<Process id="" processName="现场开工" processDes="">
|
||||||
<Step id="3007" subProcessName="与客户沟通" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往现场,出示工作牌,告知工作内容。">
|
<Step id="" subProcessName="与客户沟通" isPrecondition="FALSE" precondition="" tipTitle="" tips="请前往现场,出示工作牌,告知工作内容。">
|
||||||
<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="Site" triggerID="NPC客户,背包按钮,工作证" tipTitle="请点击客户与之对话,打开背包,取出工作证展示" score=""></operation>
|
<operation id="" subProcessStepName="与客户沟通" isPrecondition="" precondition="Site" triggerID="NPC客户,背包按钮,工作证" tipTitle="请点击客户与之对话,打开背包,取出工作证展示" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3008" subProcessName="班前会" isPrecondition="FALSE" precondition="" tipTitle="" tips="清前往现场,由工作负责人检查着装是否规范、个人防护用品是否合格齐备、人员精神状态是否良好">
|
<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>
|
</Step>
|
||||||
|
|
||||||
<Step id="3009" subProcessName="接线检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请检查接线正确性">
|
<Step id="" subProcessName="接线检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请检查接线正确性">
|
||||||
<operation id="" subProcessStepName="验电" isPrecondition="" precondition="Site" triggerID="背包按钮,验电笔,验电笔+插座,验电笔+柜门,验电笔+插座" tipTitle="请拿取验电笔进行验电操作" score=""></operation>
|
<operation id="" subProcessStepName="验电" isPrecondition="" precondition="Site" triggerID="背包按钮,验电笔,验电笔+插座,验电笔+柜门,验电笔+插座" tipTitle="请拿取验电笔进行验电操作" score=""></operation>
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
<operation id="" subProcessStepName="剪封印" isPrecondition="" precondition="Site" triggerID="柜门,背包按钮,剥线钳,电能表封印1,电能表封印2" tipTitle="请剪开封印,取下电能表盖子" score=""></operation>
|
<operation id="" subProcessStepName="剪封印" isPrecondition="" precondition="Site" triggerID="柜门,背包按钮,剥线钳,电能表封印1,电能表封印2" tipTitle="请剪开封印,取下电能表盖子" score=""></operation>
|
||||||
|
@ -55,17 +55,17 @@
|
||||||
</Step>
|
</Step>
|
||||||
</Process>
|
</Process>
|
||||||
|
|
||||||
<Process id="2004" processName="更换作业" processDes="">
|
<Process id="" processName="更换作业" processDes="">
|
||||||
<Step id="3010" subProcessName="断开电源并验电" isPrecondition="FALSE" precondition="" tipTitle="" tips="请先断电,并使用验电笔进行三步验电法">
|
<Step id="" subProcessName="断开电源并验电" isPrecondition="FALSE" precondition="" tipTitle="" tips="请先断电,并使用验电笔进行三步验电法">
|
||||||
<operation id="" subProcessStepName="断开电源并验电" isPrecondition="" precondition="Site" triggerID="空开2,背包按钮,验电笔,验电笔+in开关_螺丝1,验电笔+in开关_螺丝2,验电笔+in开关_螺丝3" tipTitle="断电并拿取验电笔验电" score=""></operation>
|
<operation id="" subProcessStepName="断开电源并验电" isPrecondition="" precondition="Site" triggerID="空开2,背包按钮,验电笔,验电笔+in开关_螺丝1,验电笔+in开关_螺丝2,验电笔+in开关_螺丝3" tipTitle="断电并拿取验电笔验电" score=""></operation>
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3011" subProcessName="核对和抄录计量设备信息" isPrecondition="FALSE" precondition="" tipTitle="" tips="请在拆表前记录并保存当前示数,并核对电能表铭牌内容和有效检验合格标志">
|
<Step id="" subProcessName="核对和抄录计量设备信息" isPrecondition="FALSE" precondition="" tipTitle="" tips="请在拆表前记录并保存当前示数,并核对电能表铭牌内容和有效检验合格标志">
|
||||||
<operation id="" subProcessStepName="核对和抄录计量设备信息" isPrecondition="" precondition="Site" triggerID="电能表铭牌" tipTitle="点击记录" score=""></operation>
|
<operation id="" subProcessStepName="核对和抄录计量设备信息" isPrecondition="" precondition="Site" triggerID="电能表铭牌" tipTitle="点击记录" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3012" subProcessName="拆除电能计量装置" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求拆除电能计量装置">
|
<Step id="" subProcessName="拆除电能计量装置" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求拆除电能计量装置">
|
||||||
<operation id="" subProcessStepName="拆除电能计量螺丝" isPrecondition="" precondition="Site" triggerID="背包按钮,
|
<operation id="" subProcessStepName="拆除电能计量螺丝" isPrecondition="" precondition="Site" triggerID="背包按钮,
|
||||||
绝缘螺丝刀,
|
绝缘螺丝刀,
|
||||||
A_in_螺丝up,A_in_螺丝down,A_in_线,
|
A_in_螺丝up,A_in_螺丝down,A_in_线,
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
<operation id="" subProcessStepName="拆除电能计量装置" isPrecondition="" precondition="Site" triggerID="电能表区域碰撞" tipTitle="请拆除设备" score=""></operation>
|
<operation id="" subProcessStepName="拆除电能计量装置" isPrecondition="" precondition="Site" triggerID="电能表区域碰撞" tipTitle="请拆除设备" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3013" subProcessName="安装电能表" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求安装电能表">
|
<Step id="" subProcessName="安装电能表" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求安装电能表">
|
||||||
<operation id="" subProcessStepName="拿取安装电能表" isPrecondition="" precondition="Site" triggerID="背包按钮,三相四线电能表,电能表区域碰撞" tipTitle="请打开背包拿取设备" score=""></operation>
|
<operation id="" subProcessStepName="拿取安装电能表" isPrecondition="" precondition="Site" triggerID="背包按钮,三相四线电能表,电能表区域碰撞" tipTitle="请打开背包拿取设备" score=""></operation>
|
||||||
<operation id="" subProcessStepName="安装电能表" isPrecondition="" precondition="Site" triggerID="背包按钮,
|
<operation id="" subProcessStepName="安装电能表" isPrecondition="" precondition="Site" triggerID="背包按钮,
|
||||||
绝缘螺丝刀,
|
绝缘螺丝刀,
|
||||||
|
@ -97,11 +97,11 @@
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3014" subProcessName="安装检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请检查接线是否正确">
|
<Step id="" subProcessName="安装检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请检查接线是否正确">
|
||||||
<operation id="" subProcessStepName="安装检查" isPrecondition="" precondition="Site" triggerID="检查接线" tipTitle="请点击接线处" score=""></operation>
|
<operation id="" subProcessStepName="安装检查" isPrecondition="" precondition="Site" triggerID="检查接线" tipTitle="请点击接线处" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3015" subProcessName="现场通电及检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求进行通电及检查">
|
<Step id="" subProcessName="现场通电及检查" isPrecondition="FALSE" precondition="" tipTitle="" tips="请按要求进行通电及检查">
|
||||||
<operation id="" subProcessStepName="现场通电" isPrecondition="" precondition="Site" triggerID="空开2" tipTitle="请合上空开" score=""></operation>
|
<operation id="" subProcessStepName="现场通电" isPrecondition="" precondition="Site" triggerID="空开2" tipTitle="请合上空开" score=""></operation>
|
||||||
<operation id="" subProcessStepName="现场检查通电" isPrecondition="" precondition="Site" triggerID="背包按钮,验电笔,验电笔+A_in_螺丝up,验电笔+B_in_螺丝up,验电笔+C_in_螺丝up" tipTitle="请拿出验电笔检查" score=""></operation>
|
<operation id="" subProcessStepName="现场检查通电" isPrecondition="" precondition="Site" triggerID="背包按钮,验电笔,验电笔+A_in_螺丝up,验电笔+B_in_螺丝up,验电笔+C_in_螺丝up" tipTitle="请拿出验电笔检查" score=""></operation>
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
|
@ -110,19 +110,19 @@
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3016" subProcessName="实施封印" isPrecondition="FALSE" precondition="" tipTitle="" tips="请对电能表、计量箱(柜)加封">
|
<Step id="" subProcessName="实施封印" isPrecondition="FALSE" precondition="" tipTitle="" tips="请对电能表、计量箱(柜)加封">
|
||||||
<operation id="" subProcessStepName="实施封印" isPrecondition="" precondition="Site" triggerID="背包按钮,盒装封印,电能表盖子固定螺丝1,电能表盖子固定螺丝2" tipTitle="请加装封印" score=""></operation>
|
<operation id="" subProcessStepName="实施封印" isPrecondition="" precondition="Site" triggerID="背包按钮,盒装封印,电能表盖子固定螺丝1,电能表盖子固定螺丝2" tipTitle="请加装封印" score=""></operation>
|
||||||
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
<operation id="" subProcessStepName="收回工具" isPrecondition="" precondition="Site" triggerID="收回工具" tipTitle="请收回工具" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step id="3017" subProcessName="填写告知单" isPrecondition="FALSE" precondition="" tipTitle="" tips="请填写正确的结果告知单">
|
<Step id="" subProcessName="填写告知单" isPrecondition="FALSE" precondition="" tipTitle="" tips="请填写正确的结果告知单">
|
||||||
<operation id="" subProcessStepName="填写告知单" isPrecondition="" precondition="Site" triggerID="告知单按钮" tipTitle="请填写任务单" score=""></operation>
|
<operation id="" subProcessStepName="填写告知单" isPrecondition="" precondition="Site" triggerID="告知单按钮" tipTitle="请填写任务单" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
</Process>
|
</Process>
|
||||||
|
|
||||||
<Process id="2005" processName="收工" processDes="">
|
<Process id="" processName="收工" processDes="">
|
||||||
<Step id="3018" subProcessName="清理现场" isPrecondition="FALSE" precondition="" tipTitle="" tips="请把工器具收回背包并清理现场">
|
<Step id="" subProcessName="清理现场" isPrecondition="FALSE" precondition="" tipTitle="" tips="请把工器具收回背包并清理现场">
|
||||||
<operation id="" subProcessStepName="清理现场" isPrecondition="" precondition="Site" triggerID="垃圾" tipTitle="请清理现场" score=""></operation>
|
<operation id="" subProcessStepName="清理现场" isPrecondition="" precondition="Site" triggerID="垃圾" tipTitle="请清理现场" score=""></operation>
|
||||||
</Step>
|
</Step>
|
||||||
</Process>
|
</Process>
|
||||||
|
|
Loading…
Reference in New Issue