yypsybs
2023-09-09 3cb5a54def670d97301f07170fcaad213bfc54f2
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
27
Quintiq file version 2.0
#parent: Kpi_pnlDaemoSMSnapshotGenerator/vhKpiGlobalParameterRecordFrequency
Response OnValueChanged () inherited id:Response_LibMacroPlannerTCUI_Kpi_pnlDaemoSMSnapshotGenerator_vhKpiGlobalParameterRecordFrequency_OnValueChanged
{
  #keys: '[146874.1.1166609807]'
  BaseType => //Kpi_pnlDaemon/Response_Kpi_pnlDaemon_vhKpiGlobalParameterRecordFrequency_OnValueChanged
  Body:
  [*
    // Show the feedback warning if the frequency is not a multiple form of KpiTracker record frequency
    // Not applicable for LibMacroPlanner always set to invisible
    /*kpiFrequency := vhKpiGlobalParameterRecordFrequency.Data();
    
    kpiFrequencyInMillis := kpiFrequency.TotalInMillis();
    recordFrequencyInMillis := dsFrequency.Duration().TotalInMillis();
    
    value := guard( recordFrequencyInMillis mod kpiFrequencyInMillis = 0, true );
    */
    value := true;
    
    // Show warning
    lblWarning.Visible( not value );
    imgWarning.Visible( not value );
    imgWarningLabel.Visible( not value );
    //lblWarning.Text( Translations::Kpi_SnapshotGenerator_FrequencyNotAMultipleForm( kpiFrequency ) );
  *]
  DefinitionID: 'Responsedef_ValueHolder_OnValueChanged'
}