using Common.vo.pb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
///
/// 静态轨道衡总缓存
///
public class PbStaticRailwayCache
{
///
/// 系统路径
///
public static readonly string path = System.Environment.CurrentDirectory;
///
/// 锁定重量
///
public static double lockWgt { get; set; }
///
/// 锁定车号
///
public static string lockCarNo { get; set; }
///
/// 在线监控信息
///
public static List ltMonitor { get; set; }
///
/// 实时表采集的数据
///
public static StaticCollectModel collect { get; set; }
///
/// 计量界面锁定状态,已保存后,锁定界面等重量小于500kg后再重置该状态
///
//public static bool isLockFrm { get; set; }
///
/// 计量编号,用于后面截图后生成图片的编号使用
///
public static string actualFirstNo { get; set; }
///
/// 提示信息,用于写入到界面的提示信息中
///
public static string ResultMessage { get; set; }
///
/// 计量点配置信息
///
public static MeterBaseSpotInfo sportInfo { get; set; }
public static List sportInfos { get; set; }
///
/// 摄像头配置信息
///
public static MeterBaseVideoinfo videoInfo { get; set; }
public static List ltVideoInfo { get; set; }
///
/// 摄像头配置信息拆分结果
///
public static List videoChild { get; set; }
///
/// 对应实时库的采集点编号
///
public static string collect_no { get; set; }
///
/// 播放前修改为false,播放完修改为true
///
public static bool voiceOver = true;
///
/// 读取音频信息
///
public static List voiceInfo { get; set; }
///
/// 预报编号
///
public static string strCode { get; set; }
///
/// 当重量大于500时开始给值,发现有值后不再设定值
/// 当重量小于300时发现有值则设置为null
///
public static DateTime? dtStartTime { get; set; }
///
/// 秤体量程信息
///
public static List ltRange { get; set; }
public static void Load()
{
//isLockFrm = false;
dtStartTime = null;
actualFirstNo = "";
ResultMessage = "";
}
///
/// 车型
///
public static List ltCarType { get; set; }
}
}