|
@@ -0,0 +1,102 @@
|
|
|
+using UnityEngine.UI;
|
|
|
+using Blue;
|
|
|
+using GHZLangChao;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+public class DeviceDetailsControl : AbstractController
|
|
|
+{
|
|
|
+
|
|
|
+
|
|
|
+ public Text deviceModel;
|
|
|
+ public Text deviceType;
|
|
|
+ public Text assetTagNumber;
|
|
|
+ public Text serialNumber;
|
|
|
+ public Text equipmentNumber;
|
|
|
+ public Text assetStatus;
|
|
|
+ public Text deviceStatus;
|
|
|
+ public Text deliveryData;
|
|
|
+
|
|
|
+ public Text enabledDate;
|
|
|
+ public Text serverUsageType;
|
|
|
+ public Text typicalModel;
|
|
|
+ public Text equipmentBrand;
|
|
|
+ public Text manufacturer;
|
|
|
+ public Text equipmentWeight;
|
|
|
+ public Text equipmentPower;
|
|
|
+ public Text originType;
|
|
|
+ public Text collectionCPName;
|
|
|
+ public Text resourcePool;
|
|
|
+
|
|
|
+ public Text wherePOD;
|
|
|
+ public Text networkDomain;
|
|
|
+ public Text city;
|
|
|
+ public Text building;
|
|
|
+ public Text floor;
|
|
|
+ public Text computerRoomName;
|
|
|
+ public Text computerRoomCoding;
|
|
|
+ public Text cabinetNumber;
|
|
|
+ public Text uMessage;
|
|
|
+ public Text deviceOrientation;
|
|
|
+
|
|
|
+ public Text manageIP;
|
|
|
+ public Text saveIP;
|
|
|
+ public Text iPMIIP;
|
|
|
+ public Text businessIP;
|
|
|
+ public Text projectName;
|
|
|
+ public Text equipmentSupplier;
|
|
|
+ public Text assetOwner;
|
|
|
+ public Text territorialPAManager;
|
|
|
+ public Text equipmentBTTOrganization;
|
|
|
+ public Text facilityManagementOrganization;
|
|
|
+ public Text equipmentMaintenanceOrganization;
|
|
|
+
|
|
|
+ public Text businessSystem;
|
|
|
+
|
|
|
+ public void UpdateData(DeviceParameters DeviceParameter)
|
|
|
+ {
|
|
|
+
|
|
|
+
|
|
|
+ deviceModel.text = DeviceParameter.deviceModel;
|
|
|
+ assetTagNumber.text = DeviceParameter.assetTagNumber;
|
|
|
+ serialNumber.text = DeviceParameter.serialNumber;
|
|
|
+ equipmentNumber.text = DeviceParameter.equipmentNumber;
|
|
|
+ assetStatus.text = DeviceParameter.assetStatus;
|
|
|
+ deviceStatus.text = DeviceParameter.deviceStatus;
|
|
|
+ deliveryData.text = DeviceParameter.deliveryData;
|
|
|
+
|
|
|
+ enabledDate.text = DeviceParameter.enabledDate;
|
|
|
+ serverUsageType.text = DeviceParameter.serverUsageType;
|
|
|
+ typicalModel.text = DeviceParameter.typicalModel;
|
|
|
+ equipmentBrand.text = DeviceParameter.equipmentBrand;
|
|
|
+ manufacturer.text = DeviceParameter.manufacturer;
|
|
|
+ equipmentWeight.text = DeviceParameter.equipmentWeight.ToString();
|
|
|
+ equipmentPower.text = DeviceParameter.equipmentPower.ToString();
|
|
|
+ originType.text = DeviceParameter.originType;
|
|
|
+ collectionCPName.text = DeviceParameter.collectionCPName;
|
|
|
+ resourcePool.text = DeviceParameter.resourcePool;
|
|
|
+
|
|
|
+ wherePOD.text = DeviceParameter.wherePOD;
|
|
|
+ networkDomain.text = DeviceParameter.networkDomain;
|
|
|
+ city.text = DeviceParameter.city;
|
|
|
+ building.text = DeviceParameter.building;
|
|
|
+ floor.text = DeviceParameter.floor;
|
|
|
+ computerRoomName.text = DeviceParameter.computerRoomName;
|
|
|
+ cabinetNumber.text = DeviceParameter.cabinetNumber;
|
|
|
+ uMessage.text = DeviceParameter.uMessage;
|
|
|
+ deviceOrientation.text = DeviceParameter.deviceOrientation;
|
|
|
+
|
|
|
+ manageIP.text = DeviceParameter.manageIP;
|
|
|
+ saveIP.text = DeviceParameter.saveIP;
|
|
|
+ iPMIIP.text = DeviceParameter.iPMIIP;
|
|
|
+ businessIP.text = DeviceParameter.businessIP;
|
|
|
+ equipmentSupplier.text = DeviceParameter.equipmentSupplier;
|
|
|
+ territorialPAManager.text = DeviceParameter.territorialPAManager;
|
|
|
+ equipmentBTTOrganization.text = DeviceParameter.equipmentBTTOrganization;
|
|
|
+ facilityManagementOrganization.text = DeviceParameter.facilityManagementOrganization;
|
|
|
+ equipmentMaintenanceOrganization.text = DeviceParameter.equipmentMaintenanceOrganization;
|
|
|
+
|
|
|
+ businessSystem.text = DeviceParameter.businessSystem;
|
|
|
+ }
|
|
|
+}
|