TracingDB/Enums.cs updated, Output/DB/ProductionTracing/Enums.cs removed
This commit is contained in:
parent
1e50cc6fb7
commit
ff3de55593
@ -1,48 +0,0 @@
|
|||||||
///
|
|
||||||
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
|
||||||
///
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace TBF.BenchControl.Output.DB.ProductionTracing
|
|
||||||
{
|
|
||||||
public enum CodeType
|
|
||||||
{
|
|
||||||
UniqueNr,
|
|
||||||
FlowtubeNr, /// Prvé 3 znaky sa zhodujú s poslednými 3 znakmi názvu
|
|
||||||
FlowtubeNrLU, /// Začiatok kódu sa zhoduje s názvom
|
|
||||||
BatchNr,
|
|
||||||
BatchNrContainingPartName,
|
|
||||||
DateMMYY,
|
|
||||||
QualityCheck,
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum CodeForm
|
|
||||||
{
|
|
||||||
Barcode,
|
|
||||||
QRCode,
|
|
||||||
Keyboard,
|
|
||||||
OkNok,
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum CodeLocation
|
|
||||||
{
|
|
||||||
OnPart,
|
|
||||||
OnPallet,
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum LifetimeManagement
|
|
||||||
{
|
|
||||||
None,
|
|
||||||
OneYear,
|
|
||||||
Count,
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum ReleaseStatus
|
|
||||||
{
|
|
||||||
In_preparation,
|
|
||||||
Released,
|
|
||||||
ReleasedActive,
|
|
||||||
Deactivated,
|
|
||||||
Count,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,9 +1,10 @@
|
|||||||
///
|
///
|
||||||
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
/// Copyright (c) 2018-2020 Sensus Slovensko a.s.
|
||||||
///
|
///
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using MySql.Data.MySqlClient;
|
using MySql.Data.MySqlClient;
|
||||||
|
using TracingDB;
|
||||||
|
|
||||||
namespace TBF.BenchControl.Output.DB.ProductionTracing
|
namespace TBF.BenchControl.Output.DB.ProductionTracing
|
||||||
{
|
{
|
||||||
@ -15,9 +16,9 @@ namespace TBF.BenchControl.Output.DB.ProductionTracing
|
|||||||
public string Description;
|
public string Description;
|
||||||
public string Code;
|
public string Code;
|
||||||
public DateTime TimeStamp;
|
public DateTime TimeStamp;
|
||||||
public CodeType CodeType;
|
public TracingDB.CodeType CodeType;
|
||||||
public CodeForm CodeForm;
|
public TracingDB.CodeForm CodeForm;
|
||||||
public CodeLocation CodeLocation;
|
public TracingDB.CodeLocation CodeLocation;
|
||||||
public string UserName;
|
public string UserName;
|
||||||
public string Workplace;
|
public string Workplace;
|
||||||
|
|
||||||
|
|||||||
@ -884,7 +884,6 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BenchControl\Operations\LargeMessageBoxOp.cs" />
|
<Compile Include="BenchControl\Operations\LargeMessageBoxOp.cs" />
|
||||||
<Compile Include="BenchControl\Operations\ReturnGivenEventOp.cs" />
|
<Compile Include="BenchControl\Operations\ReturnGivenEventOp.cs" />
|
||||||
<Compile Include="BenchControl\Output\DB\ProductionTracing\Enums.cs" />
|
|
||||||
<Compile Include="BenchControl\Output\DB\ProductionTracing\Tracing.cs" />
|
<Compile Include="BenchControl\Output\DB\ProductionTracing\Tracing.cs" />
|
||||||
<Compile Include="BenchControl\Output\DB\ProductionTracing\MonitoringCfg.cs" />
|
<Compile Include="BenchControl\Output\DB\ProductionTracing\MonitoringCfg.cs" />
|
||||||
<Compile Include="BenchControl\Output\DB\ProductionTracing\TracingCfgCtrl.cs">
|
<Compile Include="BenchControl\Output\DB\ProductionTracing\TracingCfgCtrl.cs">
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
using System;
|
///
|
||||||
|
/// Copyright (c) 2018-2020 Sensus Slovensko a.s.
|
||||||
|
///
|
||||||
|
using System;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
|
|
||||||
@ -59,6 +62,14 @@ namespace TracingDB
|
|||||||
[Description("4")]
|
[Description("4")]
|
||||||
QualityCheck,
|
QualityCheck,
|
||||||
|
|
||||||
|
[Description("Obj.")]
|
||||||
|
PO, /// Purchase order from Oracle table VT_AUFTRAG_PD
|
||||||
|
|
||||||
|
[Description("Silicon")]
|
||||||
|
Silicon, /// 1. change requires special password
|
||||||
|
/// 2. do not clear
|
||||||
|
/// 3. save locally
|
||||||
|
/// 4. carry over to other workflows
|
||||||
Count
|
Count
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,8 +84,8 @@ namespace TracingDB
|
|||||||
|
|
||||||
public enum CodeLocation
|
public enum CodeLocation
|
||||||
{
|
{
|
||||||
OnPart,
|
|
||||||
OnPallet,
|
OnPallet,
|
||||||
|
OnPart,
|
||||||
Count
|
Count
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,8 +121,8 @@ namespace TracingDB
|
|||||||
{
|
{
|
||||||
In_preparation, /// Process definition is not completed, cannot be used in production
|
In_preparation, /// Process definition is not completed, cannot be used in production
|
||||||
ToBeApproved, /// Process is completed, protected against changes and waits for an approval
|
ToBeApproved, /// Process is completed, protected against changes and waits for an approval
|
||||||
Released, /// Process is ready for production (completed, protected, approved), but it is inactive
|
|
||||||
ReleasedActive, /// Process is ready for production, it is active = enabled
|
ReleasedActive, /// Process is ready for production, it is active = enabled
|
||||||
|
Released, /// Process is ready for production (completed, protected, approved), but it is inactive
|
||||||
Deactivated, /// Process was used in production but it was de-activated (should never be deleted as there are references to the process)
|
Deactivated, /// Process was used in production but it was de-activated (should never be deleted as there are references to the process)
|
||||||
Separator, /// 'Process' is only a named separator between other process items
|
Separator, /// 'Process' is only a named separator between other process items
|
||||||
Count,
|
Count,
|
||||||
@ -119,9 +130,12 @@ namespace TracingDB
|
|||||||
|
|
||||||
public enum Mode
|
public enum Mode
|
||||||
{
|
{
|
||||||
Debug, // Debug mode - no Oracle database used
|
Production, /// Stara Tura production DB is used
|
||||||
Test, // Test database used
|
Test, /// Stara Tura test DB is used
|
||||||
Production, // Production database used
|
ProductionLU, /// Ludwigshafen production DB is used
|
||||||
|
TestLU, /// Ludwigshafen test DB is used
|
||||||
|
NoWritesToDB, /// Stara Tura production DB - no writes to the database
|
||||||
|
Debug, /// Debug mode - no database used at all
|
||||||
Count,
|
Count,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,6 +176,7 @@ namespace TracingDB
|
|||||||
TestBenchId,
|
TestBenchId,
|
||||||
|
|
||||||
Process,
|
Process,
|
||||||
|
Result,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ItemSpecCaps
|
public enum ItemSpecCaps
|
||||||
@ -171,4 +186,18 @@ namespace TracingDB
|
|||||||
AssociatedRecord = 2,
|
AssociatedRecord = 2,
|
||||||
OracleQuery = 4,
|
OracleQuery = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum VerifState
|
||||||
|
{
|
||||||
|
Undefined = 0, /// Undefined (only used in OnActivity(..) when start/stop info message is issued)
|
||||||
|
SNisMissing, /// S/N is missing in the parsed record
|
||||||
|
SNisInvalid, /// S/N in the parsed record is invalid
|
||||||
|
NoRecordAtAll, /// No record with this S/N in tracing DB
|
||||||
|
VerificationIsDisabled, /// ...
|
||||||
|
NoVerificationForThisProcess,
|
||||||
|
VerificationPassed, /// Verification of a previous record passed
|
||||||
|
VerificationFailed, /// Verification of a previous record failed, no matching record found
|
||||||
|
TracingDBReadOrWriteFailed,
|
||||||
|
PrintingFailed,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user