dorisoy_HardwareMonitor/LibreHardwareMonitorLib/Hardware/Motherboard/Lpc/EC/EmbeddedControllerSource.cs
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) LibreHardwareMonitor and Contributors.
// All Rights Reserved.

namespace LibreHardwareMonitor.Hardware.Motherboard.Lpc.EC
{
    public class EmbeddedControllerSource
    {
        public EmbeddedControllerSource(string name, SensorType type, ushort register, byte size, float factor = 1.0f, uint blank = uint.MaxValue)
        {
            Name = name;

            Register = register;
            Size = size;
            Type = type;
            Factor = factor;
            Blank = blank;
        }

        public string Name { get; }
        public ushort Register { get; }
        public byte Size { get; }
        public float Factor { get; }

        public uint Blank { get; }

        public EmbeddedControllerReader Reader { get; }

        public SensorType Type { get; }
    }
}
