using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using static LangChaoJiekou; using UnityEngine.UI; using System.IO; using LitJson; using Newtonsoft.Json; using Newtonsoft.Json.Linq; public class XunJianDetails : MonoBehaviour { public TMP_Text xjName; public List listImages; public Button normalBtn; public Button WarningBtn; public Image normalBG1; public Image normalBG2; public Image warningBG1; public Image WarningBG2; public XunJianException exception; public Button lastBtn; public Button nextBtn; public Button completeBtn; public XunJianPhotos UI2; private Image showImage; private int showImageNum; public Sprite startImg; public Sprite loadImg; private RoomItem data; private RoomItem oldData; #region 巡检更新项 public bool isUpdata; private List listImageUrl; // 图片 private string recordMemo; // 巡检备注 private string recordStatus;// 1-正常 0-异常 #endregion private void Start() { for (int i = 0; i < listImages.Count; i++) { listImages[i].GetComponent