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