コード例 #1
0
 public HardwareNodeDisplayOutput(StatGrid statGrid, string readableTemp, SolidColorBrush brushColor, string utilizationPercent, int intTemp)
 {
     StatGrid     = statGrid;
     ReadableTemp = readableTemp;
     BrushColor   = brushColor;
     IntTemp      = intTemp;
 }
コード例 #2
0
 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;
 }