|
API C#
|
This is the most basic test instruction. It contains everything a test instruction need to be managed and executed. Every test instruction should inherits from this class. More...
Public Member Functions | |
| CBasicInstruction () | |
| Initializes a new instance of the CBasicInstruction class. More... | |
| abstract void | Init () |
| Initialize all members of the instance. More... | |
| abstract bool | EvaluateInstruction () |
| Evaluates the instruction and return the result. More... | |
| abstract CTest | GetTestStructure () |
| This method extracts a CTest structure from the current instruction. More... | |
| abstract void | ResetInstruction () |
| This method reset the current instruction. More... | |
Properties | |
| CInstructionDataTypes.InstructionType | Type [get, set] |
| The type of test instruction. More... | |
| List< int > | Index [get, set] |
| Index of the instruction listed by the level of indexation. More... | |
| string | Title [get, set] |
| The title of the test instruction. Basically, this is what you will be displayed More... | |
| bool | HasBeenExecuted [get, set] |
| Indicates if the instruction has been executed. More... | |
| bool | IsSub [get, set] |
| Indicates if this instruction is a sub instruction More... | |
| string | Comment [get, set] |
| A general comment about the instruction. More... | |
| DateTime | StartTime [get, set] |
| A timestamp to store the starttime of the instruction. More... | |
| DateTime | StopTime [get, set] |
| A timestamp to store the starttime of the instruction. More... | |
| bool | Result [get, set] |
| Indicates if the instruction PASSED or FAILED. More... | |
This is the most basic test instruction. It contains everything a test instruction need to be managed and executed. Every test instruction should inherits from this class.
| Kinova.DLL.TestData.Instruction.CBasicInstruction.CBasicInstruction | ( | ) |
Initializes a new instance of the CBasicInstruction class.
|
pure virtual |
Evaluates the instruction and return the result.
Implemented in Kinova.DLL.TestData.Instruction.CDSPInstruction, Kinova.DLL.TestData.Instruction.CDaqInstruction, Kinova.DLL.TestData.Instruction.CReadInstruction, Kinova.DLL.TestData.Instruction.CDoneInstruction, Kinova.DLL.TestData.Instruction.CWaitInstruction, Kinova.DLL.TestData.Instruction.CPassFailInstruction, Kinova.DLL.TestData.Instruction.CTextInstruction, Kinova.DLL.TestData.Instruction.CDaqBurstReadInstruction, Kinova.DLL.TestData.Instruction.CDaqWaitInstruction, Kinova.DLL.TestData.Instruction.CDaqStartStreamingInstruction, and Kinova.DLL.TestData.Instruction.CDaqSingleReadInstruction.
|
pure virtual |
This method extracts a CTest structure from the current instruction.
Implemented in Kinova.DLL.TestData.Instruction.CDSPInstruction, Kinova.DLL.TestData.Instruction.CReadInstruction, Kinova.DLL.TestData.Instruction.CDaqInstruction, Kinova.DLL.TestData.Instruction.CDaqStartStreamingInstruction, Kinova.DLL.TestData.Instruction.CDaqBurstReadInstruction, Kinova.DLL.TestData.Instruction.CAPITrajInstruction, Kinova.DLL.TestData.Instruction.CDaqSingleReadInstruction, Kinova.DLL.TestData.Instruction.CWaitInstruction, Kinova.DLL.TestData.Instruction.CDoneInstruction, Kinova.DLL.TestData.Instruction.CPassFailInstruction, Kinova.DLL.TestData.Instruction.CTextInstruction, Kinova.DLL.TestData.Instruction.CAPIInstruction, Kinova.DLL.TestData.Instruction.CReadCPositionInstruction, Kinova.DLL.TestData.Instruction.CReadRevisionInstruction, Kinova.DLL.TestData.Instruction.CReadVersionInstruction, Kinova.DLL.TestData.Instruction.CManualReadInstruction, and Kinova.DLL.TestData.Instruction.CDaqWaitInstruction.
|
pure virtual |
Initialize all members of the instance.
Implemented in Kinova.DLL.TestData.Instruction.CDSPInstruction, Kinova.DLL.TestData.Instruction.CDaqInstruction, Kinova.DLL.TestData.Instruction.CReadInstruction, Kinova.DLL.TestData.Instruction.CAPITrajInstruction, Kinova.DLL.TestData.Instruction.CReadCPositionInstruction, Kinova.DLL.TestData.Instruction.CReadRevisionInstruction, Kinova.DLL.TestData.Instruction.CReadVersionInstruction, Kinova.DLL.TestData.Instruction.CAPIInstruction, Kinova.DLL.TestData.Instruction.CWaitInstruction, Kinova.DLL.TestData.Instruction.CManualReadInstruction, Kinova.DLL.TestData.Instruction.CDoneInstruction, Kinova.DLL.TestData.Instruction.CPassFailInstruction, Kinova.DLL.TestData.Instruction.CTextInstruction, Kinova.DLL.TestData.Instruction.CDaqBurstReadInstruction, Kinova.DLL.TestData.Instruction.CDaqSingleReadInstruction, Kinova.DLL.TestData.Instruction.CDaqStartStreamingInstruction, and Kinova.DLL.TestData.Instruction.CDaqWaitInstruction.
|
pure virtual |
This method reset the current instruction.
Implemented in Kinova.DLL.TestData.Instruction.CDSPInstruction, Kinova.DLL.TestData.Instruction.CReadInstruction, Kinova.DLL.TestData.Instruction.CDaqInstruction, Kinova.DLL.TestData.Instruction.CWaitInstruction, Kinova.DLL.TestData.Instruction.CDoneInstruction, Kinova.DLL.TestData.Instruction.CPassFailInstruction, Kinova.DLL.TestData.Instruction.CTextInstruction, and Kinova.DLL.TestData.Instruction.CDaqWaitInstruction.
|
getset |
A general comment about the instruction.
|
getset |
Indicates if the instruction has been executed.
|
getset |
Index of the instruction listed by the level of indexation.
|
getset |
Indicates if this instruction is a sub instruction
|
getset |
Indicates if the instruction PASSED or FAILED.
|
getset |
A timestamp to store the starttime of the instruction.
|
getset |
A timestamp to store the starttime of the instruction.
|
getset |
The title of the test instruction. Basically, this is what you will be displayed
|
getset |
The type of test instruction.