using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MeterVision.model
{
    public class StationInfo
    {
        public string StandId { get; set; }
        public string StationId { get; set; }
        public string DeviceSn { get; set; }
        public int NumCount { get; set; }
        public int LastUnit { get; set; }

        public double LastUnit2
        {
            get
            {
                if (StandDetailItem.LastUnitMapping.TryGetValue(LastUnit, out double lastUnit))
                {
                    return lastUnit;
                }
                return 0.0;
            }
        }
    }

}
