Default names when creating new components shortened.

This commit is contained in:
Milan Hanajik
2015-06-22 14:24:06 +02:00
parent 7fe7fafe1f
commit ca78f36f8f
8 changed files with 8 additions and 8 deletions
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.Elde.FixedStartRegisterReader
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
RegisterReaderCfg() RegisterReaderCfg()
{ {
Name = "DummyRR"; Name = "Dummy";
ParentName = "CB"; ParentName = "CB";
ProcParams = new RRProcedureParams(); ProcParams = new RRProcedureParams();
} }
@@ -23,7 +23,7 @@ namespace TBF.BenchControl.Elde.PressureMeter
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
PressureMeterCfg() PressureMeterCfg()
{ {
Name = "PressureMeter"; Name = "Pr";
ParentName = "CB"; ParentName = "CB";
Idx0 = 0; Idx0 = 0;
RS485Address = 99; RS485Address = 99;
@@ -22,7 +22,7 @@ namespace TBF.BenchControl.Elde.Pump
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
PumpCfg() PumpCfg()
{ {
Name = "Pump"; Name = "P";
ParentName = "CB"; ParentName = "CB";
BitPosition = 0; BitPosition = 0;
Delay = 1; Delay = 1;
@@ -23,7 +23,7 @@ namespace TBF.BenchControl.Elde.PumpWithFM
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
PumpCfg() PumpCfg()
{ {
Name = "Pump"; Name = "P";
ParentName = "CB"; ParentName = "CB";
BitPosition = 0; BitPosition = 0;
FMIndex = 0; FMIndex = 0;
@@ -32,7 +32,7 @@ namespace TBF.BenchControl.Elde.RegulValve
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
RegulValveCfg() RegulValveCfg()
{ {
Name = "RegulationValve"; Name = "VR";
ParentName = "CB"; ParentName = "CB";
Idx1 = 1; Idx1 = 1;
AdcValueClosed = 100; AdcValueClosed = 100;
@@ -27,7 +27,7 @@ namespace TBF.BenchControl.Elde.TempMeter
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
TempMeterCfg() TempMeterCfg()
{ {
Name = "TempMeter"; Name = "T";
ParentName = "CB"; ParentName = "CB";
Idx0 = 0; Idx0 = 0;
A1 = 0; A1 = 0;
@@ -36,7 +36,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
BalanceCfg() BalanceCfg()
{ {
Name = "Balance"; Name = "WT";
ParentName = string.Empty; ParentName = string.Empty;
ComPortNr = 3; ComPortNr = 3;
BaudRate = 2400; BaudRate = 2400;
@@ -29,7 +29,7 @@ namespace TBF.BenchControl.WaterMeter
/// Private parameterless constructor invoked by all other (public) constructors /// Private parameterless constructor invoked by all other (public) constructors
WaterMeterCfg() WaterMeterCfg()
{ {
Name = "WaterMeter"; Name = "WM";
ParentName = string.Empty; ParentName = string.Empty;
ProcParams = new ProcParams(); ProcParams = new ProcParams();
} }