Quintiq file version 2.0
|
#parent: #root
|
StaticMethod GetIsBottleneckParamsDirty (
|
output String feedback_o,
|
GlobalParameters_MP gp,
|
Real lowerbottleneckthreshold,
|
Real upperbottleneckthreshold,
|
Real spbottleneckthreshold,
|
Duration bottleneckstart,
|
Duration bottleneckend,
|
Real bottlenecktolerance
|
) const declarative remote as Boolean
|
{
|
Description: 'Validate if changes have been made compared to the existing object, used in webclient.'
|
TextBody:
|
[*
|
feedback_o := ''
|
|
if( not isnull( gp ) )
|
{
|
if( gp.UnitLowerBottleneckThreshold() = lowerbottleneckthreshold
|
and gp.UnitUpperBottleneckThreshold() = upperbottleneckthreshold
|
and gp.StockingPointBottleneckThreshold() = spbottleneckthreshold
|
and gp.BottleneckWindowStart() = bottleneckstart
|
and gp.BottleneckWindowEnd() = bottleneckend
|
and gp.BottleneckTolerance() = bottlenecktolerance )
|
{
|
feedback_o := Translations::MP_WebDesigner_NoChangesDetected();
|
}
|
}
|
|
return feedback_o = '';
|
*]
|
}
|