|
hello,
Let me give some more background to this question.
My customer is trying to build a performance FM.
In the Iconic Map PM V1.2, in the scope of interest time window
there is duration to specify and "Repeat Interval".
I guess this "Repeat Interval" is what is called the Periodicity
in the SRM.
The periodicity is present when we want to encode a timeframe
using mcc_ats_link as the seventh parameter.
But, it is not present when we want to decode this parameter
using mcc_ats_get_first or mcc_ats_get_current...
Thus, is there a way/routine to decode this periodicity in order to manipulate
it in my own code ? What way/routine ?
If not, is there a work-around we could advise, like to do two
mcc_ats_get_first (begin time) and mcc_ats_get_next (begin time)
and substract those two (which is not very clean).
status = mcc_ats_link(
p_call_params->p_timeframe,
&k_ats_schedule,
&k_ats_abs,
p_begin_time,
&k_ats_abs,
p_begin_time,
p_interval_time,
p_end_time);
Thanks to help
Catherine
|
|
(also answered via MAIL)
There is no available routine to extract the periodicity of a scope of
interest (or schedule, for that matter). The mechanism of using
mcc_ats_get_first, then mcc_ats_get_next is the only method we have at
this time. This method works if only a single "start" time is
specified for the scope of interest. If multiple "start" times were
specified, the recipient of the scope of interest cannot readily
distinguish between intervals caused by the several "start" times and
those caused by the "periodicity". Note that mcc_ats_link does not
allow time elements of different "periodicity" to be entered into a
time_frame, so only a single "periodicity" needs to be determined.
If a routine to disassemble a time frame (call it "mcc_ats_unlink") is
required for your application, it would have to go through the ECO
process to be included in a release after V1.3. We have no plans for
such a routine in V1.3, which is entering FT very soon.
Ted
|