_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlActions.def
@@ -35,6 +35,6 @@ Orientation: 'horizontal' Padding: 'true' Style: 'footer' Taborder: 2 Taborder: 3 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlContent.def
@@ -13,6 +13,6 @@ Properties: [ Padding: 'true' Taborder: 1 Taborder: 2 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlMaxCapacity.def
@@ -18,6 +18,7 @@ ] Properties: [ FixedSize: true Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlRatio.def
@@ -28,6 +28,8 @@ ] Properties: [ FixedSize: true Orientation: 'horizontal' Taborder: 3 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlRouting.def
@@ -49,6 +49,7 @@ ] Properties: [ FixedSize: true Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Component_pnlStartAndEnd.def
@@ -10,6 +10,7 @@ ] Properties: [ FixedSize: true Taborder: 2 ] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_New.def
文件名从 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_Edit.def 修改 @@ -1,14 +1,15 @@ Quintiq file version 2.0 #parent: #root Method Edit ( Routing selection ) id:Method_DialogCreateEditThermalTrialRatio_Edit Method New ( Routing selection, FormRoutings formrouting ) id:Method_DialogCreateEditThermalTrialRatio_New { #keys: '[415136.0.756141435]' Body: [* // Edit Product(s) dhForm.Data( formrouting ); dhDialogData.Data( selection ); Form.SetDefaultValue(); _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/Method_OnOK.def
对比新文件 @@ -0,0 +1,30 @@ Quintiq file version 2.0 #parent: #root Method OnOK () id:Method_DialogCreateEditThermalTrialRatio_OnOK { #keys: '[415136.0.762562093]' Body: [* // onOK for ProductDialog // When the user clicks ok, // we either create or edit the data this.ApplyChanges(); data := dhDialogData.Data(); //if( isnull( data.WrappedInstance() ) ) // New //{ // // When create product, parent relation must be null (as server method has logic to detect parent change using this relation) // data.Parent( relflush ); // data.Commit(); // dhForm.Data().ListEventType().SelectByKey( data.WrappedInstance().Key() ); //} //else //{ // LibCal_EventType::Update( dhDialogData.Data().WrappedInstance(), efID.Text(), efName.Text() // ,guard( selParent.Data(), null( LibCal_EventType ) ) ); //} this.Close(); *] } _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/_ROOT_Component_DialogCreateEditThermalTrialRatio.def
@@ -19,6 +19,16 @@ Taborder: 0 ] } Component dhForm id:dhForm_836 { #keys: '[415136.0.762562257]' BaseType: 'WebDataHolder' Databinding: 'FormRoutings' Properties: [ Taborder: 1 ] } ] Properties: [ _Main/UI/MacroPlannerWebApp/Component_FormRoutings/Component_ListRoutings.def
对比新文件 @@ -0,0 +1,14 @@ Quintiq file version 2.0 Component ListRoutings #extension { Children: [ Component DataSetLevelRoutings #extension { Children: [ #child: listContextMenuRoutings ] } ] } _Main/UI/MacroPlannerWebApp/Component_FormRoutings/Component_listContextMenuRoutings.def
对比新文件 @@ -0,0 +1,28 @@ Quintiq file version 2.0 Component listContextMenuRoutings #extension { Children: [ Component MenuSeparator1 { #keys: '[415136.0.761890739]' BaseType: 'WebMenu' Properties: [ Separator: true Taborder: 11 ] } Component MenuThermalTrialRatio { #keys: '[415136.0.761890786]' BaseType: 'WebMenu' Properties: [ Image: 'OSZILLOGRAPH' Taborder: 12 Title: 'Thermal trial ratio' ] } ] } _Main/UI/MacroPlannerWebApp/Component_FormRoutings/Response_MacroPlanner_ListRoutings_MenuThermalTrialRatio_OnClick.def
对比新文件 @@ -0,0 +1,24 @@ Quintiq file version 2.0 #parent: ListRoutings Response OnClick ( Routing selection ) id:Response_MacroPlanner_ListRoutings_MenuThermalTrialRatio_OnClick { #keys: '[415136.0.761890849]' CanBindMultiple: false DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick Initiator: 'MenuThermalTrialRatio' Precondition: [* return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback ); *] QuillAction { Body: [* dlg := construct( DialogCreateEditThermalTrialRatio ); dlg.New( selection, FormRoutings ); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormRoutings/_ROOT_Component_FormRoutings.def
对比新文件 @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: LibMacroPlannerWebUI OrphanComponent FormRoutings #extension { Children: [ #child: ListRoutings ] }