¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Description |
| | | { |
| | | #keys: '3[415136.0.722750591][415136.0.722750590][415136.0.722750592]' |
| | | Description: '夿³¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute End |
| | | { |
| | | #keys: '3[415136.0.722560047][415136.0.722560046][415136.0.722560048]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Start |
| | | { |
| | | #keys: '3[415136.0.722560040][415136.0.722560039][415136.0.722560041]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetMatrixTooltip () declarative remote as String |
| | | { |
| | | Description: 'æ¬æµ®æç¤ºä¿¡æ¯' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ May-30-2024 (created) |
| | | tooltip := '<table>'; |
| | | tooltip := tooltip + '<tr><td><b>Start time:</b></td><td>' + this.Start() + '</td></tr>'; |
| | | tooltip := tooltip + '<tr><td><b>End time:</b></td><td>' + this.End() + '</td></tr>'; |
| | | tooltip := tooltip + '<tr><td><b>Description:</b></td><td>'; |
| | | if( this.Description() <> '' ){ |
| | | tooltip := tooltip + this.Description() + '</td></tr>'; |
| | | }else{ |
| | | tooltip := tooltip + 'æ </td></tr>'; |
| | | } |
| | | tooltip := tooltip + '</table>'; |
| | | |
| | | return tooltip; |
| | | *] |
| | | } |
| | |
| | | LibCal_SubscriberEventTable table, |
| | | LibCal_SubscriberEventRow row, |
| | | DateTime starttime, |
| | | DateTime endtime |
| | | DateTime endtime, |
| | | String desc |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | column := table.LibCal_SubscriberEventColumn( relnew, Name := time, Period := startTime.Date() ); |
| | | } |
| | | |
| | | duration := startTime.StartOfNextDay() - startTime; |
| | | if( startTime.StartOfNextDay() > endtime ){ |
| | | duration := endtime - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := endtime.Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | }else{ |
| | | duration := startTime.StartOfNextDay() - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := startTime.StartOfNextDay().Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | // info( startTime, column.Name(), duration.AsQUILL(), duration.HoursAsReal() ); |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | LibCal_SubscriberEventTable table, |
| | | LibCal_SubscriberEventRow row, |
| | | DateTime starttime, |
| | | DateTime endtime |
| | | DateTime endtime, |
| | | String desc |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | column := table.LibCal_SubscriberEventColumn( relnew, Name := time.Format( 'M/D/Y' ), Period := time.Date() ); |
| | | } |
| | | |
| | | duration := startTime.StartOfNextMonth() - startTime; |
| | | if( startTime.StartOfNextMonth() > endtime ){ |
| | | duration := endtime - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := endtime.Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | }else{ |
| | | duration := startTime.StartOfNextMonth() - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := startTime.StartOfNextMonth().Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | // info( startTime, column.Name(), duration.AsQUILL(), duration.HoursAsReal() ); |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | startTime := participation.StartDate().DateTime( timezone ).AddAsPeriod( timezone, event.StartTimeOfDay() ); |
| | | // info( this.ID(), startTime, endTime ); |
| | | if( this.ID() = 'Day' ){ |
| | | this.InitializeDay( this, row, startTime, endTime ); |
| | | this.InitializeDay( this, row, startTime, endTime, event.Description() ); |
| | | }else if( this.ID() = 'Week' ){ |
| | | this.InitializeWeek( this, row, startTime, endTime ); |
| | | this.InitializeWeek( this, row, startTime, endTime, event.Description() ); |
| | | }else{ |
| | | this.InitializeMonth( this, row, startTime, endTime ); |
| | | this.InitializeMonth( this, row, startTime, endTime, event.Description() ); |
| | | } |
| | | |
| | | } |
| | |
| | | LibCal_SubscriberEventTable table, |
| | | LibCal_SubscriberEventRow row, |
| | | DateTime starttime, |
| | | DateTime endtime |
| | | DateTime endtime, |
| | | String desc |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | column := table.LibCal_SubscriberEventColumn( relnew, Name := time.Format( 'M/D/Y' ), Period := time.Date() ); |
| | | } |
| | | |
| | | duration := startTime.StartOfNextWeek() - startTime; |
| | | if( startTime.StartOfNextWeek() > endtime ){ |
| | | duration := endtime - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := endtime.Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | }else{ |
| | | duration := startTime.StartOfNextWeek() - startTime; |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() |
| | | , Start := startTime.Format( 'M/D/Y H:m' ) |
| | | , End := startTime.StartOfNextWeek().Format( 'M/D/Y H:m' ) |
| | | , Description := desc ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | // info( startTime, column.Name(), duration.AsQUILL(), duration.HoursAsReal() ); |
| | | cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() ); |
| | | row.LibCal_SubscriberEventCell( relinsert, cell ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | } |
| | | #child: matrixEditorActionBarPageTable |
| | | #child: matrixeditorContextMenuTable |
| | | Component UserConfigurableInformationTable |
| | | { |
| | | #keys: '[415136.0.720821389]' |
| | | BaseType: 'WebUserConfigurableInformation' |
| | | Properties: |
| | | [ |
| | | Identifier: 'Cell:sec' |
| | | ObjectType: 'LibCal_SubscriberEventCell' |
| | | Precondition: 'object.LibCal_SubscriberEventColumn().Index() > 1' |
| | | Taborder: 5 |
| | | Tooltip: "VALUE(guard( object.GetMatrixTooltip() , '' ))" |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |