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

Classes

class  Controller
 Controller object of x4Trace. Represents every basic functions to communicate with server. More...
 
interface  IGraphicsController
 Represents a basic class of graphics controller. More...
 
class  MDTException
 
class  SQLGroupCommand
 Represents a command list of SQL. This makes one execution of all commands. Only update/insert is available. More...
 
class  SystemParameters
 

Enumerations

enum  SerializationType { JsonDataContract = 1 , ObjectSerialization = 2 , BinarySerialization = 3 }
 Type of the serialization of the communication.
 
enum  ErrorLevel { Info = 0 , Message = 1 , Error = 2 }
 Level of error. More...
 
enum  X4TErrorCodes {
  ProcessIsAlreadyRunning = 1000000 , UserIsNotExists = 1000001 , DriverVariableIsMissing = 1000002 , VariableNotFoundException = 1000003 ,
  OldPWException = 1000004 , CheckPWException = 1000005 , NoRightException = 1000006 , UserAlreadyLoggedInException = 1000007 ,
  NoProductionTaskException = 1000008 , NoProductionTaskCellException = 1000009 , NoInstanceException = 1000010 , QtyLessException = 1000011 ,
  NoOutputException = 1000012 , OutputPortHasNoConnectionException = 1000013 , NoInputException = 1000014 , RollbackToStartIsNotAvailableException = 1000015 ,
  NotAvailableDuplicateException = 1000016 , EmptyParameterException = 1000017 , ProductIsOnOtherOperationException = 1000018 , FlowBlockMissingException = 1000019 ,
  KanbanBoxIsNotExist = 1000020 , NoInstanceIDException = 1000021 , DestinationBlockIsStartBlockException = 1000022 , QtyLessThanZeroException = 1000023 ,
  GroupNotFoundException = 1000024 , InstanceNotFoundException = 1000025 , GeneratedBlockIsMissingException = 1000026 , DuplicatedCodeException = 1000027 ,
  ProductNotFoundException = 1000028 , SequentialItemIsAlreadyFinishedException = 1000029 , FinishDateOFSequentialItemIsSmallerThanStartException = 1000030 , FeatureNotFoundException = 1000031 ,
  MoreThanOneInputException = 1000032 , DownTimeIsStillRunningException = 1000033 , DownTimeCoverAllBlockException = 1000034 , ProductionOrderOperationBlockIsNotExistsException = 1000035 ,
  DesignerItemNotFoundException = 1000036 , BlockVariableIsAlreadyAddedException = 1000037 , ServerPluginIsAlreadyConnected = 1000038 , RemoteControllerIsAlreadyConnectedException = 1000039 ,
  NoFloException = 1000040 , NoFileException = 1000041 , NoCalendarSpanException = 1000042 , LockException = 1000043 ,
  LineException = 1000044 , LineIsNotRunningOnServerException = 1000045 , GeneratingBMPEventIsMissingException = 1000046 , ConveyanceIsDisabledBecauseFlowIsNotSavedException = 1000047 ,
  UnableToDeleteFlowBlockDueExistingProcessException = 1000048 , UnableToDeleteFlowBlockDueInputElementsException = 1000049 , TwoRowHasToBeSelectedException = 1000050 , RecordIsLockedException = 1000051 ,
  PortIsNotSelectedException = 1000052 , DestinationIsNotSelectedException = 1000053 , NoGeneratedOrderBlockException = 1000054 , NoSelectedInstanceException = 1000055 ,
  NoRowSelected = 1000056 , NoSelectedTask = 1000057 , NoSelectedTaskOrCell = 1000058 , NoSelectedCellOrAssign = 1000059 ,
  OnlyOneTaskHaveToBeSelected = 1000060 , NoAssignedTaskException = 1000061 , DepartmentIsNotSelected = 1000062 , InstanceDictionaryNotFoundException = 1000063 ,
  ProcessNotFoundException = 1000064 , DriverProcessIsTimedOutException = 1000064 , AssignmentStatusFinishedException = 1000065 , InstanceAlreadyExistsException = 1000067 ,
  Unknow = int.MaxValue
}
 Eepresents an enum for error codes of x4Trace. More...
 

Functions

delegate void Disconnected ()
 Delegate of disconnected from server.
 
delegate void EventReceived (Ix4Trace.Messages.Event evt)
 Delegate of event received from server.
 
delegate void RemoteControlReceived (Ix4Trace.Messages.RemoteCommand remoteControl)
 Delegate of remote control message received from server.
 
delegate void MessageReceived (Ix4Trace.Messages.Message message)
 Delegate of message received from server.
 
delegate void ReconnectEvent ()
 Delegate of reconnect to server.
 
delegate void ReconnectedEvent ()
 Delegate of reconnected to server.
 
delegate void ExceptionThrown (MDTException ex)
 Delegate of exception was thrown event.
 

Enumeration Type Documentation

◆ ErrorLevel

Level of error.

Enumerator
Info 

Information.

Message 

Message.

Error 

Error.

◆ X4TErrorCodes

Eepresents an enum for error codes of x4Trace.

Enumerator
ProcessIsAlreadyRunning 

