¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation UphillRouting_CopyRouting_Routing_CopyUphillRouting |
| | | { |
| | | #keys: '1[412672.0.1042903929]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide CopyRouting |
| | | { |
| | | #keys: '3[412672.0.1042903931][412672.0.1042903930][412672.0.1042903932]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: UphillRouting |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CopyUphillRouting |
| | | { |
| | | #keys: '3[412672.0.1042903934][412672.0.1042903933][412672.0.1042903935]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: Routing |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation UphillRouting_Routing_Routing_UphillRouting |
| | | { |
| | | #keys: '1[412672.0.1042903717]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Routing |
| | | { |
| | | #keys: '3[412672.0.1042903719][412672.0.1042903718][412672.0.1042903720]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: UphillRouting |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide UphillRouting |
| | | { |
| | | #keys: '3[412672.0.1042903722][412672.0.1042903721][412672.0.1042903723]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: Routing |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod IsOverlap ( |
| | | Date start1, |
| | | Date end1, |
| | | Date start2, |
| | | Date end2 |
| | | ) const declarative as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | return start1 < end2 and start2 < end1 ; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type LocalTool |
| | | { |
| | | #keys: '5[412672.0.1042354674][412672.0.1042354672][0.0.0][412672.0.1042354673][412672.0.1042354675]' |
| | | BaseType: Object |
| | | StructuredName: 'LocalTools' |
| | | } |
| | |
| | | //ï¼3ï¼ å䏿¶é´ï¼ä¸æ¡äº§çº¿ä¸å¯ä»¥å夿¡äº§çº¿è½®æ¢ç产ï¼å¦æäº§çº¿1ZKGå产线2ZKçè½®æ¢ç次已ç»å¨4/29/2024çæï¼é£ä¹äº§çº¿1ZKGåå
¶ä»äº§çº¿çè½®æ¢çæ¬¡æ æ³å¨å䏿¶é´çæï¼æ¤æ¶ãEnableãæé®ç¦ç¨ |
| | | verifyData := select( owner,ProductionLineBatchData,plbd, plbd <> this and plbd.IsEnable() and |
| | | ( plbd.Unit1() = this.Unit1() or plbd.Unit2() = this.Unit2() or plbd.Unit1() = this.Unit2() or plbd.Unit2() = this.Unit1()) and |
| | | ( plbd.StartDate() <= this.EndDate() or plbd.EndDate() >= this.StartDate() )); |
| | | LocalTool::IsOverlap( plbd.StartDate(),plbd.EndDate(),this.StartDate(),this.EndDate())); |
| | | |
| | | if( not isnull( verifyData )){ |
| | | feeback := "ã" + verifyData.Unit1().Name() + "ãã" + verifyData.Unit2().Name() + "ãå·²äº" + verifyData.StartDate().Format( "Y-M2-D2" ) +"çæã"; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Copy ( |
| | | String suffix |
| | | ) as Routing |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | |
| | | routingname := this.MacroPlan().GetUniqueRoutingName( this.Name() + suffix ); |
| | | |
| | | newrouting := Routing::Create( this.MacroPlan(), |
| | | routingname, |
| | | routingname, |
| | | this.Start(), |
| | | this.End(), |
| | | this.AllowWIPInventory(), |
| | | false |
| | | ); |
| | | |
| | | // Copy rouitng step with operations |
| | | traverse( this, RoutingStep, rs ) |
| | | { |
| | | rs.Copy( newrouting ); |
| | | } |
| | | |
| | | // Propagated all Operation-Step-Routing relation before copy operation link |
| | | Transaction::Transaction().Propagate(); |
| | | |
| | | traverse( this, RoutingStep.Operation.SourceOperationLink, ol ) |
| | | { |
| | | ol.Copy( newrouting ); |
| | | } |
| | | |
| | | |
| | | return newrouting; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[412672.0.1042903765][412672.0.1042903764][412672.0.1042903766]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Percentage |
| | | { |
| | | #keys: '3[412672.0.1042903775][412672.0.1042903774][412672.0.1042903776]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[412672.0.1042903755][412672.0.1042903754][412672.0.1042903756]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Create ( |
| | | Routing owner, |
| | | Date startDate, |
| | | Date endDate, |
| | | Real percentage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | UphillRouting::Create( owner,startDate,endDate,percentage,"_产åç¬å¡_"); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Create ( |
| | | Routing owner, |
| | | Date startDate, |
| | | Date endDate, |
| | | Real percentage, |
| | | String suffix |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | |
| | | verifyData := select( owner,UphillRouting,ur,LocalTool::IsOverlap( ur.StartDate(),ur.EndDate(),startDate,endDate )); |
| | | if( not isnull( verifyData )){ |
| | | error( "设置çStartåEndä¸å¯ä¸å·²ææ°æ®çæ¶é´åºé´éå ã" ); |
| | | } |
| | | |
| | | data := owner.UphillRouting( relnew,StartDate := startDate, EndDate := endDate,Percentage := percentage ); |
| | | |
| | | copy_routing := owner.Copy( suffix + startDate.Format( "Y-M2-D2") ); |
| | | |
| | | copy_routing.Start( startDate ); |
| | | |
| | | copy_routing.End( endDate ); |
| | | |
| | | traverse( copy_routing,OperationForPlanningMatrix,op){ |
| | | op.Throughput( op.Throughput() * ( percentage / 100) ); |
| | | } |
| | | |
| | | copy_routing.CopyUphillRouting( relset, data ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Create ( |
| | | Unit unit, |
| | | Date startDate, |
| | | Date endDate, |
| | | Real percentage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | traverse( unit,Operation.RoutingForPlanningMatrix,routing , routing.IsEnabled() and LocalTool::IsOverlap( startDate,endDate,routing.Start(),routing.End())){ |
| | | UphillRouting::Create( routing,startDate,endDate,percentage,"_产线ç¬å¡_" ); |
| | | } |
| | | |
| | | |
| | | |
| | | // owner.UphillRouting( relnew,Unit := unit,StartDate := startDate, EndDate := endDate,Percentage := percentage ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type UphillRouting |
| | | { |
| | | #keys: '5[412672.0.1042903701][412672.0.1042903699][0.0.0][412672.0.1042903700][412672.0.1042903702]' |
| | | BaseType: Object |
| | | StructuredName: 'UphillRoutings' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[412672.0.1042452873]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[412672.0.1042452877]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[412672.0.1042452879]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[412672.0.1042452871]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddlUnit |
| | | { |
| | | #keys: '[412672.0.1040101442]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Unit' |
| | | Children: |
| | | [ |
| | | Component deContent |
| | | { |
| | | #keys: '[412672.0.1040101444]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Unit]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderUnit' |
| | | Taborder: 0 |
| | | Transformation: 'Elements.astype(Unit)' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: '产线' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dsStartDate |
| | | { |
| | | #keys: '[412672.0.1040102174]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.StartDate' |
| | | Label: 'å¼å§æ¶é´' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dsEndDate |
| | | { |
| | | #keys: '[412672.0.1040102187]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.EndDate' |
| | | Label: 'ç»ææ¶é´' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component npPercentage |
| | | { |
| | | #keys: '[412672.0.1040102201]' |
| | | BaseType: 'WebNumberPicker' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.Percentage' |
| | | Label: 'Percentage' |
| | | Max: '100' |
| | | Min: '0' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Create ( |
| | | Routing routing |
| | | ) id:Method_DialogCreateEditUphillRouting_Create_680 |
| | | { |
| | | #keys: '[412672.0.1040101362]' |
| | | Body: |
| | | [* |
| | | ddlUnit.Visible( false ); |
| | | |
| | | ddlUnit.Enabled( false,"" ); |
| | | |
| | | dhRouting.Data( routing ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Create () id:Method_DialogCreateEditUphillRouting_Create |
| | | { |
| | | #keys: '[412672.0.1040101310]' |
| | | Body: |
| | | [* |
| | | this.Title( ddlUnit.Label() + this.Title().SubString( 2,6) ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | UphillRouting uphillRouting |
| | | ) id:Method_DialogCreateEditUphillRouting_Edit |
| | | { |
| | | #keys: '[412672.0.1040130863]' |
| | | Body: |
| | | [* |
| | | dhDialogData.Data( uphillRouting ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogCreateEditUphillRouting_OnOK |
| | | { |
| | | #keys: '[412672.0.1040102043]' |
| | | Body: |
| | | [* |
| | | if( isnull( dhDialogData.Data( ) )){ |
| | | if( ddlUnit.Visible() ){ |
| | | UphillRouting::Create( ddlUnit.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number() ); |
| | | }else{ |
| | | UphillRouting::Create( dhRouting.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number()); |
| | | } |
| | | }else{ |
| | | |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[412672.0.1042452883]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[412672.0.1042452882]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return dsStartDate.Date() < dsEndDate.Date(); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.OnOK(); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogCreateEditUphillRouting |
| | | { |
| | | #keys: '[412672.0.1042452869]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component dhDialogData |
| | | { |
| | | #keys: '[412672.0.1040101484]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'UphillRouting' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dhRouting |
| | | { |
| | | #keys: '[412672.0.1040101841]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'Routing' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: '产åç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListUphillRouting id:ListUphillRouting_943 |
| | | { |
| | | #keys: '[412672.0.1040121798]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorUphillRouting |
| | | { |
| | | #keys: '[412672.0.1040121799]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'Routing' |
| | | Source: 'dhRouting' |
| | | Taborder: 0 |
| | | Transformation: 'UphillRouting' |
| | | ] |
| | | } |
| | | #child: listActionBarPageUphillRouting_1 |
| | | Component DataSetLevelUphillRouting |
| | | { |
| | | #keys: '[412672.0.1040121801]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuUphillRouting_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"EndDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Percentage","title":"Percentage","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Percentage"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"StartDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StartDate"}}]' |
| | | ContextMenu: 'listContextMenuUphillRouting' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListUphillRouting_943_WebMenu_OnClick |
| | | { |
| | | #keys: '[412672.0.1042455296]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[2003.0.34277352]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageUphillRouting id:listActionBarPageUphillRouting_1 |
| | | { |
| | | #keys: '[412672.0.1040121800]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuUphillRouting id:listContextMenuUphillRouting_1 |
| | | { |
| | | #keys: '[412672.0.1040121802]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuCreate |
| | | { |
| | | #keys: '[412672.0.1043375746]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 3 |
| | | Title: 'Create...' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[412672.0.1043138046]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListUphillRouting_943 |
| | | Component dhRouting |
| | | { |
| | | #keys: '[412672.0.1040132827]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'Routing' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method CreateEditUphillRoutings ( |
| | | Routing owner |
| | | ) id:Method_DialogCreateEditUphillRoutings_CreateEditUphillRoutings |
| | | { |
| | | #keys: '[412672.0.1040132851]' |
| | | Body: |
| | | [* |
| | | dhRouting.Data( owner ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListUphillRouting_943 |
| | | Response OnClick () id:Response_ListUphillRouting_943_MenuCreate_OnClick |
| | | { |
| | | #keys: '[412672.0.1040123392]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListUphillRouting_943/Responsedef_ListUphillRouting_943_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuCreate' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditUphillRouting ); |
| | | |
| | | dlg.Create( dhRouting.Data( )); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogCreateEditUphillRoutings |
| | | { |
| | | #keys: '[412672.0.1043138044]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'ESCALATOR_UP' |
| | | Padding: 'false' |
| | | Title: '产åç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | | } |
| | |
| | | Title: 'Thermal trial ratio' |
| | | ] |
| | | } |
| | | Component MenuSetUnitUphillRouting |
| | | { |
| | | #keys: '[412672.0.1040121042]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ESCALATOR_UP' |
| | | Taborder: 13 |
| | | Title: '设置产线ç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | | } |
| | | Component MenuSetUphillRouting |
| | | { |
| | | #keys: '[412672.0.1040131623]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ESCALATOR_UP' |
| | | Taborder: 14 |
| | | Title: '设置产åç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListRoutings |
| | | Response OnClick () id:Response_ListRoutings_MenuSetUnitUphillRouting_OnClick |
| | | { |
| | | #keys: '[412672.0.1040131205]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuSetUnitUphillRouting' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditUphillRouting ); |
| | | |
| | | dlg.Create( ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListRoutings |
| | | Response OnClick ( |
| | | Routing selection |
| | | ) id:Response_ListRoutings_MenuSetUphillRouting_OnClick |
| | | { |
| | | #keys: '[412672.0.1040131705]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuSetUphillRouting' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditUphillRoutings ); |
| | | |
| | | dlg.CreateEditUphillRoutings( selection ); |
| | | *] |
| | | } |
| | | } |