ProjectUi is the representation of a LogiKal project and provides methods with user interactions. The children are of type PhaseUi. The children can be received from the InfoList (CoreObject<T>.Infos).
More...
|
| void | Report (ReportItem reportItem, IList< ICoreInfoReportable > items, Dictionary< string, string > parameters) |
| | Creates a report according to the given report type via user interface. The report is generated for the passed elevations. If an empty list is passed, a report with all elevations of the project is automatically generated. More...
|
| |
|
IList< ProjectRunnableProgram > | GetRunnablePrograms () |
| |
| OperationStatus | RunProgram (ProjectRunnableProgram program, Dictionary< string, object > optionalParameters=null) |
| | Runs the project program specified by the ProjectRunnableProgram. More...
|
| |
| new PhaseUi | GetPhase (PhaseInfo phaseInfo) |
| | Returns the corresponding phase based on the given information data. More...
|
| |
| void | ExportCncFiles (List< ElevationInfo > elevationInfos) |
| | Opens a user interface to export the given elevations as CNC files. More...
|
| |
| Phase | GetPhase (PhaseInfo phaseInfo) |
| | Returns the corresponding phase based on the given information data. More...
|
| |
| PhaseInfo | CreatePhase (string name, string description) |
| | Creates a new Phase to the LogiKal projectvia user interface. More...
|
| |
| void | DeletePhase (PhaseInfo phaseInfo) |
| | Deletes a phase from this project. More...
|
| |
| IList< ReportCategory > | GetAvailableUserReports () |
| | Return all available reports. More...
|
| |
|
override Phase | GetChild (PhaseInfo childInfo) |
| |
| ProjectInfo | SetParameter (string key, object value) |
| | Takes the parameter to update the project. More...
|
| |
|
virtual OperationInfo | CanEdit (string key, object value) |
| |
| virtual TOwnInfo | Edit (string key, object value) |
| |
ProjectUi is the representation of a LogiKal project and provides methods with user interactions. The children are of type PhaseUi. The children can be received from the InfoList (CoreObject<T>.Infos).
◆ ExportCncFiles()
| void Ofcas.Lk.Api.Client.Ui.ProjectUi.ExportCncFiles |
( |
List< ElevationInfo > |
elevationInfos | ) |
|
Opens a user interface to export the given elevations as CNC files.
- Parameters
-
| elevationInfos | The list of elevations to be exported. |
- Exceptions
-
| ApiException | Occurs if the method fails. |
◆ GetPhase()
Returns the corresponding phase based on the given information data.
- Parameters
-
| phaseInfo | The phase information obtained through the CoreObject<T>.Infos function. |
- Returns
- the PhaseUi
- Exceptions
-
| Exception | If getting elevation failed. |
◆ Report()
| void Ofcas.Lk.Api.Client.Ui.ProjectUi.Report |
( |
ReportItem |
reportItem, |
|
|
IList< ICoreInfoReportable > |
items, |
|
|
Dictionary< string, string > |
parameters |
|
) |
| |
Creates a report according to the given report type via user interface. The report is generated for the passed elevations. If an empty list is passed, a report with all elevations of the project is automatically generated.
- Parameters
-
| reportItem | Defines the type of report. Report types can be received with Project.GetAvailableUserReports |
| items | List of elevations to be used for the report |
| parameters | A dictionary with parameters can be used to specify reports options. (Not supported) |
◆ RunProgram()
| OperationStatus Ofcas.Lk.Api.Client.Ui.ProjectUi.RunProgram |
( |
ProjectRunnableProgram |
program, |
|
|
Dictionary< string, object > |
optionalParameters = null |
|
) |
| |
Runs the project program specified by the ProjectRunnableProgram.
- Parameters
-
| program | The info object of the program to be run. |
| optionalParameters | The optional parameters for the program to be run. |
OBJECTGUID: sets the object guid for special mode, value-type: Guid
PROGRAMMODE: sets the program mode for special mode, value-type: ProgramMode
- Returns
- Returns an OperationStatus for the running program.
- Exceptions
-
| ApiException | Occurs if the method fails. |
The documentation for this class was generated from the following file: