using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
///
/// 入库秤缓存
///
public class PbStorageCache
{
///
/// 系统路径
///
public static readonly string path = System.Environment.CurrentDirectory;
///
/// 监控信息
///
public static List ltMonitor { get; set; }
///
/// 实时表采集的数据
///
public static StorageCollectModel collect { get; set; }
public static List ltCollect { 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; }
///
/// 播放前修改为false,播放完修改为true
///
public static bool voiceOver = true;
///
/// 读取音频信息
///
public static List voiceInfo { get; set; }
public static List relations { get; set; }
///
/// 当重量大于500时开始给值,发现有值后不再设定值
/// 当重量小于300时发现有值则设置为null
///
public static DateTime? dtStartTime { get; set; }
///
/// 秤体量程信息
///
public static List ltRange { get; set; }
///
/// 秤体信息配置
///
public static List scalePoints { get; set; }
public static void Load()
{
//isLockFrm = false;
dtStartTime = null;
actualFirstNo = "";
ResultMessage = "";
}
}
}