Fixed Issue 10.
1.1 --- a/GUI/MainForm.Designer.cs Tue May 18 19:16:55 2010 +0000
1.2 +++ b/GUI/MainForm.Designer.cs Thu May 20 21:23:54 2010 +0000
1.3 @@ -93,6 +93,10 @@
1.4 this.minTrayMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.5 this.startupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.6 this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
1.7 + this.temperatureUnitsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.8 + this.celciusToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.9 + this.fahrenheitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.10 + this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
1.11 this.hddMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.12 this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.13 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
1.14 @@ -122,7 +126,7 @@
1.15 this.treeView.Columns.Add(this.limit);
1.16 this.treeView.DefaultToolTipProvider = null;
1.17 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
1.18 - this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
1.19 + this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
1.20 this.treeView.FullRowSelect = true;
1.21 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
1.22 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
1.23 @@ -138,7 +142,7 @@
1.24 this.treeView.NodeControls.Add(this.nodeTextBoxLimit);
1.25 this.treeView.RowHeight = 18;
1.26 this.treeView.SelectedNode = null;
1.27 - this.treeView.Size = new System.Drawing.Size(478, 567);
1.28 + this.treeView.Size = new System.Drawing.Size(410, 488);
1.29 this.treeView.TabIndex = 0;
1.30 this.treeView.Text = "treeView";
1.31 this.treeView.UseColumns = true;
1.32 @@ -240,8 +244,7 @@
1.33 this.helpToolStripMenuItem});
1.34 this.menuStrip.Location = new System.Drawing.Point(0, 0);
1.35 this.menuStrip.Name = "menuStrip";
1.36 - this.menuStrip.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
1.37 - this.menuStrip.Size = new System.Drawing.Size(478, 24);
1.38 + this.menuStrip.Size = new System.Drawing.Size(410, 24);
1.39 this.menuStrip.TabIndex = 1;
1.40 this.menuStrip.Text = "menuStrip1";
1.41 //
1.42 @@ -319,7 +322,7 @@
1.43 this.valueMenuItem.CheckOnClick = true;
1.44 this.valueMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
1.45 this.valueMenuItem.Name = "valueMenuItem";
1.46 - this.valueMenuItem.Size = new System.Drawing.Size(152, 22);
1.47 + this.valueMenuItem.Size = new System.Drawing.Size(103, 22);
1.48 this.valueMenuItem.Text = "Value";
1.49 this.valueMenuItem.CheckedChanged += new System.EventHandler(this.valueMenuItem_CheckedChanged);
1.50 //
1.51 @@ -329,7 +332,7 @@
1.52 this.minMenuItem.CheckOnClick = true;
1.53 this.minMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
1.54 this.minMenuItem.Name = "minMenuItem";
1.55 - this.minMenuItem.Size = new System.Drawing.Size(152, 22);
1.56 + this.minMenuItem.Size = new System.Drawing.Size(103, 22);
1.57 this.minMenuItem.Text = "Min";
1.58 this.minMenuItem.CheckedChanged += new System.EventHandler(this.minMenuItem_CheckedChanged);
1.59 //
1.60 @@ -339,7 +342,7 @@
1.61 this.maxMenuItem.CheckOnClick = true;
1.62 this.maxMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
1.63 this.maxMenuItem.Name = "maxMenuItem";
1.64 - this.maxMenuItem.Size = new System.Drawing.Size(152, 22);
1.65 + this.maxMenuItem.Size = new System.Drawing.Size(103, 22);
1.66 this.maxMenuItem.Text = "Max";
1.67 this.maxMenuItem.CheckedChanged += new System.EventHandler(this.maxMenuItem_CheckedChanged);
1.68 //
1.69 @@ -349,7 +352,7 @@
1.70 this.limitMenuItem.CheckOnClick = true;
1.71 this.limitMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
1.72 this.limitMenuItem.Name = "limitMenuItem";
1.73 - this.limitMenuItem.Size = new System.Drawing.Size(152, 22);
1.74 + this.limitMenuItem.Size = new System.Drawing.Size(103, 22);
1.75 this.limitMenuItem.Text = "Limit";
1.76 this.limitMenuItem.CheckedChanged += new System.EventHandler(this.limitMenuItem_CheckedChanged);
1.77 //
1.78 @@ -360,6 +363,8 @@
1.79 this.minTrayMenuItem,
1.80 this.startupMenuItem,
1.81 this.toolStripMenuItem3,
1.82 + this.temperatureUnitsToolStripMenuItem,
1.83 + this.toolStripMenuItem4,
1.84 this.hddMenuItem});
1.85 this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
1.86 this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
1.87 @@ -393,12 +398,40 @@
1.88 this.toolStripMenuItem3.Name = "toolStripMenuItem3";
1.89 this.toolStripMenuItem3.Size = new System.Drawing.Size(204, 6);
1.90 //
1.91 + // temperatureUnitsToolStripMenuItem
1.92 + //
1.93 + this.temperatureUnitsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
1.94 + this.celciusToolStripMenuItem,
1.95 + this.fahrenheitToolStripMenuItem});
1.96 + this.temperatureUnitsToolStripMenuItem.Name = "temperatureUnitsToolStripMenuItem";
1.97 + this.temperatureUnitsToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
1.98 + this.temperatureUnitsToolStripMenuItem.Text = "Temperature Unit";
1.99 + //
1.100 + // celciusToolStripMenuItem
1.101 + //
1.102 + this.celciusToolStripMenuItem.Name = "celciusToolStripMenuItem";
1.103 + this.celciusToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
1.104 + this.celciusToolStripMenuItem.Text = "Celcius";
1.105 + this.celciusToolStripMenuItem.Click += new System.EventHandler(this.celciusToolStripMenuItem_Click);
1.106 + //
1.107 + // fahrenheitToolStripMenuItem
1.108 + //
1.109 + this.fahrenheitToolStripMenuItem.Name = "fahrenheitToolStripMenuItem";
1.110 + this.fahrenheitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
1.111 + this.fahrenheitToolStripMenuItem.Text = "Fahrenheit";
1.112 + this.fahrenheitToolStripMenuItem.Click += new System.EventHandler(this.fahrenheitToolStripMenuItem_Click);
1.113 + //
1.114 + // toolStripMenuItem4
1.115 + //
1.116 + this.toolStripMenuItem4.Name = "toolStripMenuItem4";
1.117 + this.toolStripMenuItem4.Size = new System.Drawing.Size(204, 6);
1.118 + //
1.119 // hddMenuItem
1.120 //
1.121 this.hddMenuItem.CheckOnClick = true;
1.122 this.hddMenuItem.Name = "hddMenuItem";
1.123 this.hddMenuItem.Size = new System.Drawing.Size(207, 22);
1.124 - this.hddMenuItem.Text = "HDD sensors";
1.125 + this.hddMenuItem.Text = "Read HDD sensors";
1.126 this.hddMenuItem.CheckedChanged += new System.EventHandler(this.hddsensorsToolStripMenuItem_CheckedChanged);
1.127 //
1.128 // helpToolStripMenuItem
1.129 @@ -431,18 +464,18 @@
1.130 //
1.131 this.splitContainer.Panel2.Controls.Add(this.plotPanel);
1.132 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
1.133 - this.splitContainer.Size = new System.Drawing.Size(478, 768);
1.134 - this.splitContainer.SplitterDistance = 567;
1.135 + this.splitContainer.Size = new System.Drawing.Size(410, 662);
1.136 + this.splitContainer.SplitterDistance = 488;
1.137 this.splitContainer.SplitterWidth = 3;
1.138 this.splitContainer.TabIndex = 3;
1.139 //
1.140 // plotPanel
1.141 //
1.142 this.plotPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
1.143 - this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
1.144 + this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
1.145 this.plotPanel.Location = new System.Drawing.Point(0, 0);
1.146 this.plotPanel.Name = "plotPanel";
1.147 - this.plotPanel.Size = new System.Drawing.Size(478, 198);
1.148 + this.plotPanel.Size = new System.Drawing.Size(410, 171);
1.149 this.plotPanel.TabIndex = 0;
1.150 //
1.151 // notifyContextMenuStrip
1.152 @@ -452,24 +485,24 @@
1.153 this.toolStripMenuItem2,
1.154 this.exitToolStripMenuItem1});
1.155 this.notifyContextMenuStrip.Name = "notifyContextMenuStrip";
1.156 - this.notifyContextMenuStrip.Size = new System.Drawing.Size(137, 54);
1.157 + this.notifyContextMenuStrip.Size = new System.Drawing.Size(134, 54);
1.158 //
1.159 // hideShowToolStripMenuItem
1.160 - //
1.161 + //
1.162 this.hideShowToolStripMenuItem.Name = "hideShowToolStripMenuItem";
1.163 - this.hideShowToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
1.164 + this.hideShowToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
1.165 this.hideShowToolStripMenuItem.Text = "Hide/Show";
1.166 this.hideShowToolStripMenuItem.Click += new System.EventHandler(this.hideShowClick);
1.167 //
1.168 // toolStripMenuItem2
1.169 //
1.170 this.toolStripMenuItem2.Name = "toolStripMenuItem2";
1.171 - this.toolStripMenuItem2.Size = new System.Drawing.Size(133, 6);
1.172 + this.toolStripMenuItem2.Size = new System.Drawing.Size(130, 6);
1.173 //
1.174 // exitToolStripMenuItem1
1.175 //
1.176 this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1";
1.177 - this.exitToolStripMenuItem1.Size = new System.Drawing.Size(136, 22);
1.178 + this.exitToolStripMenuItem1.Size = new System.Drawing.Size(133, 22);
1.179 this.exitToolStripMenuItem1.Text = "Exit";
1.180 this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
1.181 //
1.182 @@ -493,11 +526,11 @@
1.183 //
1.184 // MainForm
1.185 //
1.186 - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
1.187 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.188 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.189 - this.ClientSize = new System.Drawing.Size(478, 792);
1.190 + this.ClientSize = new System.Drawing.Size(410, 686);
1.191 this.Controls.Add(this.splitContainer);
1.192 - this.Controls.Add(this.menuStrip);
1.193 + this.Controls.Add(this.menuStrip);
1.194 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1.195 this.MainMenuStrip = this.menuStrip;
1.196 this.Name = "MainForm";
1.197 @@ -560,6 +593,10 @@
1.198 private System.Windows.Forms.ToolStripMenuItem minMenuItem;
1.199 private System.Windows.Forms.ToolStripMenuItem maxMenuItem;
1.200 private System.Windows.Forms.ToolStripMenuItem limitMenuItem;
1.201 + private System.Windows.Forms.ToolStripMenuItem temperatureUnitsToolStripMenuItem;
1.202 + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
1.203 + private System.Windows.Forms.ToolStripMenuItem celciusToolStripMenuItem;
1.204 + private System.Windows.Forms.ToolStripMenuItem fahrenheitToolStripMenuItem;
1.205 }
1.206 }
1.207
2.1 --- a/GUI/MainForm.cs Tue May 18 19:16:55 2010 +0000
2.2 +++ b/GUI/MainForm.cs Thu May 20 21:23:54 2010 +0000
2.3 @@ -149,7 +149,11 @@
2.4 startMinMenuItem.Checked = Config.Get(startMinMenuItem.Name, false);
2.5 minTrayMenuItem.Checked = Config.Get(minTrayMenuItem.Name, true);
2.6 startupMenuItem.Checked = startupManager.Startup;
2.7 - hddMenuItem.Checked = Config.Get(hddMenuItem.Name, true);
2.8 + hddMenuItem.Checked = Config.Get(hddMenuItem.Name, true);
2.9 +
2.10 + celciusToolStripMenuItem.Checked =
2.11 + UnitManager.TemperatureUnit == TemperatureUnit.Celcius;
2.12 + fahrenheitToolStripMenuItem.Checked = !celciusToolStripMenuItem.Checked;
2.13
2.14 if (startMinMenuItem.Checked) {
2.15 if (!minTrayMenuItem.Checked) {
2.16 @@ -439,5 +443,17 @@
2.17 private void limitMenuItem_CheckedChanged(object sender, EventArgs e) {
2.18 treeView.Columns[4].IsVisible = limitMenuItem.Checked;
2.19 }
2.20 +
2.21 + private void celciusToolStripMenuItem_Click(object sender, EventArgs e) {
2.22 + celciusToolStripMenuItem.Checked = true;
2.23 + fahrenheitToolStripMenuItem.Checked = false;
2.24 + UnitManager.TemperatureUnit = TemperatureUnit.Celcius;
2.25 + }
2.26 +
2.27 + private void fahrenheitToolStripMenuItem_Click(object sender, EventArgs e) {
2.28 + celciusToolStripMenuItem.Checked = false;
2.29 + fahrenheitToolStripMenuItem.Checked = true;
2.30 + UnitManager.TemperatureUnit = TemperatureUnit.Fahrenheit;
2.31 + }
2.32 }
2.33 }
3.1 --- a/GUI/MainForm.resx Tue May 18 19:16:55 2010 +0000
3.2 +++ b/GUI/MainForm.resx Thu May 20 21:23:54 2010 +0000
3.3 @@ -121,16 +121,16 @@
3.4 <value>17, 17</value>
3.5 </metadata>
3.6 <metadata name="notifyContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
3.7 - <value>322, 17</value>
3.8 + <value>125, 17</value>
3.9 </metadata>
3.10 <metadata name="sensorContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
3.11 - <value>504, 17</value>
3.12 + <value>307, 17</value>
3.13 </metadata>
3.14 <metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
3.15 - <value>690, 17</value>
3.16 + <value>493, 17</value>
3.17 </metadata>
3.18 <metadata name="timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
3.19 - <value>819, 17</value>
3.20 + <value>622, 17</value>
3.21 </metadata>
3.22 <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
3.23 <value>55</value>
4.1 --- a/GUI/SensorNode.cs Tue May 18 19:16:55 2010 +0000
4.2 +++ b/GUI/SensorNode.cs Thu May 20 21:23:54 2010 +0000
4.3 @@ -48,9 +48,14 @@
4.4 private bool plot = false;
4.5
4.6 public string ValueToString(float? value) {
4.7 - if (value.HasValue)
4.8 - return string.Format(format, value);
4.9 - else
4.10 + if (value.HasValue) {
4.11 + if (sensor.SensorType == SensorType.Temperature &&
4.12 + UnitManager.TemperatureUnit == TemperatureUnit.Fahrenheit) {
4.13 + return string.Format("{0:F1} °F", value * 1.8 + 32);
4.14 + } else {
4.15 + return string.Format(format, value);
4.16 + }
4.17 + } else
4.18 return "-";
4.19 }
4.20
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/GUI/UnitManager.cs Thu May 20 21:23:54 2010 +0000
5.3 @@ -0,0 +1,66 @@
5.4 +/*
5.5 +
5.6 + Version: MPL 1.1/GPL 2.0/LGPL 2.1
5.7 +
5.8 + The contents of this file are subject to the Mozilla Public License Version
5.9 + 1.1 (the "License"); you may not use this file except in compliance with
5.10 + the License. You may obtain a copy of the License at
5.11 +
5.12 + http://www.mozilla.org/MPL/
5.13 +
5.14 + Software distributed under the License is distributed on an "AS IS" basis,
5.15 + WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
5.16 + for the specific language governing rights and limitations under the License.
5.17 +
5.18 + The Original Code is the Open Hardware Monitor code.
5.19 +
5.20 + The Initial Developer of the Original Code is
5.21 + Michael Möller <m.moeller@gmx.ch>.
5.22 + Portions created by the Initial Developer are Copyright (C) 2009-2010
5.23 + the Initial Developer. All Rights Reserved.
5.24 +
5.25 + Contributor(s):
5.26 +
5.27 + Alternatively, the contents of this file may be used under the terms of
5.28 + either the GNU General Public License Version 2 or later (the "GPL"), or
5.29 + the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
5.30 + in which case the provisions of the GPL or the LGPL are applicable instead
5.31 + of those above. If you wish to allow use of your version of this file only
5.32 + under the terms of either the GPL or the LGPL, and not to allow others to
5.33 + use your version of this file under the terms of the MPL, indicate your
5.34 + decision by deleting the provisions above and replace them with the notice
5.35 + and other provisions required by the GPL or the LGPL. If you do not delete
5.36 + the provisions above, a recipient may use your version of this file under
5.37 + the terms of any one of the MPL, the GPL or the LGPL.
5.38 +
5.39 +*/
5.40 +
5.41 +using System;
5.42 +using System.Collections.Generic;
5.43 +using OpenHardwareMonitor.Utilities;
5.44 +
5.45 +namespace OpenHardwareMonitor.GUI {
5.46 +
5.47 + public enum TemperatureUnit {
5.48 + Celcius = 0,
5.49 + Fahrenheit = 1
5.50 + }
5.51 +
5.52 + public class UnitManager {
5.53 +
5.54 + private static TemperatureUnit temperatureUnit;
5.55 +
5.56 + static UnitManager () {
5.57 + temperatureUnit = (TemperatureUnit)Config.Get("TemperatureUnit",
5.58 + (int)TemperatureUnit.Celcius);
5.59 + }
5.60 +
5.61 + public static TemperatureUnit TemperatureUnit {
5.62 + get { return temperatureUnit; }
5.63 + set {
5.64 + temperatureUnit = value;
5.65 + Config.Set("TemperatureUnit", (int)temperatureUnit);
5.66 + }
5.67 + }
5.68 + }
5.69 +}
6.1 --- a/Hardware/CPU/AMD0FCPU.cs Tue May 18 19:16:55 2010 +0000
6.2 +++ b/Hardware/CPU/AMD0FCPU.cs Thu May 20 21:23:54 2010 +0000
6.3 @@ -90,7 +90,7 @@
6.4 coreTemperatures[i] =
6.5 new Sensor("Core #" + (i + 1), i, null, SensorType.Temperature,
6.6 this, new ParameterDescription[] {
6.7 - new ParameterDescription("Offset",
6.8 + new ParameterDescription("Offset [°C]",
6.9 "Temperature offset of the thermal sensor.\n" +
6.10 "Temperature = Value + Offset.", offset)
6.11 });
7.1 --- a/Hardware/CPU/AMD10CPU.cs Tue May 18 19:16:55 2010 +0000
7.2 +++ b/Hardware/CPU/AMD10CPU.cs Thu May 20 21:23:54 2010 +0000
7.3 @@ -87,7 +87,7 @@
7.4 coreTemperature = new Sensor(
7.5 "Core" + (coreCount > 1 ? " #1 - #" + coreCount : ""), 0, null,
7.6 SensorType.Temperature, this, new ParameterDescription[] {
7.7 - new ParameterDescription("Offset", "Temperature offset.", 0)
7.8 + new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
7.9 });
7.10
7.11 pciAddress = WinRing0.FindPciDeviceById(PCI_AMD_VENDOR_ID,
8.1 --- a/Hardware/CPU/IntelCPU.cs Tue May 18 19:16:55 2010 +0000
8.2 +++ b/Hardware/CPU/IntelCPU.cs Thu May 20 21:23:54 2010 +0000
8.3 @@ -175,10 +175,10 @@
8.4 coreTemperatures[i] = new Sensor(CoreString(i), i, tjMax[i],
8.5 SensorType.Temperature, this, new ParameterDescription[] {
8.6 new ParameterDescription(
8.7 - "TjMax", "TjMax temperature of the core.\n" +
8.8 + "TjMax [°C]", "TjMax temperature of the core.\n" +
8.9 "Temperature = TjMax - TSlope * Value.", tjMax[i]),
8.10 - new ParameterDescription(
8.11 - "TSlope", "Temperature slope of the digital thermal sensor.\n" +
8.12 + new ParameterDescription("TSlope [°C]",
8.13 + "Temperature slope of the digital thermal sensor.\n" +
8.14 "Temperature = TjMax - TSlope * Value.", 1)});
8.15 }
8.16 } else {
9.1 --- a/Hardware/LPC/F718XX.cs Tue May 18 19:16:55 2010 +0000
9.2 +++ b/Hardware/LPC/F718XX.cs Thu May 20 21:23:54 2010 +0000
9.3 @@ -73,7 +73,7 @@
9.4 for (int i = 0; i < temperatures.Length; i++)
9.5 temperatures[i] = new Sensor("Temperature #" + (i + 1), i, null,
9.6 SensorType.Temperature, this, new ParameterDescription[] {
9.7 - new ParameterDescription("Offset", "Temperature offset.", 0)
9.8 + new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
9.9 });
9.10
9.11 fans = new Sensor[chip == Chip.F71882 ? 4 : 3];
10.1 --- a/Hardware/LPC/IT87XX.cs Tue May 18 19:16:55 2010 +0000
10.2 +++ b/Hardware/LPC/IT87XX.cs Thu May 20 21:23:54 2010 +0000
10.3 @@ -101,7 +101,7 @@
10.4 for (int i = 0; i < temperatures.Length; i++)
10.5 temperatures[i] = new Sensor("Temperature #" + (i + 1), i, null,
10.6 SensorType.Temperature, this, new ParameterDescription[] {
10.7 - new ParameterDescription("Offset", "Temperature offset.", 0)
10.8 + new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
10.9 });
10.10
10.11 fans = new Sensor[5];
11.1 --- a/Hardware/LPC/W836XX.cs Tue May 18 19:16:55 2010 +0000
11.2 +++ b/Hardware/LPC/W836XX.cs Thu May 20 21:23:54 2010 +0000
11.3 @@ -112,7 +112,7 @@
11.4 available = IsWinbondVendor();
11.5
11.6 ParameterDescription[] parameter = new ParameterDescription[] {
11.7 - new ParameterDescription("Offset", "Temperature offset.", 0)
11.8 + new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
11.9 };
11.10 List<Sensor> list = new List<Sensor>();
11.11 switch (chip) {
12.1 --- a/Hardware/TBalancer/TBalancer.cs Tue May 18 19:16:55 2010 +0000
12.2 +++ b/Hardware/TBalancer/TBalancer.cs Thu May 20 21:23:54 2010 +0000
12.3 @@ -73,7 +73,7 @@
12.4 this.protocolVersion = protocolVersion;
12.5
12.6 ParameterDescription[] parameter = new ParameterDescription[] {
12.7 - new ParameterDescription("Offset", "Temperature offset.", 0)
12.8 + new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
12.9 };
12.10 int offset = 0;
12.11 for (int i = 0; i < digitalTemperatures.Length; i++)
13.1 --- a/OpenHardwareMonitor.csproj Tue May 18 19:16:55 2010 +0000
13.2 +++ b/OpenHardwareMonitor.csproj Thu May 20 21:23:54 2010 +0000
13.3 @@ -79,6 +79,7 @@
13.4 <Compile Include="GUI\TaskScheduler.cs" />
13.5 <Compile Include="GUI\TreeModel.cs" />
13.6 <Compile Include="GUI\TypeNode.cs" />
13.7 + <Compile Include="GUI\UnitManager.cs" />
13.8 <Compile Include="GUI\UpdateVisitor.cs" />
13.9 <Compile Include="Hardware\CPU\AMD10CPU.cs" />
13.10 <Compile Include="Hardware\CPU\AMD0FCPU.cs" />