'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
@@ -7,6 +7,7 @@ using System.Globalization;
using System.IO.Ports;
using System.Text;
using log4net;
using Config.Entities;
using TBF.BenchControl.Generic;
using TBF.Boxes;
@@ -132,7 +133,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
public void Initialize()
{
if (pumpCfg.DebugLevel == Entities.DebugMode.Simulate)
if (pumpCfg.DebugLevel == DebugMode.Simulate)
{
return;
}
@@ -149,7 +150,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
/// <summary>Run this device</summary>
public void RunDeviceBefore()
{
if (pumpCfg.DebugLevel == Entities.DebugMode.Simulate) return;
if (pumpCfg.DebugLevel == DebugMode.Simulate) return;
responseBuilder.Append(serialPort.ReadExisting());
@@ -182,7 +183,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
{
if (dataToSendReady)
{
if (pumpCfg.DebugLevel != Entities.DebugMode.Simulate)
if (pumpCfg.DebugLevel != DebugMode.Simulate)
{
serialPort.Write(dataToSend, 0, dataToSend.Length);
}
@@ -15,7 +15,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
public IComponentCfg DefaultConfig() { return new PumpCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(typeof(PumpCfg), component, this);
}