Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
| | |
| | | shiftPattern2 := this.ShiftPattern2(); |
| | | tempShiftPattern := shiftPattern1; |
| | | |
| | | dayPeriod_MPs := selectsortedset( owner,Period_MP,period_MP, period_MP.TimeUnit() = 'Day' and period_MP.StartDate() >= this.StartDate() and period_MP.EndDate() < this.EndDate() ,period_MP.StartDate()); |
| | | weekPeriod_MPs := selectsortedset( owner,Period_MP,period_MP, period_MP.TimeUnit() = 'Week' and period_MP.StartDate() >= this.StartDate() and period_MP.EndDate() < this.EndDate() ,period_MP.StartDate()); |
| | | dayPeriod_MPs := selectsortedset( owner,Period_MP,period_MP, period_MP.TimeUnit() = 'Day' and period_MP.StartDate() >= this.StartDate() and period_MP.EndDate() <= this.EndDate() ,period_MP.StartDate()); |
| | | weekPeriod_MPs := selectsortedset( owner,Period_MP,period_MP, period_MP.TimeUnit() = 'Week' and period_MP.StartDate() >= this.StartDate() and period_MP.EndDate() <= this.EndDate() ,period_MP.StartDate()); |
| | | |
| | | // period_MPs := selectsortedset( owner,Period_MP,period_MP, period_MP.StartDate() >= this.StartDate() and period_MP.EndDate() <= this.EndDate() ,period_MP.StartDate()); |
| | | if( dayPeriod_MPs.Size() > 0 ){ |
| | |
| | | ShiftPattern shiftPattern2, |
| | | Date startDate, |
| | | Date endDate |
| | | ) |
| | | ) as ProductionLineBatchData |
| | | { |
| | | TextBody: |
| | | [* |
| | |
| | | Unit2 := line2, |
| | | StartDate := startDate, |
| | | EndDate := endDate ); |
| | | |
| | | return data; |
| | | *] |
| | | } |