using System.Collections.Generic; using UnityEngine; [System.Serializable] public class DeviceInfor { /// /// 设备类型 /// [Header("设备类型")] public DeviceType devtype; /// /// 端口位置集 /// [Header("端口位置集")] public List ports=new List(); /// /// 区域 /// [Header("区域")] public string area; /// /// 列 /// [Header("列")] public string row; /// /// 层 /// [Header("层")] public string tier; /// /// 当前设备所有端口线的信息 /// public List> lineInfors; } /// /// 当前设备类型 /// public enum DeviceType { dev1, dev2, dev3 } public class Contact { public List strings; }