12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- /// <summary>
- /// 机房巡检步骤上报
- /// </summary>
- [Serializable]
- public class InspectionInfo
- {
- public int id; // 本次巡检ID
- public Dictionary<string,InspectionItem> items;
- public Dictionary<string,InspectionStep> steps;
- }
- /// <summary>
- /// 机房巡检步骤上报---items
- /// </summary>
- [Serializable]
- public class InspectionItem
- {
- public string name; // 巡检项名称
- public string question; // 巡检项的问题
- public string[] label; // 标签列表
- }
- /// <summary>
- /// 机房巡检步骤上报---steps
- /// </summary>
- [Serializable]
- public class InspectionStep
- {
- public bool normal; // 是否正常
- public string outliers; // 标签信息
- public int[] images; // 图片
- }
- /// <summary>
- /// 机房巡检步骤上报
- /// </summary>
- [Serializable]
- public class InspectionStepSet
- {
- public int itemId; // 检查项目的编号 1-12
- public bool normal; // 是否正常
- public string outliers; // 标签
- public int inspectionId; // 巡检编号,巡检开始时返回的id
- public string[] imageIds; // 图片文件ID 最多三个
- }
|