/// <summary> /// Initializes a new instance of the <see cref="RackServer" /> class. /// </summary> /// <param name="device">The device.</param> public RackServer(HWDevice device) { this.DN = device.DN; this.ServerName = device.ServerName; this.iBMCIPv4Address = device.IpAddress; this.BMCVersion = device.Version; this.CPUList = new List <HWCPU>(); this.BoardList = new List <HWBoard>(); }
/// <summary> /// Initializes a new instance of the <see cref="KunLunServer"/> class. /// </summary> /// <param name="device"> /// The device. /// </param> public KunLunServer(HWDevice device) { this.DN = device.DN; this.Manufacturer = device.Manufacturer; this.ServerName = device.ServerName; this.Version = device.Version; this.DiskList = new List <HWDisk>(); this.PowerSupplyList = new List <HWPSU>(); this.FanList = new List <HWFAN>(); this.BoardList = new List <HWBoard>(); this.RaidList = new List <HWRAID>(); }
/// <summary> /// Initializes a new instance of the <see cref="BladeServer"/> class. /// </summary> /// <param name="device"> /// The device. /// </param> public BladeServer(HWDevice device) { this.DN = device.DN; this.ServerName = device.ServerName; this.Manufacturer = device.Manufacturer; this.ServerModel = device.ServerModel; this.IpAddress = device.IpAddress; this.Location = device.Location; this.Status = device.Status; this.FanList = new List <HWFAN>(); this.PowerSupplyList = new List <HWPSU>(); this.ChildBlades = new List <ChildBlade>(); this.SwitchList = new List <ChildSwithBoard>(); }
/// <summary> /// Initializes a new instance of the <see cref="HighdensityServer"/> class. /// </summary> /// <param name="device"> /// The device. /// </param> public HighdensityServer(HWDevice device) { this.DN = device.DN; this.ServerName = device.ServerName; this.Manufacturer = device.Manufacturer; this.ServerModel = device.ServerModel; this.IpAddress = device.IpAddress; this.Location = device.Location; this.Status = device.Status; this.UUID = device.UUID; this.ProductSN = device.ProductSN; this.Version = device.Version; this.ChildHighdensitys = new List <ChildHighdensity>(); }