Added support for more than one Heatmaster fan controller.
authormoel.mich
Fri, 24 Sep 2010 21:33:55 +0000
changeset 1997026bb2e1f7d
parent 198 d5de6fa31bc6
child 200 50de2faf3336
Added support for more than one Heatmaster fan controller.
Hardware/Heatmaster/HeatmasterGroup.cs
Properties/AssemblyVersion.cs
     1.1 --- a/Hardware/Heatmaster/HeatmasterGroup.cs	Thu Sep 23 20:44:59 2010 +0000
     1.2 +++ b/Hardware/Heatmaster/HeatmasterGroup.cs	Fri Sep 24 21:33:55 2010 +0000
     1.3 @@ -99,7 +99,7 @@
     1.4          return;
     1.5  
     1.6        string[] portNames = GetRegistryPortNames();      
     1.7 -      for (int i = portNames.Length - 1; i >= 0; i--) {
     1.8 +      for (int i = 0; i < portNames.Length; i++) {
     1.9          bool isValid = false;
    1.10          try {        
    1.11            using (SerialPort serialPort =
    1.12 @@ -169,7 +169,6 @@
    1.13          if (isValid) {
    1.14            report.AppendLine("Status: OK");
    1.15            hardware.Add(new Heatmaster(portNames[i], settings));
    1.16 -          return;
    1.17          }
    1.18          report.AppendLine();
    1.19        }
     2.1 --- a/Properties/AssemblyVersion.cs	Thu Sep 23 20:44:59 2010 +0000
     2.2 +++ b/Properties/AssemblyVersion.cs	Fri Sep 24 21:33:55 2010 +0000
     2.3 @@ -37,5 +37,5 @@
     2.4  
     2.5  using System.Reflection;
     2.6  
     2.7 -[assembly: AssemblyVersion("0.1.37.16")]
     2.8 -[assembly: AssemblyInformationalVersion("0.1.37.16 Alpha")]
     2.9 \ No newline at end of file
    2.10 +[assembly: AssemblyVersion("0.1.37.17")]
    2.11 +[assembly: AssemblyInformationalVersion("0.1.37.17 Alpha")]
    2.12 \ No newline at end of file