lazhen
2025-01-07 b3987122cbbc46c5c59d3173f37fca3170b6dc5a
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 );
  *]
}