コード例 #1
0
        public static IBookResult CreateMonthlyAmountPaymentsResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets,
                                                                    decimal factorValue, decimal amountValue, Int32 recordHours)
        {
            IResultValues results = ResultValueBuilder.BuildMonthlyAmountPaymentsResult(targets, factorValue, amountValue, recordHours);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #2
0
        public static IBookResult CreateRecordTimeResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets, Int32 timeValue)
        {
            IResultValues results = ResultValueBuilder.BuildRecordTimeResult(targets, timeValue);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #3
0
        public static IBookResult CreateTimesheetScheduleResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets, Int32[] timeTable)
        {
            IResultValues results = ResultValueBuilder.BuildTimesheetScheduleResult(targets, timeTable);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #4
0
        public static IBookResult CreatePositionEmplTermResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets, uint dayFromOrdinal, uint dayEndsOrdinal)
        {
            IResultValues results = ResultValueBuilder.BuildPositionEmplTermResult(targets, dayFromOrdinal, dayEndsOrdinal);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #5
0
        public static IBookResult CreateCloneResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets)
        {
            IResultValues results = ResultValueBuilder.BuildTargetResult(targets);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #6
0
        public static IBookResult CreateAmountDeductedResult(IPayrollConcept concept, IBookIndex element, IPayrollArticle article, ITargetValues targets, decimal amountValue)
        {
            IResultValues results = ResultValueBuilder.BuildAmountDeductedResult(targets, amountValue);

            return(new BookResult(element, article, results, concept.TargetValues(), concept.ResultValues()));
        }
コード例 #7
0
        public static IBookResult CreateEmptyResult(IBookIndex element, IPayrollArticle article)
        {
            IResultValues results = ResultValueBuilder.BuildEmptyResult();

            return(new BookResult(element, article, results, EMPTY_VALUES_LIST, EMPTY_VALUES_LIST));
        }