Implements all client logic of the application. Must be completely independent from UI.
|
constructor CreateWithInjector( ADataLoaderInjector: IDataLoaderInjector); |
|
destructor Destroy; override; |
|
function AsyncOper: boolean; |
|
function GetBackgroundPoints: TNeutronPointsSet; |
|
function GetCalcTimeStr: string; |
|
function GetCurrentPointsSet: TTitlePointsSet; |
|
function GetCurveList: TMSCRCurveList; |
|
function GetCurvePositions: TNeutronPointsSet; |
|
function GetProfilePoints: TTitlePointsSet; |
|
function GetRFactorBounds: TNeutronPointsSet; |
|
function GetRFactorStr: string; |
|
function GetSelectedPoints: TNeutronPointsSet; |
|
function GetSpecialCurveParameters: Curve_parameters; |
|
function GetWaveLength: double; |
|
function GetBackFactor: double; |
|
function GetBackgroundVariationEnabled: boolean; |
|
function GetCurveScalingEnabled: boolean; |
|
function GetCurveThresh: double; |
|
function GetCurveType: TCurveTypeId; |
|
function GetMaxRFactor: double; |
|
function GetSelectionMode: TSelMode; |
|
procedure AddPointToActive(XValue, YValue: double); |
|
procedure AddPointToBackground(XValue, YValue: double); |
|
procedure AddPointToCurvePositions(XValue, YValue: double); |
|
procedure AddPointToRFactorBounds(XValue, YValue: double); |
|
procedure AddPointToSelected(XValue, YValue: double); |
|
procedure ComputeBackgroundPoints; |
|
procedure ComputeBackgroundPointsDone; |
|
procedure ComputeCurveBounds; |
|
procedure ComputeCurveBoundsDone; |
|
procedure ComputeCurvePositions; |
|
procedure ComputeCurvePositionsDone; |
|
procedure CreateCurveList; |
|
procedure DoAllAutomatically; |
|
procedure Done; |
|
procedure LoadDataSet(FileName: string); |
|
procedure MinimizeDifference; |
|
procedure MinimizeNumberOfCurves; |
|
procedure Reload; |
|
procedure RemoveBackgroundPoints; |
|
procedure RemoveCurvePositions; |
|
procedure RemoveRFactorBounds; |
|
procedure ReplacePointInBackground( PrevXValue, PrevYValue, NewXValue, NewYValue: double); |
|
procedure ReplacePointInCurvePositions( PrevXValue, PrevYValue, NewXValue, NewYValue: double); |
|
procedure ReplacePointInProfile( PrevXValue, PrevYValue, NewXValue, NewYValue: double); |
|
procedure ReplacePointInRFactorBounds( PrevXValue, PrevYValue, NewXValue, NewYValue: double); |
|
procedure ReplacePointInSelected( PrevXValue, PrevYValue, NewXValue, NewYValue: double); |
|
procedure SelectAllPointsAsCurvePositions; |
|
procedure SelectEntireProfile; |
|
procedure SelectProfileInterval(StartPointIndex, StopPointIndex: longint); |
|
procedure SetSpecialCurveParameters(ACurveExpr: string; CP: Curve_parameters); |
|
procedure SetWaveLength(AWaveLength: double); |
|
procedure ShowCurMin(Min: double); |
|
procedure ShowProfile; |
|
procedure SmoothProfile; |
|
procedure StopAsyncOper; |
|
procedure SubtractBackground(Auto: boolean); |
|
procedure AddPoint(var Points: TTitlePointsSet; XValue, YValue: double; Plot: TPlotProc); |
|
procedure Clear; |
|
procedure ClearExpProfile; |
|
procedure CopyProfileDataFromLoader; |
|
procedure FillDatasheetTable; |
|
procedure Hide(ToRefresh: TNeutronPointsSet); |
|
procedure HideBackground; |
|
procedure HideCurvePositions; |
|
procedure HideCurves; |
|
procedure HideExpProfile; |
|
procedure HideRFactorBounds; |
|
procedure PlotBackground; |
|
procedure PlotComputedProfile; |
|
procedure PlotCurvePositions; |
|
procedure PlotCurves; |
|
procedure PlotDeltaProfile; |
|
procedure PlotExpProfile; |
|
procedure PlotRFactorBounds; |
|
procedure PlotSelectedPoints; |
|
procedure PlotSelectedProfileInterval; |
|
procedure RecreateAndShowSelectedPoints(Title: string); |
|
procedure Refresh; |
|
procedure RefreshPointsSet(ToRefresh: TNeutronPointsSet); |
|
procedure RemoveComputedProfile; |
|
procedure RemoveDeltaProfile; |
|
procedure RemoveSelectedArea; |
|
procedure RemoveSelectedPoints; |
|
procedure ReplacePoint(Points: TTitlePointsSet; PrevXValue, PrevYValue, NewXValue, NewYValue: double; Plot: TPlotProc); |
|
procedure SelectProfileIntervalActual(ANeutronPoints: TNeutronPointsSet; StartPointIndex, StopPointIndex: longint); |
|
procedure SetBackFactor(ABackFactor: double); |
|
procedure SetBackgroundVariationEnabled(AEnable: boolean); |
|
procedure SetCurveScalingEnabled(AEnabled: boolean); |
|
procedure SetCurvesListLambda; |
|
procedure SetCurveThresh(ACurveThresh: double); |
|
procedure SetCurveType(ACurveType: TCurveTypeId); |
|
procedure SetExpProfile(AExpProfile: TTitlePointsSet); |
|
procedure SetMaxRFactor(AMaxRFactor: double); |
|
procedure SetSelectionMode(ASelectionMode: TSelMode); |
|
procedure UpdateComputedData(ShowExtraData: boolean); |