Interface IOperationsApplicationHandler
Last update: 16.07.2025Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
public interface IOperationsApplicationHandler : IOperationsBase
Implements
Methods
AddDocument(IList<string>)
Import the result.
void AddDocument(IList<string> filepath)
Parameters
The list of the path of result to open.
AddPlotView()
Add a plot view.
IOperationsLine2DViewModelBase AddPlotView()
Returns
IOperationsLine2DViewModelBase
The instance of plot view.
DurabilityAnalysis(IDurabilityAnalysisParameter)
bool DurabilityAnalysis(IDurabilityAnalysisParameter parameter)
Parameters
parameter IDurabilityAnalysisParameter
Returns
ExportImage(IChartViewModel, string, ImageFormat, double?, double?)
Export the image
void ExportImage(IChartViewModel lineViewModel, string filepath, ImageFormat format, double? width = null, double? height = null)
Parameters
lineViewModel IChartViewModel
The target plot view
filepath string
The path of the file with curve data.
format ImageFormat
Provides values for ImageFormat with Png, Jpeg, Bmp.
width double?
Gets or sets the size of width to export image
height double?
Gets or sets the size of height to export image
ExportImage(IChartViewModel, string, ExportType, double?, double?)
Export the image
void ExportImage(IChartViewModel lineViewModel, string filepath, ExportType format, double? width = null, double? height = null)
Parameters
lineViewModel IChartViewModel
The target plot view
filepath string
The path of the file with curve data.
format ExportType
Provides values for ExportType with Png, Jpeg, Bmp.
width double?
Gets or sets the size of width to export image
height double?
Gets or sets the size of height to export image
GetActiveAnimationView()
Get active animation view
IOperationsAnimationViewModel GetActiveAnimationView()
Returns
The instance of active animation view.
GetActivePlotView()
Get active plot view.
IOperationsLine2DViewModelBase GetActivePlotView()
Returns
IOperationsLine2DViewModelBase
The instance of active plot view.
GetDocument(string)
Get the instance of target document by the path of result.
IResultDocumentViewModel GetDocument(string filepath)
Parameters
filepath string
The path of the result to access.
Returns
IResultDocumentViewModel
The instance of target document.
ImportNumeric(IChartViewModel, string, List<INumericParameter>)
Import a numeric data.
void ImportNumeric(IChartViewModel lineViewModel, string filepath, List<INumericParameter> targets)
Parameters
lineViewModel IChartViewModel
The target plot view of the curve to import a numeric data.
filepath string
The path of the file with curve data.
targets List<INumericParameter>
Characteristics to import a numeric data.
ImportPythonScripts(string)
Import the python script.
void ImportPythonScripts(string filepath)
Parameters
filepath string
The path of the file with python operation script.
LoadingAnimation()
Loaded animation in active view.
void LoadingAnimation()
RemoveDocument(string)
Remove a document.
void RemoveDocument(string filepath)
Parameters
filepath string
The path of the result to remove.
RemoveView(string)
Remove a view.
void RemoveView(string viewName)
Parameters
viewName string
The name of the view to remove.