Cfg.ToString(1) --> Cfg.ToString(-1) in 89 components
This commit is contained in:
@@ -31,7 +31,7 @@ namespace TBF.Rig.Output.DB.ProductionTracing
|
||||
public class Tracing : ComponentBase, IOperation, GenericDevices.IResultsWriter, GenericDevices.IStartInfoReader, Generic.IDevice
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Tracing));
|
||||
public override string ToString() { return string.Format("Tracing({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Tracing({0})", Cfg.ToString(-1)); }
|
||||
|
||||
public const string WorkstepName = "Test_bench";
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace TBF.Rig.Output.DB.SaveFlowmeterCorrections
|
||||
public class SaveFlowmeterCorr : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(SaveFlowmeterCorr));
|
||||
public override string ToString() { return string.Format("SaveFlowmeterCorr({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("SaveFlowmeterCorr({0})", Cfg.ToString(-1)); }
|
||||
|
||||
SaveFlowmeterCorrCfg myCfg;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace TBF.Rig.Output.DB.SensusOracle
|
||||
public class Database : ComponentBase, IOperation, GenericDevices.IResultsWriter, GenericDevices.IStartInfoReader, Generic.IDevice
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Database));
|
||||
public override string ToString() { return string.Format("{0}({1})", GetType().Namespace.Substring(8), Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", GetType().Namespace.Substring(8), Cfg.ToString(-1)); }
|
||||
|
||||
public const int Anbid_StaraTura = 4;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace TBF.Rig.Output.EventTriggers.Iperl
|
||||
public class Trigger : ComponentBase, IOperation, GenericDevices.IEventTrigger
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Trigger));
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly TriggerCfg triggerCfg;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace TBF.Rig.Output.EventTriggers.Standard
|
||||
public class Trigger : ComponentBase, IOperation, GenericDevices.IEventTrigger
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Trigger));
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly TriggerCfg triggerCfg;
|
||||
string src { get { return triggerCfg.EventSource; } }
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace TBF.Rig.Output.FileWriters.Basic
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Basic({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Basic({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.FileWriters.Enhanced
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
|
||||
public class Archiver : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Archiver));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Basic({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Basic({0})", Cfg.ToString(-1)); }
|
||||
|
||||
|
||||
readonly ArchiverCfg writerCfg;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace TBF.Rig.Output.FileWriters.IperlLogger
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Sensus-Oracle-Database({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Sensus-Oracle-Database({0})", Cfg.ToString(-1)); }
|
||||
|
||||
|
||||
WriterCfg writerCfg;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.FileWriters.OneFilePerMeter
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace TBF.Rig.Output.FileWriters.XmlBatch
|
||||
public class Writer : ComponentBase, IOperation, GenericDevices.IResultsWriter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Writer));
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.FileWriters.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly WriterCfg writerCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("Output.Printers.Enhanced({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.Printers.Enhanced({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace TBF.Rig.Output.Printers.Label
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("LabelPrinter({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("LabelPrinter({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace TBF.Rig.Output.Printers.MultiLabel
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("MultiLabel.Printer({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("MultiLabel.Printer({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.Printers.OnePerBatch
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("Output.Printers.OnePerMeter({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.Printers.OnePerMeter({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Output.Printers.OnePerMeter
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("Output.Printers.OnePerMeter({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.Printers.OnePerMeter({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace TBF.Rig.Output.Printers.Zapiska
|
||||
public class Printer : ComponentBase, IOperation, GenericDevices.IResultsPrinter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Printer));
|
||||
public override string ToString() { return string.Format("Output.Printers.Zapiska({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Output.Printers.Zapiska({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly PrinterCfg printerCfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user