public HardwareNodeDisplayOutput(StatGrid statGrid, string readableTemp, SolidColorBrush brushColor, string utilizationPercent, int intTemp) { StatGrid = statGrid; ReadableTemp = readableTemp; BrushColor = brushColor; IntTemp = intTemp; }
public GPUHardwareNode(IHardware hw, HardwareType hwType, Identifier hwIdent, string hwName, ISensor[] hwSensors, StatGrid statGrid) { Hardware = hw; Type = hwType; Ident = hwIdent; Name = hwName; _sensors = hwSensors; StatGrid = statGrid; StatGrid.GridObject.Visibility = Visibility.Visible; StatGrid.GridObject.ToolTip = hwName; }