lazhen
2025-01-09 8afe90b633046db39042aada36b88193062f8cff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Quintiq file version 2.0
#parent: #root
MethodOverride MessageSendSetUpdated (NamedValueTree nvt_i, LibDMF_SystemOnChannel soc_i, String sourceKind_i, 
  String sourceName_i, DateTime lastUpdate_i)
{
  Description: "Send a HierarchyUpdate-message instead of a 'normal' SetUpdate-message."
  TextBody:
  [*
    // Add additional information to the header of the NTV that is specific for a HierarchyUpdated-message.
    LibInt_MessageAccessor::SetHeaderProperty( nvt_i, LibDMF_CommunicationChannel::HEADER_HIERARCHYNAME(), this.Name() );
    
    this.MessageSend( soc_i, LibDMF_CommunicationChannel::MESSAGETYPE_HIERARCHYUPDATED(),
                      nvt_i, sourceKind_i, sourceName_i, lastUpdate_i );
  *]
}