TopCon API  1.1.0
.Net API to control TopCon devices
CH.Regatron.HPPS.TFE.CurveList Class Reference

This class implements the CurveList that resides inside of the TopCon device (physically in the TopCon or in the virtual correspondant). More...

Inheritance diagram for CH.Regatron.HPPS.TFE.CurveList:
Inheritance graph

Public Member Functions

 CurveList (ReDev.TopCon topCon)
 This class is a List of TFECurves. It includes a pointer to the currently activated TFECurve (might be -null- what means that it references the curve with number 9999 / the last used curve in the TopCon.). More...
 
void UpdateCurveListFromTopCon ()
 This is a convenience function for calling updateCurveListFromTopCon(true) More...
 
void UpdateCurveListFromTopCon (Boolean onDateErrorUseNewCreationDate)
 This method updates this function engine List oft TFECurves with the actual list of curve headers being stored in the flash memory of the TopCon.
Remark: Not all parts of the functions are fetched from the TopCon device, only the TFECurve headers (= number, name, creation date and some internals) are transferred. This keeps the amount of data to be transmitted small.
The curve with number 9999 (automatically saved by TFE) is ignored and not uploaded. More...
 
Boolean IsCurveNumberUsedInList (UInt32 curveNumber)
 This method checks if a curve with the number given as parameter is already available in the uploaded list. More...
 
static string GetLastError ()
 

Detailed Description

This class implements the CurveList that resides inside of the TopCon device (physically in the TopCon or in the virtual correspondant).

Constructor & Destructor Documentation

◆ CurveList()

CH.Regatron.HPPS.TFE.CurveList.CurveList ( ReDev.TopCon  topCon)

This class is a List of TFECurves. It includes a pointer to the currently activated TFECurve (might be -null- what means that it references the curve with number 9999 / the last used curve in the TopCon.).

Parameters
topConReference to the parent TopCon object.

Member Function Documentation

◆ GetLastError()

static string CH.Regatron.HPPS.TFE.CurveList.GetLastError ( )

Get the last exception message.

Returns

Implements CH.Regatron.HPPS.IExceptionMessenger.

◆ IsCurveNumberUsedInList()

Boolean CH.Regatron.HPPS.TFE.CurveList.IsCurveNumberUsedInList ( UInt32  curveNumber)

This method checks if a curve with the number given as parameter is already available in the uploaded list.

Parameters
curveNumberNumber of the curve that is checked for existance.
Returns
true if the curveNumber already exists in this list (does not mean that curve data already is uploaded !), false otherwise.

◆ UpdateCurveListFromTopCon() [1/2]

void CH.Regatron.HPPS.TFE.CurveList.UpdateCurveListFromTopCon ( )

This is a convenience function for calling updateCurveListFromTopCon(true)

◆ UpdateCurveListFromTopCon() [2/2]

void CH.Regatron.HPPS.TFE.CurveList.UpdateCurveListFromTopCon ( Boolean  onDateErrorUseNewCreationDate)

This method updates this function engine List oft TFECurves with the actual list of curve headers being stored in the flash memory of the TopCon.
Remark: Not all parts of the functions are fetched from the TopCon device, only the TFECurve headers (= number, name, creation date and some internals) are transferred. This keeps the amount of data to be transmitted small.
The curve with number 9999 (automatically saved by TFE) is ignored and not uploaded.