64 lines
1.4 KiB
C#
64 lines
1.4 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DefaultNamespace.ProcessMode;
|
|
using Framework.Manager;
|
|
using MotionFramework;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 箱式开闭所借用物资领料出库系统操作
|
|
/// </summary>
|
|
public class SwitchgearMaterialOutboundServiceManager : MonoBehaviour
|
|
{
|
|
public InputField gongchang;
|
|
public InputField guozhangriqi;
|
|
public Button chaxun;
|
|
|
|
|
|
|
|
public GameObject plane1;
|
|
public GameObject plane2;
|
|
public GameObject plane3;
|
|
|
|
|
|
public Button dayinchukudan;
|
|
void Start()
|
|
{
|
|
chaxun.onClick.AddListener(delegate
|
|
{
|
|
List<string> list = new List<string>();
|
|
list.Add(gongchang.text);
|
|
list.Add(guozhangriqi.text);
|
|
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{
|
|
|
|
|
|
plane1.SetActive(false);
|
|
plane2.SetActive(true);
|
|
TutorialGuideManager.Instance.TriggerNextGuide();
|
|
}
|
|
});
|
|
|
|
|
|
dayinchukudan.onClick.AddListener(delegate
|
|
{
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(new List<string>
|
|
{
|
|
"出库单"
|
|
}))
|
|
{
|
|
|
|
TutorialGuideManager.Instance.TriggerNextGuide();
|
|
}
|
|
});
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|