|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.111
|
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...
Public Member Functions | |
| new PhaseUi | GetChild (PhaseInfo phaseInfo) |
| Gets a PhaseUi based on a PhaseInfo. More... | |
| new ProjectInformationContainerUi | GetProjectInformationContainer (IProjectInformationType projectInformationType) |
| Returns the project information container to the given project information type (IProjectInformationType). The ProjectInformationContainerUi allows access to the items of the corresponding project information. More... | |
| new PhaseUi | GetPhase (PhaseInfo phaseInfo) |
| This method is deprecated. Please use GetChild(PhaseInfo) instead. More... | |
| new IEnumerable< PhaseUi > | GetChildren (IEnumerable< PhaseInfo > childrenInfos=null) |
| Gets a PhaseUis based on a PhaseInfos. More... | |
| void | SetApplicationHandle (IntPtr uiHandle) |
| Sets an ui handle. All opened user interfaces used this handle as parent. After an operation the default handle from the login scope will be used (ServiceProxyBase<TService,TCoreObject>.Login(string,long,System.TimeSpan)). More... | |
| void | Report (ReportItem reportItem, IEnumerable< ICoreInfoReportable > items, Dictionary< string, string > parameters) |
| This method is deprecated. Please use Report(ReportItem, IEnumerable<ICoreInfoReportable>, Dictionary<string, object>) instead. More... | |
| IDialogResult< ReportResult > | Report (ReportItem reportItem, IEnumerable< ICoreInfoReportable > reportables, Dictionary< string, object > 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 () |
| Retrieves a list of available ProjectRunnablePrograms. More... | |
| OperationStatus | RunProgram (ProjectRunnableProgram program, Dictionary< string, object > optionalParameters=null) |
| This method is deprecated. Please use ShowModal(ProjectRunnableProgram, Dictionary<string, object>) instead. More... | |
| DialogResultCode | ShowModal (ProjectRunnableProgram program, Dictionary< string, object > parameters) |
| Shows the ProjectRunnableProgram in a modal window. More... | |
| ISynchronizedOperation | Show (ProjectRunnableProgram program, Dictionary< string, object > parameters) |
| Shows the ProjectRunnableProgram in a modal window. More... | |
| DialogResultCode | WaitForShow (ISynchronizedOperation synchronizedOperation) |
| Waits for the ISynchronizedOperation to finish. More... | |
| IDialogResult< ExportResult > | ExportCncFiles (IEnumerable< ElevationInfo > elevationInfos) |
| Opens a user interface to export the given elevations as CNC files. More... | |
| IDialogResult< Stream > | SelectGlass () |
| Selects a glass via user interface. More... | |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Project | |
| override ProjectInfo | Refresh () |
| IList< IProjectInformationType > | GetProjectInformations () |
| Returns all available project informations for the current Project. More... | |
| ProjectInformationContainer | GetProjectInformationContainer (IProjectInformationType projectInformationType) |
| Returns the project information container to the given project information type (IProjectInformationType). The ProjectInformationContainer allows access to the items of the corresponding project information. More... | |
| override Phase | GetChild (PhaseInfo phaseInfo) |
| Gets a Phase based on a PhaseInfo. More... | |
| override IEnumerable< Phase > | GetChildren (IEnumerable< PhaseInfo > childrenInfos=null) |
| Gets Phases based on the list of PhaseInfos. More... | |
| Phase | GetPhase (PhaseInfo phaseInfo) |
| This method is deprecated. Please use GetChild(PhaseInfo) instead. More... | |
| override OperationInfo | CanEdit (string key, object value) |
| Checks whether a project can be edited or not. More... | |
| override ProjectInfo | Edit (string key, object value) |
| Edits a project based on a key and a value. More... | |
| PhaseInfo | CreatePhase (string name, string description) |
| This method is obsolete, please use CanCreateChild() and CreateChild() instead and change the name with Edit(). See WellKnownEditKeys.Phase. More... | |
| override OperationInfo | CanCreateChild () |
| Checks whether a phase can be created or not. More... | |
| override PhaseInfo | CreateChild () |
| Creates a new phase with a default name. Call Phase.Edit with WellKnownEditKeys.Phase to change values. More... | |
| IList< ReportCategory > | GetAvailableUserReports () |
| This method is deprecated. Please use GetReports instead. More... | |
| IList< ReportCategory > | GetReports () |
| Return all available reports. More... | |
| override PhaseInfo | RefreshChild (PhaseInfo childInfo) |
| OperationInfo | CanAdd (ICoreInfo coreInfo) |
| Used to check if an ElevationInfo can be added to a project of type ProjectType.FabricationLot. More... | |
| PhaseInfo | Add (ICoreInfo coreInfo) |
| Used to add an ElevationInfo to a project of type ProjectType.FabricationLot. More... | |
| override OperationInfo | CanDeleteChild (PhaseInfo childInfo) |
| override void | DeleteChild (PhaseInfo childInfo) |
| void | UpdatePartsLists (IEnumerable< ElevationInfo > items) |
| Update the parts list for all given elevations. If an empty list is passed, an update with all elevations of the project is automatically done. More... | |
Protected Member Functions | |
| override Phase | CreateNewInstance (Guid coreObjectId, PhaseInfo phaseInfo) |
| override ProjectInformationContainer | CreateNewInstance (Guid coreObjectId) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.Project | |
| override void | RefreshChildren (bool clearEvents) |
| override IEnumerable< PhaseInfo > | GetChildrenInfos () |
| bool | ObjectChanged (ISynchronizedEvent synchronizedEvent) |
| bool | ChildrenChanged (ISynchronizedEvent synchronizedEvent) |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| CoreObjectFullyQualified (IApiService apiService, Guid coreObjectId, TParent parent, TOwnInfo ownInfo) | |
| Creates a new instance of CoreObjectFullyQualified<TParent,TOwnInfo,TChild,TChildInfo> with the given parameters. More... | |
Additional Inherited Members | |
Public Attributes inherited from Ofcas.Lk.Api.Client.Core.Project | |
| DocumentContainer | Documents => _documentContainerLifetimeManager.GetCoreObject() |
Properties inherited from Ofcas.Lk.Api.Client.Core.Project | |
| ISynchronizationContainer | SynchronizationContainer [get] |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| TParent | Parent [get] |
| TOwnInfo | Info [get] |
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).
| IDialogResult<ExportResult> Ofcas.Lk.Api.Client.Ui.ProjectUi.ExportCncFiles | ( | IEnumerable< ElevationInfo > | elevationInfos | ) |
Opens a user interface to export the given elevations as CNC files.
| elevationInfos | The list of elevations to be exported. |
| ApiException | Occurs if the method fails. |
| new IEnumerable<PhaseUi> Ofcas.Lk.Api.Client.Ui.ProjectUi.GetChildren | ( | IEnumerable< PhaseInfo > | childrenInfos = null | ) |
Gets a PhaseUis based on a PhaseInfos.
| childrenInfos | The PhaseInfos of the PhaseUis to be returned. If an empty list is given all PhaseUis of this ProjectUi will be returned. |
| ArgumentNullException | Thrown if list of PhaseInfos is null. |
This method is deprecated. Please use GetChild(PhaseInfo) instead.
| new ProjectInformationContainerUi Ofcas.Lk.Api.Client.Ui.ProjectUi.GetProjectInformationContainer | ( | IProjectInformationType | projectInformationType | ) |
Returns the project information container to the given project information type (IProjectInformationType). The ProjectInformationContainerUi allows access to the items of the corresponding project information.
| projectInformationType | The type for the project information to get. |
| IList<ProjectRunnableProgram> Ofcas.Lk.Api.Client.Ui.ProjectUi.GetRunnablePrograms | ( | ) |
Retrieves a list of available ProjectRunnablePrograms.
| void Ofcas.Lk.Api.Client.Ui.ProjectUi.Report | ( | ReportItem | reportItem, |
| IEnumerable< ICoreInfoReportable > | items, | ||
| Dictionary< string, string > | parameters | ||
| ) |
This method is deprecated. Please use Report(ReportItem, IEnumerable<ICoreInfoReportable>, Dictionary<string, object>) instead.
| reportItem | |
| items | |
| parameters |
| IDialogResult<ReportResult> Ofcas.Lk.Api.Client.Ui.ProjectUi.Report | ( | ReportItem | reportItem, |
| IEnumerable< ICoreInfoReportable > | reportables, | ||
| Dictionary< string, object > | 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.
| reportItem | Defines the type of report. Report types can be received with Project.GetReports |
| reportables | List of reportables to be used for the report |
| parameters | A dictionary with parameters can be used to specify reports options. (Not supported) |
| OperationStatus Ofcas.Lk.Api.Client.Ui.ProjectUi.RunProgram | ( | ProjectRunnableProgram | program, |
| Dictionary< string, object > | optionalParameters = null |
||
| ) |
This method is deprecated. Please use ShowModal(ProjectRunnableProgram, Dictionary<string, object>) instead.
| IDialogResult<Stream> Ofcas.Lk.Api.Client.Ui.ProjectUi.SelectGlass | ( | ) |
Selects a glass via user interface.
| void Ofcas.Lk.Api.Client.Ui.ProjectUi.SetApplicationHandle | ( | IntPtr | uiHandle | ) |
Sets an ui handle. All opened user interfaces used this handle as parent. After an operation the default handle from the login scope will be used (ServiceProxyBase<TService,TCoreObject>.Login(string,long,System.TimeSpan)).
| uiHandle | the ui handle to be used for opened user interfaces from this class. |
| ISynchronizedOperation Ofcas.Lk.Api.Client.Ui.ProjectUi.Show | ( | ProjectRunnableProgram | program, |
| Dictionary< string, object > | parameters | ||
| ) |
Shows the ProjectRunnableProgram in a modal window.
| program | The ProjectRunnableProgram to be run. |
| parameters | The optional parameters for the ProjectRunnableProgram to be run. See WellKnownParameterKeys.Project.Program for the available keys. |
| ApiException | Occurs if the method fails. |
| DialogResultCode Ofcas.Lk.Api.Client.Ui.ProjectUi.ShowModal | ( | ProjectRunnableProgram | program, |
| Dictionary< string, object > | parameters | ||
| ) |
Shows the ProjectRunnableProgram in a modal window.
| program | The ProjectRunnableProgram to be run. |
| parameters | The optional parameters for the ProjectRunnableProgram to be run. See WellKnownParameterKeys.Project.Program for the available keys. |
| ApiException | Occurs if the method fails. |
| DialogResultCode Ofcas.Lk.Api.Client.Ui.ProjectUi.WaitForShow | ( | ISynchronizedOperation | synchronizedOperation | ) |
Waits for the ISynchronizedOperation to finish.
| synchronizedOperation | The ISynchronizedOperation to be finished. |