using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 房间/场景服务器参数组 /// public class MachineRoomData { /// /// 行 /// public int line { get; set; } /// /// 列 /// public int list { get; set; } /// /// 间隔宽 /// public float intervalW { get; set; } /// /// 间隔长 /// public float intervalL { get; set; } /// /// 机柜宽 /// public float cabinetW { get; set; } /// /// 机柜高 /// public float cabinetH { get; set; } public int bladeSeverNumber { get; set; }// 每台服务器上刀片机数量 public float bIntervalH { get; set; } // 刀片机之间的间隔高度 public float firstBladeSeverH { get; set; }// 第一台刀片机在机柜内的初始高度 // public float bIntervalL { get; set; } public float tagOffestPosY { get; set; } /// /// 可视范围 /// public float cameraFar { get; set; } /// /// 机房名字 /// public string roomName { get; set; } /// /// 总容量 (U) /// public float totalCapacity { get; set; } /// /// 已使用容量(U) /// public float usedCapacity { get; set; } /// /// 总功耗(KW) /// public float totalPower { get; set; } /// /// 已使用功耗(KW) /// public float usedPower { get; set; } /// /// 总承重(T) /// public float totalLoadBearing { get; set; } /// /// 已使用承重(T) /// public float usedBearing { get; set; } public List listTagData { get; set; } public List listEquipmentData { get; set; } public List listAlarmData { get; set; } } /// /// 机柜信息 /// public class MachineParameters { /// /// 设备ID /// public string deviceId { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备识别TagID /// public int tagID { get; set; } /// /// 显示的UI相对于Mark的偏移值 /// public Vector3 offsetPos { get; set; } /// /// X轴(1、-1)Y轴(2、-2)Z轴(3 、-3)整数为正向旋转 负树为反向旋转 UI的Y轴相对于Mark的轴向 当前默认都为3 /// public int eulerAxle { get; set; } /// /// 承载系统 /// public string carryingSystem { get; set; } /// /// 设备位置 /// public string deviceLocation { get; set; } /// /// 设备类别 /// public string equipmentType { get; set; } /// /// 设备型号 /// public string equipmentModel { get; set; } /// /// 厂家 /// public string factory { get; set; } /// /// 规格 /// public string specification { get; set; } public string alarmLevel { get; set; } public string alarmTimes { get; set; } public List listDevicesParameters { get; set; } } /// /// 刀片机设备信息 /// public class DeviceParameters3 { /// /// 设备ID /// public int deviceId { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备型号 /// public string deviceModel { get; set; } /// /// 设备类型 /// public string deviceType { get; set; } /// /// 资产标签号 /// public string assetTagNumber { get; set; } /// /// 序列号 /// public string serialNumber { get; set; } /// /// 设备编码 /// public string equipmentNumber { get; set; } /// /// 资产状态 /// public string assetStatus { get; set; } /// /// 设备状态 /// public string deviceStatus { get; set; } /// /// 交付日期 /// public string deliveryData { get; set; } /// /// 启用日期 /// public string enabledDate { get; set; } /// /// 服务器使用类型 /// public string serverUsageType { get; set; } /// /// 典配模型 /// public string typicalModel { get; set; } /// /// 设备品牌 /// public string equipmentBrand { get; set; } /// /// 生产厂商 /// public string manufacturer { get; set; } /// /// 设备重量(KG) /// public float equipmentWeight { get; set; } /// /// 设备功率(W) /// public float equipmentPower { get; set; } /// /// 产地类型 /// public string originType { get; set; } /// /// 集采目录产品名称 /// public string collectionCPName { get; set; } /// /// 所在资源池 /// public string resourcePool { get; set; } /// /// 所在POD /// public string wherePOD { get; set; } /// /// 所在网络域 /// public string networkDomain { get; set; } /// /// 所在城市 /// public string city { get; set; } /// /// 所在楼宇 /// public string building { get; set; } /// /// 所在楼层 /// public string floor { get; set; } /// /// 所在机房名称 /// public string computerRoomName { get; set; } /// /// 所在机房编码 /// public string computerRoomCoding { get; set; } /// /// 机柜编号 /// public string cabinetNumber { get; set; } /// /// U位信息 /// public string uMessage { get; set; } /// /// 设备朝向 /// public string deviceOrientation { get; set; } /// /// 管理IP /// public string manageIP { get; set; } /// /// 存储IP /// public string saveIP { get; set; } /// /// IPMIP /// public string iPMIIP { get; set; } /// /// 业务IP /// public string businessIP { get; set; } /// /// 项目名称 /// public string projectName { get; set; } /// /// 设备供货商 /// public string equipmentSupplier { get; set; } /// /// 资产责任人 /// public string assetOwner { get; set; } /// /// 属地省资产负责人 /// public string territorialPAManager { get; set; } /// /// 设备归属组织 /// public string equipmentBTTOrganization { get; set; } /// /// 设备管理组织 /// public string facilityManagementOrganization { get; set; } /// /// 设备维护组织 /// public string equipmentMaintenanceOrganization { get; set; } /// /// 业务系统 /// public string businessSystem { get; set; } } /// /// 刀片机设备信息 /// public class DeviceParameters { /// /// 设备ID /// public string id { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备型号 /// public string deviceModel { get; set; } /// /// 设备类型 /// public string deviceType { get; set; } /// /// 资产标签号 /// public string assetNumber { get; set; } /// /// 序列号 /// public string serialNumber { get; set; } /// /// 设备编码 /// public string deviceNumber { get; set; } /// /// 资产状态 /// public string assetStatus { get; set; } /// /// 设备状态 /// public string deviceStatus { get; set; } /// /// 交付日期 /// public string deliveryDate { get; set; } /// /// 启用日期 /// public string activationDate { get; set; } /// /// 服务器使用类型 /// public string serverUsageType { get; set; } /// /// 典配模型 /// public string typical { get; set; } /// /// 设备品牌 /// public string deviceBrand { get; set; } /// /// 生产厂商 /// public string manufacturer { get; set; } /// /// 设备重量(KG) /// public string eight { get; set; } /// /// 设备功率(W) /// public string power { get; set; } /// /// 产地类型 /// public string origin { get; set; } /// /// 集采目录产品名称 /// public string catalogProductName { get; set; } /// /// 所在资源池 /// public string resourcePool { get; set; } /// /// 所在POD /// public string pod { get; set; } /// /// 所在网络域 /// public string network { get; set; } /// /// 设备重要级别 /// public string importanceLevel { get; set; } /// /// 成套设备编码 /// public string completeEquipmentCode { get; set; } /// /// 是否有RFID标签 /// public string RFID { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 所在城市 /// public string province { get; set; } /// /// 所在楼宇 /// public string building { get; set; } /// /// 所在楼层 /// public string floor { get; set; } /// /// 所在机房名称 /// public string engineRoomName { get; set; } /// /// 所在机房编码 /// public string engineRoomCode { get; set; } /// /// 机柜编号 /// public string cabinetNumber { get; set; } /// /// U位信息 /// public string u { get; set; } /// /// 设备朝向 /// public string deviceOrientation { get; set; } /// /// 管理IP /// public string managementIP { get; set; } /// /// 监控ID /// public string monitoringID { get; set; } /// /// 存储IP /// public string saveIP { get; set; } /// /// IPMIP /// public string iPMIIP { get; set; } /// /// 业务IP /// public string businessIP { get; set; } /// /// 项目名称 /// public string projectName { get; set; } /// /// 项目编码 /// public string projectNumber { get; set; } /// /// 设备供货商 /// public string supplier { get; set; } /// /// 资产责任人 /// public string principal { get; set; } /// /// 属地省资产负责人 /// public string provincePrincipal { get; set; } /// /// 设备归属组织 /// public string ownershipOrganization { get; set; } /// /// 设备管理组织 /// public string managementOrganization { get; set; } /// /// 设备维护组织 /// public string maintenanceOrganization { get; set; } /// /// 设备使用组织 /// public string usageOrganization { get; set; } /// /// 业务系统 /// public string businessSystem { get; set; } /// /// 设备应用类型 /// public string applicationType { get; set; } /// /// 资源名称 /// public string resourceName { get; set; } /// /// 创建时间 /// public string createTime { get; set; } } public class BrielDeviceParmaters { /// /// 设备ID /// public string id { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备类型 /// public string deviceType { get; set; } /// /// 设备品牌 /// public string deviceBrand { get; set; } /// /// 管理IP /// public string managementIP { get; set; } } /// /// 告警信息 /// public class AlarmData { /// /// 设备ID /// public string deviceId { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 告警标题 /// public string title { get; set; } /// /// 告警级别 /// public string level { get; set; } /// /// 告警类型 /// public string type { get; set; } /// /// 设备告警时间 /// public string equipmentAlarmTime { get; set; } /// /// 设备清除告警时间 /// public string deviceClearAlarmTime { get; set; } /// /// 清除状态 /// public string clearStatus { get; set; } /// /// 定位对象类型 /// public string targetObjectType { get; set; } /// /// 承载系统 /// public string carryingSystem { get; set; } } /// /// 房间/场景Tag定位参数组 /// public class MachineRoomTagData { public int id { get; set; } public Vector3 pos { get; set; } public Vector3 rot { get; set; } public Vector3 offestPos { get; set; } public Vector3 offestrot { get; set; } // public Transform tagModel { get; set; } }