已重命名1个文件
已添加8个文件
已修改11个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnDelete |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | *] |
| | | InterfaceProperties { Accessibility: 'Module' } |
| | | } |
| | |
| | | #keys: '5[113694.1.1906651361][113694.1.1906651359][0.0.0][113694.1.1906651360][113694.1.1906651362]' |
| | | BaseType: Object |
| | | OnCommit: 'this.IsManuallyConfigured( true )' |
| | | OnDelete: 'this.OnDelete();' |
| | | StructuredName: 'Routings' |
| | | InterfaceProperties { Accessibility: 'Extensible' } |
| | | } |
| | |
| | | RelationSide.LeftSide CopyRouting |
| | | { |
| | | #keys: '3[412672.0.1042903931][412672.0.1042903930][412672.0.1042903932]' |
| | | Cardinality: '1toN' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: UphillRouting |
| | | OwningSide: 'Reference' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnDelete #extension |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | if( not isnull( this.CopyUphillRouting())){ |
| | | this.CopyUphillRouting().Delete(); |
| | | } |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-9-2024 (created) |
| | | |
| | | traverse( macroPlan,Routing,rt ){ |
| | | rt.UphillRouting( relflush ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Type |
| | | { |
| | | #keys: '3[412672.0.1047812165][412672.0.1047812164][412672.0.1047812166]' |
| | | ValueType: String |
| | | } |
| | |
| | | [* |
| | | // rislai Jun-14-2024 (created) |
| | | |
| | | verifyData := select( owner,UphillRouting,ur,LocalTool::IsOverlap( ur.StartDate(),ur.EndDate(),startDate,endDate )); |
| | | verifyData := select( owner,UphillRouting,ur,ur.Type() = suffix and 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 ); |
| | | data := owner.UphillRouting( relnew,StartDate := startDate, EndDate := endDate,Percentage := percentage,Type := suffix ); |
| | | |
| | | copy_routing := owner.Copy( suffix + startDate.Format( "Y-M2-D2") ); |
| | | |
| | |
| | | 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 |
| | | #parent: pnlContent/dsEndDate |
| | | Response OnCreated () id:Response_pnlContent_dsEndDate_OnCreated |
| | | { |
| | | #keys: '[412672.0.1049113591]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( isnull( dhDialogData.Data())){ |
| | | this.Date( Date::Today() ); |
| | | } |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/dsStartDate |
| | | Response OnCreated () id:Response_pnlContent_dsStartDate_OnCreated |
| | | { |
| | | #keys: '[412672.0.1048071931]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( isnull( dhDialogData.Data())){ |
| | | this.Date( Date::Today() ); |
| | | } |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/npPercentage |
| | | Response OnCreated () id:Response_pnlContent_npPercentage_OnCreated |
| | | { |
| | | #keys: '[412672.0.1048031223]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( isnull( dhDialogData.Data() )){ |
| | | this.Number( 100 ); |
| | | } |
| | | *] |
| | | } |
| | | } |
| | |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'ESCALATOR_UP' |
| | | Padding: 'false' |
| | | Title: '产åç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'Routing' |
| | | FixedFilter: 'object.Type() = "_产åç¬å¡_"' |
| | | Source: 'dhRouting' |
| | | Taborder: 0 |
| | | Transformation: 'UphillRouting' |
| | |
| | | ] |
| | | 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"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"Start date","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StartDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"End date","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"}}]' |
| | | ContextMenu: 'listContextMenuUphillRouting' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | Alignment: 'trailing' |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'ESCALATOR_UP' |
| | | MinimumColumns: 60 |
| | | MinimumRows: 40 |
| | | Padding: 'false' |
| | | Title: '产åç¬å¡å·¥èºè·¯çº¿' |
| | | ] |
| | |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelButtons |
| | | { |
| | | #keys: '[412672.0.1049243119]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonSetUnitUphillRouting |
| | | { |
| | | #keys: '[412672.0.1048002676]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'ESCALATOR_UP' |
| | | Label: '设置产线ç¬å¡å·¥èºè·¯çº¿' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | 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]' |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormRoutings/Response_MacroPlanner_ListRoutings_MenuSetUnitUphillRouting_OnClick.def ÐÞ¸Ä |
| | |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuSetUnitUphillRouting' |
| | | QuillAction |
| | | { |
| | | Body: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelButtons/ButtonSetUnitUphillRouting |
| | | Response OnClick () id:Response_MacroPlanner_PanelButtons_ButtonSetUnitUphillRouting_OnClick |
| | | { |
| | | #keys: '[412672.0.1049304924]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditUphillRouting ); |
| | | |
| | | dlg.Create( ); |
| | | *] |
| | | } |
| | | } |
| | |
| | | Children: |
| | | [ |
| | | #child: ListRoutings |
| | | #child: PanelButtons |
| | | Component DataHolderFilteredRoutings #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderRoutingsFromNavigationSelection #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component DataHolderRoutingsFromProducts #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component DataHolderRoutingsFromUnits #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | ] |
| | | } |