public void XiWeiClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("洗胃"); CreateJiZhenRecord(true); XiWeiAnim(); AllNeedUI.Instance.ZhiLiaoPanel.SetActive(false); //AllNeedUI.Instance.KnowledgePanel.SetActive(true); ReduceLeftNum(); MonoWay.Instance.OpenTip("请进行气管插管治疗"); break; case 2: OperateRecordItem.Init("洗胃"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; default: OperateRecordItem.Init("洗胃"); ZhiLiaoTip1(); CreateWrongRecord("洗胃"); break; } }
public void NiaoJianClick() { if (AllStaticVariable.JianChaTime == -2 || AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("尿液检查"); TiChaTip5(); return; } if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); return; } else { if (IsNiaoJian == true) { TiChaTip1(); return; } OperateRecordItem.Init("尿液检查"); IsNiaoJian = true; TiChaTip1(); CreateWrongRecord("尿液检查"); } }
public void XCheckClick() { if (AllStaticVariable.JianChaTime == -2 || AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("X光检查"); TiChaTip5(); return; } if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); return; } if (IsXCheck == false) { OperateRecordItem.Init("X光检查"); IsXCheck = true; CreateWrongRecord("X光检查"); TiChaTip1(); } else { TiChaTip1(); } }
public void CTCheckClick() { print(AllStaticVariable.JianChaTime); if (AllStaticVariable.JianChaTime == -2) { TiChaTip1(); return; } if (AllStaticVariable.JianChaTime == -1) { if (IsCTCheck == true) { TiChaTip2(); return; } IsCTCheck = true; CTAnim(); MonoWay.Instance.CloseTip(); OperateRecordItem.Init("CT检查"); ReduceLeftNum(); AllNeedUI.Instance.ChaTiPanel.SetActive(false); AllNeedUI.Instance.XueJianWarning.SetActive(true); AllNeedUI.Instance.CTScanWarning.SetActive(true); return; } else if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); } else if (AllStaticVariable.JianChaTime == 3) { if (IsCTCheck) { TiChaTip2(); } else { IsCTCheck = true; CTAnim(); AllNeedUI.Instance.CtReport2.SetActive(true); OperateRecordItem.Init("CT检查"); CreateBodyResult.Day7Item8(); ReduceLeftNum(); OpenZhiLiao(); AllNeedUI.Instance.CtReport2.SetActive(true); } } else if (AllStaticVariable.JianChaTime >= 0 && AllStaticVariable.JianChaTime < 6) { if (!IsCTCheck) { TiChaTip1(); return; } IsCTCheck = true; TiChaTip1(); OperateRecordItem.Init("CT检查"); CreateWrongRecord("CT检查"); } }
public void BiDaoGuanClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("鼻导管给氧"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: OperateRecordItem.Init("鼻导管给氧"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; case 6: OperateRecordItem.Init("鼻导管给氧"); ZhiLiaoTip1(); break; default: OperateRecordItem.Init("鼻导管给氧"); CreateWrongRecord("鼻导管给氧"); ZhiLiaoTip4(); break; } }
public void XueYangBaoHeClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("血氧饱和度"); TiChaTip5(); return; } if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); return; } if (IsXueYangBaoHe == false) { switch (AllStaticVariable.JianChaTime) { case -2: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day0Item3(); break; case 0: CreateBodyResult.Day1Item7(); break; case 1: CreateBodyResult.Day2Item3(); break; case 2: CreateBodyResult.Day3Item3(); break; case 3: CreateBodyResult.Day7Item3(); break; case 4: CreateBodyResult.Day8Item3(); break; case 5: CreateBodyResult.Day8Item9(); break; } OperateRecordItem.Init("血氧饱和度"); XueYangAnim(); MonoWay.Instance.OpenBingQingResult(); IsXueYangBaoHe = true; } else { TiChaTip2(); } }
public void TiWenClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("量体温"); TiChaTip5(); return; } if (IsTiWen == false) { switch (AllStaticVariable.JianChaTime) { case -2: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day0Item1(); break; case 0: CreateBodyResult.Day1Item5(); break; case 1: CreateBodyResult.Day2Item1(); break; case 2: CreateBodyResult.Day3Item1(); break; case 3: CreateBodyResult.Day7Item1(); break; case 4: CreateBodyResult.Day8Item1(); break; case 5: CreateBodyResult.Day8Item7(); break; case 6: CreateBodyResult.LongAfterItem3(); ReduceLeftNum(); break; } CloseChaTi(); OperateRecordItem.Init("量体温"); TiWenAnim(); IsTiWen = true; } else { TiChaTip2(); } }
public void YingYangClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("营养支持"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: OperateRecordItem.Init("营养支持"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; case 6: if (IsYingYang == false) { OperateRecordItem.Init("营养支持"); YingYangAnim(); IsYingYang = true; } else { ZhiLiaoTip1(); } break; case 21: ZhiLiaoTip10(); break; default: if (IsYingYang == false) { ReduceLeftNum(); EndTodayJob(); YingYangAnim(); if (AllStaticVariable.ZhiLiaoTime == 7) { OccurScore46(); } OperateRecordItem.Init("营养支持"); IsYingYang = true; CreateRightRecord(); } else { ZhiLiaoTip1(); } break; } }
//打开预检报告 public void openYuJianReport() { if (AllStaticVariable.WarningTime == 0) { CamMove.Instance.MoveCamto(0); } OperateRecordItem.Init("查看预检报告"); AllNeedUI.Instance.yuJianBaoGao.SetActive(true); AllNeedUI.Instance.YuJianWarning.SetActive(false); }
public void JiZhenClick() { if (AllStaticVariable.ZhiLiaoTime == 0) { QuestionBank.scorePoint3(); OperateRecordItem.Init("急诊分诊"); CreateFenZhenRecord(true); CloseZhiLiao(); RefreshZhiLiao(); ReduceLeftNum(); } }
public void XinLiClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("心理干预"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: OperateRecordItem.Init("心理干预"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; case 3: case 4: case 5: case 21: ZhiLiaoTip2(); CreateWrongRecord("心理干预"); break; default: if (IsXinLi == false) { OperateRecordItem.Init("心理干预"); CreateRightRecord(); XinLiAnim(); ReduceLeftNum(); EndTodayJob(); IsXinLi = true; if (AllStaticVariable.ZhiLiaoTime == 6) { OccurEmergency(); } if (AllStaticVariable.ZhiLiaoTime == 7) { OccurScore46(); } } else { ZhiLiaoTip1(); } break; } }
public void XueTouClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: ZhiLiaoTip10(); break; case 2: if (!IsXueTou) { if (IsYaoWu) { OperateRecordItem.Init("血透置管"); CreateRightRecord(); XueTouAnim(); ReduceLeftNum(); IsXueTou = true; Transform[] item1 = { AllNeedUI.Instance.ZhiLiaoItems[7] }; MonoWay.Instance.PreferItem(item1); AllNeedUI.Instance.ZhiLiaoPanel.SetActive(false); AllStaticVariable.JianChaTime = -1; AllNeedUI.Instance.ChaTiLeftLabel.text = "1"; Transform[] item2 = { AllNeedUI.Instance.ChaTiItems[7] }; MonoWay.Instance.PreferItem(item2); MonoWay.Instance.OpenTip("请进行CT检查"); } else { OperateRecordItem.Init("血透置管"); CreateJiZhenRecord(false); ZhiLiaoTip9(); } } else { ZhiLiaoTip1(); } break; default: OperateRecordItem.Init("血透置管"); ZhiLiaoTip1(); CreateWrongRecord("血透置管"); break; } }
public void TongKongCheckClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("瞳孔检查"); TiChaTip5(); return; } if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); return; } if (IsTongKongCheck == false) { if (AllStaticVariable.JianChaTime == 0) { print("得分"); ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day1Item10(); } if (AllStaticVariable.JianChaTime == 2) { ReduceLeftNum(); OpenZhiLiao(); OccurScore33(); CreateBodyResult.Day3Item7(); } OperateRecordItem.Init("瞳孔检查"); if (AllStaticVariable.JianChaTime == -2) { TongKongAnim3(); } else if (AllStaticVariable.JianChaTime == 0 || AllStaticVariable.JianChaTime == 1 || AllStaticVariable.JianChaTime == 2) { TongKongAnim2(); } else { TongKongAnim1(); } MonoWay.Instance.OpenBingQingResult(); IsTongKongCheck = true; } else { TiChaTip2(); } }
//接任务按钮 public void ReceivePatient() { //打开音效 AllNeedUI.Instance.BgNoise.gameObject.SetActive(true); AllNeedUI.Instance.FastAudio.enabled = true; AllNeedUI.Instance.StarProgress.GetComponent <RectTransform>().sizeDelta += new Vector2(128 / 7, 0); AllStaticVariable.CostTime = Time.time; OperateRecordItem.Init("接待病患"); MissionBtn.GetComponent <Toggle>().enabled = false; CamMove.Instance.MoveCamto(0); AllNeedUI.Instance.TuiChePanel.SetActive(true); AllNeedUI.Instance.KaiChangDoctor.SetActive(false); AllNeedUI.Instance.JieZhenDoc.SetActive(true); AllNeedUI.Instance.missionList.SetActive(false); StartCoroutine(OccurWarning1()); }
public void QiGuanClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("气管插管"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: if (!IsQiGuan) { //进入室内,噪音减小 IsQiGuan = true; AllNeedUI.Instance.XiWeiBg.SetActive(false); AllNeedUI.Instance.BgNoise.volume = 0.12f; OperateRecordItem.Init("气管插管"); MonoWay.Instance.CloseTip(); CreateJiZhenRecord(true); QiGuanAnim(); AllNeedUI.Instance.JiZhenBingRen.SetActive(true); CamMove.Instance.MoveCamto(5); AllNeedUI.Instance.ZouLangWenZhen.SetActive(false); QuestionBank.scorePoint15(); CloseZhiLiao(); ReduceLeftNum(); } else { ZhiLiaoTip1(); } break; default: OperateRecordItem.Init("气管插管"); ZhiLiaoTip1(); CreateWrongRecord("气管插管"); break; } }
public void HuXiQiuNangClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("连接呼吸球囊"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: OperateRecordItem.Init("连接呼吸球囊"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; case 21: if (!IsHuXiQiNang) { print("出现球囊"); AllNeedUI.Instance.HuXiQiuNang.SetActive(true); ReduceLeftNum(); if (AllNeedUI.Instance.ZhiLiaoLeftLabel.text == "0") { AllNeedUI.Instance.XueJianWarning.SetActive(true); AllNeedUI.Instance.CTScanWarning.SetActive(true); } IsHuXiQiNang = true; } else { ZhiLiaoTip1(); } break; default: ZhiLiaoTip10(); break; } }
public void HuXiJiClick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("连接呼吸机"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: OperateRecordItem.Init("连接呼吸机"); CreateJiZhenRecord(false); ZhiLiaoTip9(); break; case 3: if (!IsHuXiJi) { print("出现呼吸机"); AllNeedUI.Instance.QiGuan.SetActive(true); AllNeedUI.Instance.HuXiQiuNangICU.SetActive(false); AllNeedUI.Instance.NoUseHuXiJi.SetActive(false); ReduceLeftNum(); EndTodayJob(); IsHuXiJi = true; } else { ZhiLiaoTip1(); } break; default: ZhiLiaoTip10(); break; } }
public void ChuZhenClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("触诊"); TiChaTip5(); return; } if (AllStaticVariable.JianChaTime == 6) { TiChaTip1(); return; } if (IsChuZhen == false) { if (AllStaticVariable.JianChaTime == 0) { ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day1Item12(); } else if (AllStaticVariable.JianChaTime == -2) { ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day0Item5(); } //CloseChaTi(); OperateRecordItem.Init("触诊"); IsChuZhen = true; ChuZhenAnim(); MonoWay.Instance.OpenBingQingResult(); } else { TiChaTip2(); } }
//打开病史采集 public void OpenBingShiCollect() { if (AllNeedUI.Instance.mainMenuToggles[2].GetComponent <Toggle>().isOn) { //if (AllStaticVariable.wenZhenTime == 1 && !AllStaticVariable.IsCreateRecord1) //{ // CreateBodyResult.Day1Item4(); // AllStaticVariable.IsCreateRecord1 = true; //} //病人未醒与家属对话 if (AllStaticVariable.wenZhenTime > 1 && !AllStaticVariable.IsRemoveBDG) { CamMove.Instance.MoveCamto(4); } if (AllStaticVariable.wenZhenTime == 8 && !AllStaticVariable.IsCreateRecord2) { CreateBodyResult.Day8Item12(); AllStaticVariable.IsCreateRecord2 = true; } AllNeedUI.Instance.mainMenuToggles[1].GetComponent <Toggle>().isOn = false; AllNeedUI.Instance.mainMenuToggles[0].GetComponent <Toggle>().isOn = false; AllNeedUI.Instance.mainMenuToggles[3].GetComponent <Toggle>().isOn = false; AllNeedUI.Instance.mainMenuToggles[4].GetComponent <Toggle>().isOn = false; OperateRecordItem.Init("病史采集"); AllNeedUI.Instance.BingQingRecord.SetActive(false); AllNeedUI.Instance.missionList.SetActive(false); AllNeedUI.Instance.BingShiCollect.SetActive(true); AllNeedUI.Instance.ChaTiPanel.SetActive(false); AllNeedUI.Instance.ZhiLiaoPanel.SetActive(false); DestroyChildrenOfCanvas(); } else { AllNeedUI.Instance.BingShiCollect.SetActive(false); } }
public void BloodCheckClick() { if (AllStaticVariable.JianChaTime == -2) { if (IsBloodCheck == true) { TiChaTip2(); return; } IsBloodCheck = true; ReduceLeftNum(); OpenZhiLiao(); OperateRecordItem.Init("血液检查"); BloodAnim(); return; } if (AllStaticVariable.JianChaTime == -1) { TiChaTip1(); return; } if (IsBloodCheck == true) { TiChaTip2(); } else { switch (AllStaticVariable.JianChaTime) { case 1: CreateBodyResult.Day2Item8(); ReduceLeftNum(); OpenZhiLiao(); AllNeedUI.Instance.xueJianReport2.SetActive(true); if (AllNeedUI.Instance.ChaTiLeftLabel.text == "0") { AllNeedUI.Instance.XueYeJingHuaWarning.SetActive(true); } break; case 2: CreateBodyResult.Day3Item9(); ReduceLeftNum(); OpenZhiLiao(); OccurScore33(); AllNeedUI.Instance.xueJianReport3.SetActive(true); break; case 3: CreateBodyResult.Day7Item7(); ReduceLeftNum(); OpenZhiLiao(); AllNeedUI.Instance.xueJianReport4.SetActive(true); break; case 4: ReduceLeftNum(); OpenZhiLiao(); break; case 5: TiChaTip2(); return; case 6: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.LongAfterItem5(); AllNeedUI.Instance.xueJianReport5.SetActive(true); break; } OperateRecordItem.Init("血液检查"); BloodAnim(); MonoWay.Instance.OpenBingQingResult(); IsBloodCheck = true; } }
public void TingZhenClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("听诊"); TiChaTip5(); return; } if (IsTingZhen == false) { switch (AllStaticVariable.JianChaTime) { case -2: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day0Item7(); CreateBodyResult.Day0Item8(); CreateBodyResult.Day0Item6(); break; case 0: CreateBodyResult.Day1Item11(); CreateBodyResult.Day1Item8(); CreateBodyResult.Day1Item9(); ReduceLeftNum(); OpenZhiLiao(); break; case 1: CreateBodyResult.Day2Item4(); CreateBodyResult.Day2Item5(); break; case 2: CreateBodyResult.Day3Item8(); CreateBodyResult.Day3Item4(); CreateBodyResult.Day3Item5(); ReduceLeftNum(); OpenZhiLiao(); //StartCoroutine(JumpQuestionAfterTing()); break; case 3: CreateBodyResult.Day7Item2(); CreateBodyResult.Day7Item4(); break; case 4: CreateBodyResult.Day8Item2(); CreateBodyResult.Day8Item5(); break; case 5: CreateBodyResult.Day8Item8(); CreateBodyResult.Day8Item11(); break; case 6: CreateBodyResult.LongAfterItem2(); ReduceLeftNum(); OpenZhiLiao(); break; } CloseChaTi(); OperateRecordItem.Init("听诊"); TingZhenAnim(); IsTingZhen = true; } else { TiChaTip2(); } }
public void YaoWulick() { switch (AllStaticVariable.ZhiLiaoTime) { case 1: OperateRecordItem.Init("营养支持"); CreateJiZhenRecord(false); string text = "未按正确诊断治疗导致病患病情加重最终导致病患死亡。"; FailPanel.Init(text); break; case 2: if (!IsYaoWu) { if (IsQiGuan) { OperateRecordItem.Init("药物治疗"); ReduceLeftNum(); CreateYaoPin(); IsYaoWu = true; CreateRightRecord(); Transform[] item7 = { AllNeedUI.Instance.ZhiLiaoItems[4] }; MonoWay.Instance.PreferItem(item7); AllNeedUI.Instance.ZhiLiaoPanel.SetActive(false); MonoWay.Instance.CloseTip(); //MonoWay.Instance.OpenTip("请进行患者洗胃"); } else { ZhiLiaoTip10(); } } else { ZhiLiaoTip1(); } break; case 3: if (IsYaoWu == false) { OperateRecordItem.Init("药物治疗"); CreateYaoPin(); IsYaoWu = true; ReduceLeftNum(); CreateRightRecord(); } else { ZhiLiaoTip1(); } break; case 21: if (IsYaoWu == false) { OperateRecordItem.Init("药物治疗"); CreateYaoPin(); IsYaoWu = true; ReduceLeftNum(); CreateRightRecord(); } else { ZhiLiaoTip1(); } break; default: if (IsYaoWu == false) { OperateRecordItem.Init("药物治疗"); CreateYaoPin(); IsYaoWu = true; ReduceLeftNum(); EndTodayJob(); CreateRightRecord(); } else { ZhiLiaoTip1(); } break; } }
public void XueYaClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("量血压"); TiChaTip5(); return; } if (IsXueYa == false) { switch (AllStaticVariable.JianChaTime) { case -2: ReduceLeftNum(); OpenZhiLiao(); OperateRecordItem.Init("量血压"); MonoWay.Instance.OpenBingQingResult(); IsXueYa = true; CreateBodyResult.Day0Item2(); return; case 0: CreateBodyResult.Day1Item6(); break; case 1: CreateBodyResult.Day2Item2(); break; case 2: CreateBodyResult.Day3Item2(); break; case 3: CreateBodyResult.Day7Item5(); break; case 4: CreateBodyResult.Day8Item4(); break; case 5: CreateBodyResult.Day8Item10(); break; case 6: CreateBodyResult.LongAfterItem4(); OperateRecordItem.Init("量血压"); MonoWay.Instance.OpenBingQingResult(); IsXueYa = true; ReduceLeftNum(); return; } OperateRecordItem.Init("量血压"); XueYaAnim(); MonoWay.Instance.OpenBingQingResult(); IsXueYa = true; } else { TiChaTip2(); } }
public void ShiZhenClick() { if (AllStaticVariable.JianChaTime == -1) { OperateRecordItem.Init("视诊"); TiChaTip5(); return; } if (IsShiZhen == false) { switch (AllStaticVariable.JianChaTime) { case -2: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day0Item4(); break; case 0: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day1Item13(); break; case 1: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day2Item6(); CreateBodyResult.Day2Item7(); LoadCheckTalk(); break; case 2: CreateBodyResult.Day3Item6(); //StartCoroutine(JumpQuestion()); LoadCheckTalk(); break; case 3: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day7Item6(); LoadCheckTalk(); break; case 4: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day8Item6(); break; case 5: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.Day8Item13(); break; case 6: ReduceLeftNum(); OpenZhiLiao(); CreateBodyResult.LongAfterItem1(); break; } OperateRecordItem.Init("视诊"); IsShiZhen = true; ShiZhenAnim(); } else { TiChaTip2(); } }