The process is already running.

UserIsNotExists 

The user is not exist.

DriverVariableIsMissing 

Variable of driver is missing.

VariableNotFoundException 

Variable not found.

OldPWException 

The old and the new password of user are not match.

CheckPWException 

New password is not correct.

NoRightException 

No right to access.

UserAlreadyLoggedInException 

The user is already logged in.

NoProductionTaskException 

Production task is not exist.

NoProductionTaskCellException 

Cell of production task is missing.

NoInstanceException 

The instance is not exist.

QtyLessException 

The quantity of the input is less then required.

NoOutputException 

There is no output port.

OutputPortHasNoConnectionException 

The outpot port has no connection.

NoInputException 

The block has no input.

RollbackToStartIsNotAvailableException 

Start of rollback instance is not available.

NotAvailableDuplicateException 

Instance is not available to duplicate.

EmptyParameterException 

The parameter is empty.

ProductIsOnOtherOperationException 

The product is not avalilable to pass the block. The instance is on another operation.

FlowBlockMissingException 

The flow bloch is not exists.

KanbanBoxIsNotExist 

The kanban box is not exist.

NoInstanceIDException 

The ID of instance is not exist.

DestinationBlockIsStartBlockException 

The destination block can not be the start block.

QtyLessThanZeroException 

The quantity is less than zero.

GroupNotFoundException 

The group of instance is not exist.

InstanceNotFoundException 

The instance is not exist.

GeneratedBlockIsMissingException 

The order block is missing. You have to generate it.

DuplicatedCodeException 

Instance code is already exists.

ProductNotFoundException 

The product is not exist.

SequentialItemIsAlreadyFinishedException 

The item of sequential designer is already fhinished.

FinishDateOFSequentialItemIsSmallerThanStartException 

Date of finish of sequential item is smaller than start date.

FeatureNotFoundException 

The feature is not exist.

MoreThanOneInputException 

The block ha more than one input.

DownTimeIsStillRunningException 

The dowtime is still running.

DownTimeCoverAllBlockException 

Stop of downtime id not available, because it covers all process of block.

ProductionOrderOperationBlockIsNotExistsException 

The order block is missing. You have to generate it.

DesignerItemNotFoundException 

The item of designer is not found.

BlockVariableIsAlreadyAddedException 

The variable of the block is already added.

ServerPluginIsAlreadyConnected 

This client has an already connected sever plugin.

RemoteControllerIsAlreadyConnectedException 

This client has an already connected remote controller.

NoFloException 

The order has no flow.

NoFileException 

The file is not exists.

NoCalendarSpanException 

The calendar has no elements.

LockException 

The lock of entity is not successful.

LineException 

Line error.

LineIsNotRunningOnServerException 

The line is not running on server.

GeneratingBMPEventIsMissingException 

Generating algorithm of bmp is missing.

ConveyanceIsDisabledBecauseFlowIsNotSavedException 

Flow is not saved. Conveyance is disabled.

UnableToDeleteFlowBlockDueExistingProcessException 

The flow block has one or more process. Unable to delete.

UnableToDeleteFlowBlockDueInputElementsException 

The flow block has input instances. Unable to delete.

TwoRowHasToBeSelectedException 

More than one row is selected.

RecordIsLockedException 

The record is locked.

PortIsNotSelectedException 

The port is not selected.

DestinationIsNotSelectedException 

The destination port is not selected.

NoGeneratedOrderBlockException 

The order block is missing. You have to generate it.

NoSelectedInstanceException 

There is no selected instance.

NoRowSelected 

No row selected.

NoSelectedTask 

There is no selected task.

NoSelectedTaskOrCell 

There is no selected task or cell.

NoSelectedCellOrAssign 

There is no selected cell or assign.

OnlyOneTaskHaveToBeSelected 

Only one task have to be selected.

NoAssignedTaskException 

The is no assigned task.

DepartmentIsNotSelected 

Department is not selected.

InstanceDictionaryNotFoundException 

The instance is not exist.

ProcessNotFoundException 

The process is not exist.

DriverProcessIsTimedOutException 

Driver process is timed out.

AssignmentStatusFinishedException 

Status of this assignment is finished.

InstanceAlreadyExistsException 

The instance is not exist.

Unknow 

Unknow exception.

Function Documentation

◆ EventReceived()

delegate void Ix4Trace.Engine.EventReceived ( Ix4Trace.Messages.Event evt)

Delegate of event received from server.

Parameters
evtThe event.

◆ ExceptionThrown()

delegate void Ix4Trace.Engine.ExceptionThrown ( MDTException ex)

Delegate of exception was thrown event.

Parameters
exThe exception.

◆ MessageReceived()

delegate void Ix4Trace.Engine.MessageReceived ( Ix4Trace.Messages.Message message)

Delegate of message received from server.

Parameters
messageMessage from server.

◆ RemoteControlReceived()

delegate void Ix4Trace.Engine.RemoteControlReceived ( Ix4Trace.Messages.RemoteCommand remoteControl)

Delegate of remote control message received from server.

Parameters
remoteControlCommand of remote control.