Refactorization : BenchControl -> Rig
This commit is contained in:
@@ -9,7 +9,7 @@ using log4net;
|
||||
using Oracle.DataAccess.Client;
|
||||
using Results;
|
||||
using Results.Entities;
|
||||
using TBF.BenchControl.Output.DB.SensusOracle;
|
||||
using TBF.Rig.Output.DB.SensusOracle;
|
||||
using TBF.Resources;
|
||||
|
||||
namespace TBF.UI.ResultsMI
|
||||
@@ -225,8 +225,8 @@ namespace TBF.UI.ResultsMI
|
||||
return;
|
||||
}
|
||||
|
||||
TBF.BenchControl.Output.DB.SensusOracle.DatabaseCfg cfg = TBF.BenchControl.ComponentCfgBase.CreateFromDbEntity(DatabaseCfg.Serializer, cmpntEntities[0], null)
|
||||
as TBF.BenchControl.Output.DB.SensusOracle.DatabaseCfg;
|
||||
TBF.Rig.Output.DB.SensusOracle.DatabaseCfg cfg = TBF.Rig.ComponentCfgBase.CreateFromDbEntity(DatabaseCfg.Serializer, cmpntEntities[0], null)
|
||||
as TBF.Rig.Output.DB.SensusOracle.DatabaseCfg;
|
||||
|
||||
/// TODO: Implement database selection
|
||||
MessageBox.Show(string.Format("Výsledky budú zapísané do produkčnej databázy"),
|
||||
@@ -250,8 +250,8 @@ namespace TBF.UI.ResultsMI
|
||||
}
|
||||
|
||||
|
||||
if ((TBF.BenchControl.Sequences.ProcessData.OracleDB != null) &&
|
||||
(TBF.BenchControl.Sequences.ProcessData.OracleDB.WriteResultsToDB(conn, b, true) == Retv.OK))
|
||||
if ((TBF.Rig.Sequences.ProcessData.OracleDB != null) &&
|
||||
(TBF.Rig.Sequences.ProcessData.OracleDB.WriteResultsToDB(conn, b, true) == Retv.OK))
|
||||
{
|
||||
b.RsltsSent = true; /// Result was successfully sent
|
||||
session.SaveOrUpdate(b); /// Update MySQL DB
|
||||
|
||||
Reference in New Issue
Block a user