using System;

namespace arDev
{
    public class ChargetDetectArgs : EventArgs
    {
        public DateTime times { get; set; }
        public DateTime timee { get; set; }
        public float values { get; set; }
        public float valuee { get; set; }
        public ChargetDetectArgs(DateTime times, float values, DateTime timee, float valuee)
        {
            this.times = times;
            this.times = timee;
            this.values = values;
            this.valuee = valuee;
        }
    }
    public class BMSInformationEventArgs : EventArgs
    {
        public float Volt { get; set; }
        public int CurAmp { get; set; }
        public int MaxAmp { get; set; }
        public float Level { get; set; }
        public bool Changed { get; set; }
        public BMSInformationEventArgs(float _volt, int _curamp, int _maxamp, float _level, bool _changed)
        {
            this.Volt = _volt;
            this.CurAmp = _curamp;
            this.MaxAmp = _maxamp;
            this.Level = _level;
            this.Changed = _changed;
        }
    }

    public class BMSCelvoltageEventArgs : EventArgs
    {
        public double[] voltage;
        public BMSCelvoltageEventArgs(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)
        {
            voltage = new double[] { v1, v2, v3, v4, v5, v6, v7, v8 };
        }
    }
}
