package com.ximai.mes.pro.schedule;

import lombok.Data;

import java.time.Duration;


public interface ILimitedTimeCalculator {
    LimitedTimeCalculatedResult calculate(LimitedTimeCalculateContext context);

    @Data
    public static class LimitedTimeCalculatedResult
    {
        /*
        * 开始时间限制线
        */
        private Duration lmtStartedTime;

        /*
        * 结束时间限制线
        */
        private Duration lmtEndedTime;
    }
}
