yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Quintiq file version 2.0
#parent: Kpi_pnlDaemoSMSnapshotGenerator/dsFrequency
Response OnChanged () inherited id:Response_LibMacroPlannerTCUI_Kpi_pnlDaemoSMSnapshotGenerator_dsFrequency_OnChanged
{
  #keys: '[146874.1.146354486]'
  BaseType => //Kpi_pnlDaemon/Response_Kpi_pnlDaemon_dsFrequency_OnChanged
  Body:
  [*
    // Show the feedback warning if the frequency is not a multiple form of KpiTracker record frequency
    // Not applicable for LibMacroPlanner
    /*kpiFrequency := vhKpiGlobalParameterRecordFrequency.Data();
    
    kpiFrequencyInMillis := kpiFrequency.TotalInMillis();
    recordFrequencyInMillis := dsFrequency.Duration().TotalInMillis();
    
    value := guard( recordFrequencyInMillis mod kpiFrequencyInMillis = 0, true );
    
    // Show warning
    lblWarning.Visible( not value );
    imgWarning.Visible( not value );
    imgWarningLabel.Visible( not value );
    lblWarning.Text( Translations::Kpi_SnapshotGenerator_FrequencyNotAMultipleForm( kpiFrequency ) );
    */
  *]
  DefinitionID: 'Responsedef_GUIDurationSelector_OnChanged'
}