示例#1
0
        protected void UpdateFanStateFromEc()
        {
            // FAN
            var rawCpuRpm = CallingVariations.GetCPUFANRPM();

            currentRpms = CalculateRpms(rawCpuRpm);
            // CPU
            var ecData = CallingVariations.GetTempFanDuty(1);

            currentTemp = ecData.Local;
            lastFanCuty = (int)Math.Round(ecData.FanDuty / 2.55m);
        }
示例#2
0
        private void UpdateFanStateFromEc()
        {
            // FAN
            var rawCpuRpm = CallingVariations.GetCPUFANRPM();

            m_currentRpms = CalculateRpms(rawCpuRpm);
            // CPU
            var ecData = CallingVariations.GetTempFanDuty(1);

            m_currentTemp = ecData.Local;
            m_fanDutyRead = (int)Math.Round(ecData.FanDuty / 2.55m);
        }