x4Trace Documentation v1.0
Loading...
Searching...
No Matches
Ix4Trace.Engine.SystemParameters Class Reference

Public Member Functions

 SystemParameters (Controller controller)
 Constructor.
 
 SystemParameters (Ix4Trace.Engine.Database.ISQL sqlConnection)
 Constructor.
 
void Initialize ()
 Initialises the system parameters.
 
void InsertAllParameters ()
 Inserts all parameter.
 
void InsertParameter (string name, string defaultValue)
 Insert a parameter.
 
string GetParam (string name)
 Returns a value of parameter.
 
string GetParam (string name, string defaultValue)
 Returns a value of parameter.
 
void SetParam (string name, string val)
 Sets the system parameter.
 
int GetInt (string name, int defaultValue)
 Returns an int value of parameter.
 
int[] GetInt (string name, int[] defaultValue)
 Returns an int value array of parameter.
 

Static Public Attributes

static string ver_android = "0.01"
 Android version.
 
static string ver_ios = "0.01"
 IOS version.
 
static string ver_desktop = "0.01"
 Desktop version.
 
static string ver_pi = "0.01"
 Raspberry PI version.
 

Properties

string Designer_Matrix_OrderFilter = "" [get, set]
 Filter of the order of matrix designer.
 
decimal RunTimeDevider [get, set]
 Devider of runtime.
 
int QualityControlDepartmentID [get, set]
 ID of department of quality control.
 
int RepairDepartmentID [get, set]
 ID of department of repait or rework.
 
int PackagingDepartmentID [get, set]
 Department ID of packaging.
 
int ConveyanceCenterID [get, set]
 
int LockTimeoutInSec [get, set]
 Timeout of lock in sec.
 
int LockSleepTimeInMS [get, set]
 Sleep timeout of the lock.
 
int PassPortType [get, set]
 Type of pass port.
 
string KanbanLocationPrefix = "" [get, set]
 Prefix of code of kanban location.
 
string KanbanBoxPrefix = "" [get, set]
 Prefix of code of kanban box.
 
string ServerVersion = "" [get, set]
 Server version.
 
int MatrixDesignerDecimals [get]
 Decimal values of matrix designer.
 
int SequentialDesignerDecimals [get]
 Decimal values of sequential designer.
 
int[] MatrixDesignerShifts [get]
 Shift IDs of matrix designer.
 
int Number1Decimals [get]
 Decimals 1.
 
int Number2Decimals [get]
 Decimals 2.
 
int Number3Decimals [get]
 Decimals 3.
 
string QualityControlDepartments [get]
 Department IDs of quality control.
 
string ProcessDisplayDateFormat [get]
 Time format of process display.
 
string ProductionProcessOutputResultSummary [get]
 Default summary of process output for statistics.
 

Private Attributes

Controller controller
 Controller.
 
Ix4Trace.Engine.Database.ISQL sqlConnection
 Connection of SQL.
 
int matrixDesignerDecimals = 2
 Decimal values of matrix designer.
 
int sequentialDesignerDecimals = 2
 Decimal values of sequential designer.
 
int[] matrixDesignerShifts = new int[0]
 Shift IDs of matrix designer.
 
string qualityControlDepartments = "1;2;4;5"
 Department IDs of quality control.
 
string processDisplayTimeFormat = "yy:MM:dd HH:mm"
 Time format of process display.
 
int number1Decimals = 2
 Decimals 1.
 
int number2Decimals = 0
 Decimals 2.
 
int number3Decimals = 4
 Decimals 3.
 
string productionProcessOutputResultSummary = "PASS"
 Default summary of process output for statistics.
 

Constructor & Destructor Documentation

◆ SystemParameters() [1/2]

Ix4Trace.Engine.SystemParameters.SystemParameters ( Controller controller)

Constructor.

Parameters
controllerController.

◆ SystemParameters() [2/2]

Ix4Trace.Engine.SystemParameters.SystemParameters ( Ix4Trace.Engine.Database.ISQL sqlConnection)

Constructor.

Parameters
sqlConnectionSQL connection.

Member Function Documentation

◆ GetInt() [1/2]

int Ix4Trace.Engine.SystemParameters.GetInt ( string name,
int defaultValue )

Returns an int value of parameter.

Parameters
nameName of parameter.
defaultValueDefault value when parameter does not exist.
Returns
Value or default value.

◆ GetInt() [2/2]

int[] Ix4Trace.Engine.SystemParameters.GetInt ( string name,
int[] defaultValue )

Returns an int value array of parameter.

Parameters
nameName of parameter.
defaultValueDefault value when parameter does not exist.
Returns
Value or default value.

◆ GetParam() [1/2]

string Ix4Trace.Engine.SystemParameters.GetParam ( string name)

Returns a value of parameter.

Parameters
nameName of parameter.
Returns
Value.

◆ GetParam() [2/2]

string Ix4Trace.Engine.SystemParameters.GetParam ( string name,
string defaultValue )

Returns a value of parameter.

Parameters
nameName of parameter.
defaultValueDefault value when parameter does not exist.
Returns
Value or default value.

◆ InsertParameter()

void Ix4Trace.Engine.SystemParameters.InsertParameter ( string name,
string defaultValue )

Insert a parameter.

Parameters
nameName of parameter.
defaultValueValue of parameter.

◆ SetParam()

void Ix4Trace.Engine.SystemParameters.SetParam ( string name,
string val )

Sets the system parameter.

Parameters
nameName of parameter.
valValue of parameter.

The documentation for this class was generated from the following file: