///////////////////////////////////////////////////熟料//////////////////////////////////////////////
        /// <summary>
        /// 计算熟料综合电耗
        /// </summary>
        /// <param name="myClinkerProperties">熟料属性</param>
        /// <param name="myClinkerProcessMartieralsProperties">各工序物料属性</param>
        /// <returns>熟料电耗</returns>
        public Model_CaculateValue GetClinkerPowerConsumption(Model_ClinkerProperties myClinkerProperties, List <Model_MartieralsProperties> myClinkerProcessMartieralsProperties)
        {
            Model_CaculateValue            m_Model_CaculateValue      = new Model_CaculateValue();
            List <Model_BaseELCParameters> m_ClinkerBaseELCParameters = new List <Model_BaseELCParameters>(1);

            if (myClinkerProperties != null && myClinkerProcessMartieralsProperties != null)
            {
                for (int i = 0; i < myClinkerProcessMartieralsProperties.Count; i++)
                {
                    Model_BaseELCParameters m_Model_BaseELCParameters = new Model_BaseELCParameters();
                    //求工序干基电耗
                    m_Model_BaseELCParameters.ProcessName    = myClinkerProcessMartieralsProperties[i].ProcessName;    //获取工序名称
                    m_Model_BaseELCParameters.MarterialsName = myClinkerProcessMartieralsProperties[i].MarterialsName; //获取物料名称
                    if (myClinkerProcessMartieralsProperties[i].MarterialsOutput != 0 && myClinkerProcessMartieralsProperties[i].MarterialsWaterContent < 1 && myClinkerProcessMartieralsProperties[i].MarterialsWaterContent >= 0)
                    {
                        m_Model_BaseELCParameters.ProcessElectricityConsumption = myClinkerProcessMartieralsProperties[i].ElectricityQuantity / (myClinkerProcessMartieralsProperties[i].MarterialsOutput * (1 - myClinkerProcessMartieralsProperties[i].MarterialsWaterContent));
                    }
                    else
                    {
                        m_Model_BaseELCParameters.ProcessElectricityConsumption = 0;
                    }
                    m_Model_BaseELCParameters.ProcessMaterialsUsedQuantity = myClinkerProcessMartieralsProperties[i].MarterialsInput * (1 - myClinkerProcessMartieralsProperties[i].MarterialsWaterContent);
                    m_ClinkerBaseELCParameters.Add(m_Model_BaseELCParameters);
                }
                m_Model_CaculateValue = m_Base_PowConsumption.GetPowerConsumption(m_ClinkerBaseELCParameters, myClinkerProperties.MarterialsOutput, "熟料");
            }
            m_Model_CaculateValue.CaculateName = "熟料综合电耗";
            return(m_Model_CaculateValue);
        }
        /// <summary>
        /// 计算可比水泥综合电耗
        /// </summary>
        /// <param name="myCementProperties">水泥属性</param>
        /// <param name="myCementProcessMartieralsProperties">各耗电工序物料属性</param>
        /// <param name="myCommonParameters">公共参数</param>
        /// <param name="myClinkerPowerConsumption">熟料综合电耗</param>
        /// <param name="myClinkerInput">熟料消耗量</param>
        /// <returns>可比水泥综合电耗</returns>
        public Model_CaculateValue GetCementPowerConsumptionComparable(Model_CementProperties myCementProperties, List <Model_MartieralsProperties> myCementProcessMartieralsProperties, Model_CommonParameters myCommonParameters, decimal myClinkerPowerConsumption)
        {
            Model_CaculateValue            m_Model_CaculateValueComparable = new Model_CaculateValue();
            List <Model_BaseELCParameters> m_CementELCParameters           = new List <Model_BaseELCParameters>();

            Model_BaseELCParameters m_Model_BaseELCParameters = new Model_BaseELCParameters();

            m_Model_BaseELCParameters.ProcessName    = "水泥综合电耗";  //获取工序名称
            m_Model_BaseELCParameters.MarterialsName = "水泥";      //获取物料名称
            m_Model_BaseELCParameters.ProcessElectricityConsumption = GetCementPowerConsumption(myCementProperties, myCementProcessMartieralsProperties, myClinkerPowerConsumption).CaculateValue;
            m_Model_BaseELCParameters.ProcessMaterialsUsedQuantity  = myCementProperties.MarterialsOutput;
            m_CementELCParameters.Add(m_Model_BaseELCParameters);
            m_Model_CaculateValueComparable = m_Base_PowConsumption.GetCementPowerConsumptionComparable(m_CementELCParameters, myCommonParameters, myCementProperties);
            m_Model_CaculateValueComparable.CaculateName = "可比水泥综合电耗";
            return(m_Model_CaculateValueComparable);
        }