1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs Thu Sep 30 16:51:09 2010 +0000
1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs Thu Sep 30 20:59:21 2010 +0000
1.3 @@ -702,11 +702,19 @@
1.4 public readonly float Vf;
1.5 public readonly bool Hidden;
1.6
1.7 + public Voltage(string name, int index) :
1.8 + this(name, index, false) { }
1.9 +
1.10 public Voltage(string name, int index, bool hidden) :
1.11 this(name, index, 0, 1, 0, hidden) { }
1.12 -
1.13 +
1.14 + public Voltage(string name, int index, float ri, float rf) :
1.15 + this(name, index, ri, rf, 0, false) { }
1.16 +
1.17 + // float ri = 0, float rf = 1, float vf = 0, bool hidden = false)
1.18 +
1.19 public Voltage(string name, int index,
1.20 - float ri = 0, float rf = 1, float vf = 0, bool hidden = false)
1.21 + float ri, float rf, float vf, bool hidden)
1.22 {
1.23 this.Name = name;
1.24 this.Index = index;