x4Trace Documentation v1.0
|
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. | |
Ix4Trace.Engine.SystemParameters.SystemParameters | ( | Controller | controller | ) |
Constructor.
controller | Controller. |
Ix4Trace.Engine.SystemParameters.SystemParameters | ( | Ix4Trace.Engine.Database.ISQL | sqlConnection | ) |
Constructor.
sqlConnection | SQL connection. |
int Ix4Trace.Engine.SystemParameters.GetInt | ( | string | name, |
int | defaultValue ) |
Returns an int value of parameter.
name | Name of parameter. |
defaultValue | Default value when parameter does not exist. |
int[] Ix4Trace.Engine.SystemParameters.GetInt | ( | string | name, |
int[] | defaultValue ) |
Returns an int value array of parameter.
name | Name of parameter. |
defaultValue | Default value when parameter does not exist. |
string Ix4Trace.Engine.SystemParameters.GetParam | ( | string | name | ) |
Returns a value of parameter.
name | Name of parameter. |
string Ix4Trace.Engine.SystemParameters.GetParam | ( | string | name, |
string | defaultValue ) |
Returns a value of parameter.
name | Name of parameter. |
defaultValue | Default value when parameter does not exist. |
void Ix4Trace.Engine.SystemParameters.InsertParameter | ( | string | name, |
string | defaultValue ) |
Insert a parameter.
name | Name of parameter. |
defaultValue | Value of parameter. |
void Ix4Trace.Engine.SystemParameters.SetParam | ( | string | name, |
string | val ) |
Sets the system parameter.
name | Name of parameter. |
val | Value of parameter. |