Changes for Xylem Nanjing, ver. 3.1.1676

This commit is contained in:
Milan Hanajik
2021-06-18 15:35:46 +02:00
parent f1ef16e1a3
commit 827a9f7c58
837 changed files with 46518 additions and 5851 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ namespace TBF.Rig.Danfoss.VLT2800
public int SetpY { get; set; }
public Orient SetpOrient { get; set; }
public string SetpFormat { get; set; }
public Config.Unit SetpUnit { get; set; }
public Common.Unit SetpUnit { get; set; }
[XmlIgnore]
public IList<GNode> GNodes { get; set; }
@@ -64,7 +64,7 @@ namespace TBF.Rig.Danfoss.VLT2800
Shape = Shape.PumpFM;
Sz = Sz.M;
SetpFormat = "{0:F0} %";
SetpUnit = Config.Unit.Pct;
SetpUnit = Common.Unit.Pct;
Name = "Pump-Danfoss";
Factory = factory;
+5 -4
View File
@@ -4,6 +4,7 @@
using System;
using System.Windows.Forms;
using System.IO.Ports;
using Common;
using Config.Entities;
using TBF.Rig.Generic;
@@ -90,9 +91,9 @@ namespace TBF.Rig.Danfoss.VLT2800
private void AbbientCfgCtrl_Load(object sender, EventArgs e)
{
for (Config.Unit units = 0; units < global::Config.Unit.Count; units++)
for (Common.Unit units = 0; units < global::Common.Unit.Count; units++)
{
if (global::Config.Units.IsQuantity(units, global::Config.Quantity.Error))
if (global::Common.Units.IsQuantity(units, Quantity.Error))
{
unitsComboBox.Items.Add(units.ToString());
}
@@ -158,8 +159,8 @@ namespace TBF.Rig.Danfoss.VLT2800
config.StopBits = GetStopBits(stopBitsComboBox.SelectedItem.ToString());
config.SetpFormat = formatTextBox.Text;
config.SetpUnit = global::Config.Unit.None;
for (Config.Unit units = 0; units < global::Config.Unit.Count; units++)
config.SetpUnit = global::Common.Unit.None;
for (Common.Unit units = 0; units < global::Common.Unit.Count; units++)
{
if (unitsComboBox.Text == units.ToString())
{