lazhen
2024-08-27 6dd20e086c57bd0371d8633f6c3ae90c354a4067
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditUphillRouting/Method_OnOK.def
@@ -7,13 +7,12 @@
  [*
    if( isnull( dhDialogData.Data( ) )){
      if( ddlUnit.Visible() ){
        UphillRouting::Create( ddlUnit.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number() );
        UphillRouting::Create( ddlUnit.Data(), dsStartDate.Date(),dsEndDate.Date(),[Real]efPercentage.Text() );
      }else{
        UphillRouting::Create( dhRouting.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number());
        UphillRouting::Create( dhRouting.Data(), dsStartDate.Date(),dsEndDate.Date(),[Real]efPercentage.Text());
      } 
    }else{
      
    }
    info( npPercentage.Number() );
  *]
}