using Common.vo.pb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    /// <summary>
    /// 动态轨道衡总缓存
    /// </summary>
    public class PbDynamicRailWay
    {
        /// <summary>
        /// 系统路径
        /// </summary>
        public static readonly string path = System.Environment.CurrentDirectory;

        /// <summary>
        /// 实时表采集的数据
        /// </summary>
        public static CollectModel collect { get; set; }

        /// <summary>
        /// 计量界面锁定状态，已保存后，锁定界面等重量小于500kg后再重置该状态
        /// </summary>
        public static bool isLockFrm { get; set; }

        /// <summary>
        /// 计量编号，用于后面截图后生成图片的编号使用
        /// </summary>
        public static string actualFirstNo { get; set; }

        /// <summary>
        /// 计量点配置信息
        /// </summary>
        public static MeterBaseSpotInfo sportInfo { get; set; }
        public static List<MeterBaseSpotInfo> sportInfos { get; set; }

        /// <summary>
        /// 对应实时库的采集点编号
        /// </summary>
        public static string collect_no { get; set; }
    }
}
