From 7b61f7cb86734baf57b5cfa8c160ce9ded2bcf41 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Mon, 29 Feb 2016 15:33:31 +0100 Subject: [PATCH] Type of 'Publish' changed to sbyte, ver.2.3.228. --- Config/Entities/Enums.cs | 2 +- Config/Entities/Test.cs | 4 ++-- Config/Properties/AssemblyInfo.cs | 4 ++-- Results/Entities/TestData.cs | 2 +- Results/Properties/AssemblyInfo.cs | 4 ++-- TestBenchFramework/ProcedureDlg.cs | 2 +- TestBenchFramework/Properties/AssemblyInfo.cs | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Config/Entities/Enums.cs b/Config/Entities/Enums.cs index 33818deff..b0639d764 100644 --- a/Config/Entities/Enums.cs +++ b/Config/Entities/Enums.cs @@ -62,7 +62,7 @@ namespace Config.Entities Count, } - public enum Publish : byte + public enum Publish : sbyte { None = 0, Always = 1, diff --git a/Config/Entities/Test.cs b/Config/Entities/Test.cs index c9c58cf8d..01b0e2562 100644 --- a/Config/Entities/Test.cs +++ b/Config/Entities/Test.cs @@ -17,7 +17,7 @@ namespace Config.Entities public virtual string Name { get; set; } public virtual int Part { get; set; } /// Part=0 ... test of all WM-s /// Part>0 ... part of a set of tests with the same Name: subset of WM-s is given by MetersPath - public virtual byte Publish { get; set; } /// 0=no, 1=in all protocols, 2=on screen, 3=internal + public virtual sbyte Publish { get; set; } /// 0=no, 1=in all protocols, 2=on screen, 3=internal public virtual bool Evaluate { get; set; } public virtual float Qfrom { get; set; } /// Water flow low limit in [m3/h] public virtual float Qto { get; set; } /// Water flow high limit in [m3/h] @@ -59,7 +59,7 @@ namespace Config.Entities /// /// Default values /// - Publish = (byte)Config.Entities.Publish.Always; + Publish = (sbyte)Config.Entities.Publish.Always; Evaluate = true; Repeats = 1; Emptying = false; diff --git a/Config/Properties/AssemblyInfo.cs b/Config/Properties/AssemblyInfo.cs index 0a8291ab6..49e04718d 100644 --- a/Config/Properties/AssemblyInfo.cs +++ b/Config/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.227.0")] -[assembly: AssemblyFileVersion("2.3.227.0")] +[assembly: AssemblyVersion("2.3.228.0")] +[assembly: AssemblyFileVersion("2.3.228.0")] diff --git a/Results/Entities/TestData.cs b/Results/Entities/TestData.cs index a21532489..b923be5a6 100644 --- a/Results/Entities/TestData.cs +++ b/Results/Entities/TestData.cs @@ -23,7 +23,7 @@ namespace Results.Entities public virtual double ErrLimLo { get; set; } /// [%] (usually < 0) public virtual double ErrLimHi { get; set; } /// [%] (usually > 0) public virtual double Uncertainty { get; set; } /// [%] makes error limits tighter: 0 <= Uncertainty <= abs(ErrLimXx) - public virtual byte Publish { get; set; } /// 0=no, 1=in all protocols, 2=on screen, 3=internal + public virtual sbyte Publish { get; set; } /// 0=no, 1=in all protocols, 2=on screen, 3=internal public virtual bool Evaluate { get; set; } diff --git a/Results/Properties/AssemblyInfo.cs b/Results/Properties/AssemblyInfo.cs index bd63a2d3e..bfa4da763 100644 --- a/Results/Properties/AssemblyInfo.cs +++ b/Results/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.227.0")] -[assembly: AssemblyFileVersion("2.3.227.0")] +[assembly: AssemblyVersion("2.3.228.0")] +[assembly: AssemblyFileVersion("2.3.228.0")] diff --git a/TestBenchFramework/ProcedureDlg.cs b/TestBenchFramework/ProcedureDlg.cs index 9165581ad..01dccc7cd 100644 --- a/TestBenchFramework/ProcedureDlg.cs +++ b/TestBenchFramework/ProcedureDlg.cs @@ -847,7 +847,7 @@ namespace TBF { if (lvi.SubItems[(int)Mtrlgy2Clmn.Publish].Text.Equals(pb.ToString())) { - entity.Publish = (byte)pb; + entity.Publish = (sbyte)pb; break; } } diff --git a/TestBenchFramework/Properties/AssemblyInfo.cs b/TestBenchFramework/Properties/AssemblyInfo.cs index 8b46dfe38..07ddbbb71 100644 --- a/TestBenchFramework/Properties/AssemblyInfo.cs +++ b/TestBenchFramework/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.3.227.1")] -[assembly: AssemblyFileVersion("2.3.227.1")] +[assembly: AssemblyVersion("2.3.228.1")] +[assembly: AssemblyFileVersion("2.3.228.1")]