xiaoding721
2024-08-26 821654a01ff1cf87b46e4f1d451d024e7a7cd6d5
更新属性名称
已修改4个文件
8 ■■■■ 文件已修改
_Main/BL/Type_UphillRouting/Attribute_isUsed.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_UphillRouting/DefaultValue_isUsed.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_UphillRouting/Method_Use.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditUphillRoutings/Method_UseUphillRoutings.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_UphillRouting/Attribute_isUsed.qbl
@@ -1,6 +1,6 @@
Quintiq file version 2.0
#parent: #root
Attribute isUsed
Attribute IsUsed
{
  #keys: '3[414996.1.27011002][414996.1.27011001][414996.1.27011003]'
  ValueType: Boolean
_Main/BL/Type_UphillRouting/DefaultValue_isUsed.qbl
@@ -3,5 +3,5 @@
DefaultValue
{
  ISOValue: 'false'
  TargetAttribute: isUsed
  TargetAttribute: IsUsed
}
_Main/BL/Type_UphillRouting/Method_Use.qbl
@@ -5,7 +5,7 @@
  TextBody:
  [*
    // Akari Aug-26-2024 (created)
    this.isUsed( true );
    this.IsUsed( true );
    
    copy_routing := this.Routing().Copy( this.Suffix() + this.StartDate().Format( "Y-M2-D2") );
    
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditUphillRoutings/Method_UseUphillRoutings.def
@@ -5,7 +5,7 @@
  #keys: '[414996.1.26570568]'
  Body:
  [*
    traverse( dhRouting.Data(),UphillRouting,uphillRouting,not uphillRouting.isUsed() ){
    traverse( dhRouting.Data(),UphillRouting,uphillRouting,not uphillRouting.IsUsed() ){
      uphillRouting.Use(); 
    }
  *]