Example #1
0
        /// <summary>
        /// NOTE : GET WORKING TIME OF MAIN WORK CENTER ONLY
        ///
        /// get the reference table for GetRealWorkingDay() function
        /// result is the table with each record contain:
        /// BeginDate, EndDate (of configured WCCapacity)
        /// WorkTimeFrom, WorkTimeTo	(Real working time of each shift in a working day)
        ///
        /// SCHEMA: BeginDate, EndDate, WorkTimeFrom, WorkTimeTo
        ///
        /// </summary>
        /// <author>Thachnn</author>
        /// <param name="pstrCCNID"></param>
        /// <param name="pstrYear"></param>
        /// <param name="pstrMonth"></param>
        /// <param name="pstrProductionLineID"></param>
        /// <returns></returns>

        public DataTable GetAllPeriodOfWorkingTime(string pstrCCNID, string pstrYear, string pstrMonth, string pstrProductionLineID)
        {
            C1PrintPreviewDialogDS dsReport = new C1PrintPreviewDialogDS();

            return(dsReport.GetAllPeriodOfWorkingTime(pstrCCNID, pstrYear, pstrMonth, pstrProductionLineID));
        }