Style changes to prevent warnings.

This commit is contained in:
Milan Hanajik
2021-04-03 00:54:18 +02:00
parent e651244601
commit 535038bce1
83 changed files with 161 additions and 381 deletions
@@ -117,7 +117,7 @@ namespace TBF.Rig.Output.DB.ProductionTracing
///
/// IDevice interface implementation
///
public void Initialize()
public override void Initialize()
{
if (tracingCfg.DebugLevel == DebugMode.Simulate) return;
+10 -10
View File
@@ -112,32 +112,32 @@ namespace TBF.Rig.Output.DB.SensusOracle
}
}
///
/// The following 3 variables are always updated together
///
int wmTypeId;
int wmTypeRevision;
string procedureSignature;
#if ORACLE_DB
IList<SensusTestInfo> oracleTestInfo; /// Raw incomplete test info from Oracle DB (or null)
SensusTestInfo[] completeTestInfo; /// Complete TBF test info obtained as the best match (never null when oracleTestInfo != null)
/// The following 3 variables are always updated together
int wmTypeId;
int wmTypeRevision;
string procedureSignature;
#endif
public Database() {}
public Database() {}
public Database(Generic.IComponentCfg cfg)
: base(cfg)
{
dbCfg = cfg as DatabaseCfg;
currentOpState = OpState.None;
log.Warn(this.ToString());
}
///
/// IDevice interface implementation
///
public void Initialize()
public override void Initialize()
{
currentOpState = OpState.None;
if (dbCfg.DebugLevel == DebugMode.Simulate) return;
productionDB = new OracleConnection("Data Source=STARA01.WORLD;User Id=deltachef;Password=deltachef;");
@@ -57,8 +57,6 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
Results.Entities.Batch batch;
bool abort; /// Set to 'true' by Stop() operation to abort writing to the file
public Archiver() {}
@@ -25,14 +25,12 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
}
}
string[] selectedItems;
public ArchiverCfgCtrl()
{
InitializeComponent();
}
private void WriterCfgCtrl_Load(object sender, EventArgs e)
private void ArchiverCfgCtrl_Load(object sender, EventArgs e)
{
for (YearFolders s = 0; s < YearFolders.Count; s++) yearFoldersComboBox.Items.Add(s.ToString());
for (MonthFolders s = 0; s < MonthFolders.Count; s++) monthFoldersComboBox.Items.Add(s.ToString());
@@ -292,7 +292,7 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
this.Controls.Add(this.classNameLabel);
this.Name = "ArchiverCfgCtrl";
this.Size = new System.Drawing.Size(455, 350);
this.Load += new System.EventHandler(this.WriterCfgCtrl_Load);
this.Load += new System.EventHandler(this.ArchiverCfgCtrl_Load);
this.ResumeLayout(false);
this.PerformLayout();