/// <summary>
        /// Load
        /// </summary>             
        /// <param name="mtoDotRules">mtoDotRules</param>
        /// <param name="frequency">frequency</param>
        /// <param name="state">state</param>
        /// <param name="companyId">companyId</param>
        /// <param name="allUnits">allUnits</param>
        public void Load(string mtoDotRules, string frequency, string state, int companyId, bool allUnits)
        {
            UnitChecklistsReportUnitDetailsGateway unitChecklistsReportUnitDetailsGateway = new UnitChecklistsReportUnitDetailsGateway(Data);
            unitChecklistsReportUnitDetailsGateway.Load(companyId);

            UpdateForReport(mtoDotRules, frequency, state, allUnits);
        }
        // ////////////////////////////////////////////////////////////////////////
        // PUBLIC METHODS
        //
        /// <summary>
        /// LoadByUnitId
        /// </summary>
        /// <param name="unitId">unitId</param>       
        /// <param name="mtoDotRules">mtoDotRules</param>
        /// <param name="frequency">frequency</param>
        /// <param name="state">state</param>
        /// <param name="companyId">companyId</param>
        public void LoadByUnitId(int unitId, string mtoDotRules, string frequency, string state, int companyId)
        {
            UnitChecklistsReportUnitDetailsGateway unitChecklistsReportUnitDetailsGateway = new UnitChecklistsReportUnitDetailsGateway(Data);
            unitChecklistsReportUnitDetailsGateway.LoadByUnitId(unitId, companyId);

            UpdateForReport(mtoDotRules, frequency, state, true);
        }
        /// <summary>
        /// LoadByUnitTypeWorkingLocation
        /// </summary>
        /// <param name="unitType">unitType</param>        
        /// <param name="workingLocation">workingLocation</param>
        /// <param name="mtoDotRules">mtoDotRules</param>   
        /// <param name="frequency">frequency</param>
        /// <param name="state">state</param>
        /// <param name="companyId">companyId</param>
        /// <param name="allUnits">allUnits</param>
        public void LoadByUnitTypeWorkingLocation(string unitType, string workingLocation, string mtoDotRules, string frequency, string state, int companyId, bool allUnits)
        {
            UnitChecklistsReportUnitDetailsGateway unitChecklistsReportUnitDetailsGateway = new UnitChecklistsReportUnitDetailsGateway(Data);
            unitChecklistsReportUnitDetailsGateway.LoadByUnitTypeWorkingLocation(unitType, workingLocation, companyId);

            UpdateForReport(mtoDotRules, frequency, state, allUnits);
        }