82 lines
1.3 KiB
C#
82 lines
1.3 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// ²éѯѲ¼ì½á¹û
|
|
/// </summary>
|
|
public class QueryInspectionRobot : MonoBehaviour
|
|
{
|
|
public static QueryInspectionRobot Inst;
|
|
public Root myroot = new Root();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void Awake()
|
|
{
|
|
Inst = this;
|
|
}
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
public class Data
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int id;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string inspectionResult;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string instructId;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string createTime;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Root
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string code;
|
|
/// <summary>
|
|
/// ²Ù×÷³É¹¦
|
|
/// </summary>
|
|
public string message;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public List<Data> data;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string serverTime;
|
|
}
|
|
|
|
}
|