コード例 #1
0
        public PersonPayCounter(PayCounter payCounter, SalaryResult salaryResult)
        {
            this.工资计算器 = payCounter;
            this.表工资表  = salaryResult;

            this.员工编号 = salaryResult.员工编号;
            this.姓名   = salaryResult.姓名;
            this.年    = salaryResult.年度;
            this.月    = salaryResult.月份;
            this.薪资组  = salaryResult.薪资组;
            this.日历组  = salaryResult.日历组;
            this.薪酬体系 = salaryResult.薪酬体系编号;

            Calculate();
        }
コード例 #2
0
        public SalaryCalculator(PayCounter payCounter, SalaryResult salaryResult)
        {
            this.工资计算器 = payCounter;
            this.表工资表  = salaryResult;

            this.员工编号 = salaryResult.员工编号;
            this.姓名   = salaryResult.姓名;
            this.年    = salaryResult.年度;
            this.月    = salaryResult.月份;
            this.薪资组  = salaryResult.薪资组;
            this.日历组  = salaryResult.日历组;
            this.薪酬体系 = salaryResult.薪酬体系编号;
            this.期间开始 = new DateTime(this.年, this.月, 1);

            Calculate();
        }