'Config', 'Results' projects added, includes iPerl opto logging bug-fixes, builds OK, cannot open DB, version 2.0.158.

This commit is contained in:
Milan Hanajik
2015-12-05 14:18:36 +01:00
parent 29ece2f91c
commit f6cec9d769
360 changed files with 6406 additions and 4091 deletions
@@ -8,6 +8,7 @@ using System.Globalization;
using System.Text;
using System.IO.Ports;
using log4net;
using Config.Entities;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.MettlerToledo.Standard
@@ -46,7 +47,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
/// </summary>
public void GetSerialNumber()
{
if (balanceCfg.DebugLevel == Entities.DebugMode.Simulate) return;
if (balanceCfg.DebugLevel == DebugMode.Simulate) return;
if (msrmntState == MsrmntState.Busy)
{
@@ -66,7 +67,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
/// </summary>
public override void RunDeviceBefore()
{
if (balanceCfg.DebugLevel == Entities.DebugMode.Simulate)
if (balanceCfg.DebugLevel == DebugMode.Simulate)
{
mass = TestBenchSim.GetSimMass(balanceNr);
Masses[balanceNr] = mass;