using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarLocalMeter
{
public class CacleCls
{
///
/// 重量信息
///
public static int weight { get; set; }
///
/// Moxa采集是否正常
///
public static string weightFlag { get; set; }
///
/// Moxa异常信息
///
public static string weightMsgInfo { get; set; }
///
/// 重量判稳信息
/// 0稳定,1不稳定,2空磅
///
public static int isWd { get; set; }
///
/// 视频车号 枪机
///
public static string voicCarNo { get; set; }
///
/// 视频车号 球机
///
public static string voicCarNo2 { get; set; }
///
/// rfid车号
///
public static string rfidCarNo { get; set; }
///
/// rfid的epc号,实际上就是卡号
///
public static string rfidEpc { get; set; }
///
/// plc 连接状态 0正常 1异常
///
public static int plcState { get; set; }
///
/// 左光栅
///
public static string leftGs { get; set; }
///
/// 右光栅
///
public static string rightGs { get; set; }
///
/// 前激光
///
public static string topJg { get; set; }
///
/// 后激光
///
public static string bottomJg { get; set; }
///
/// 红绿灯
///
public static string rgLight { get; set; }
///
/// 道闸
///
public static string dz { get; set; }
///
/// 提示信息
///
public static string plcMsgInfo { get; set; }
///
/// true服务器网络正常 false服务器网络异常
///
public static bool serverFlag { get; set; }
#region 计量信息
///
/// 网络正常时计量编号
///
public static string actualNo { get; set; }
///
/// GUID编号,用于截图时使用
///
public static string tempNo { get; set; }
///
/// 锁定状态
///
public static bool isLock { get; set; }
///
/// 锁定车号
///
public static string lockCarNo { get; set; }
///
/// 锁定重量
///
public static int lockWgt { get; set; }
///
/// 是否执行过清理
///
public static bool isClear { get; set; }
public static MeterWorkCarActualFirst firstDb { get; set; }
///
/// 委托数据
///
public static PreTrackScale preTrackScale { get; set; }
///
/// 语音播报完毕状态
///
public static bool voiceOver = true;
public static List voiceInfo { get; set; }
///
/// 之前向led写入的值
///
public static string OldLedInfo { get; set; }
///
/// 需写入led的值
///
public static string LEDResultMessage { get; set; }
///
/// 零点报警
///
public static bool isZeroState { get; set; }
///
///
///
public static bool isCheck = false;
///
/// 是否被接管
///
public static bool isJg = false;
public static DateTime? updateRfidInfoTime = null;
public static Dictionary rifdInfo = new Dictionary();
///
/// 重量小于500时执行一次
///
public static void Clear()
{
isLock = false;
lockCarNo = "";
lockWgt = 0;
voicCarNo = "";
voicCarNo2 = "";
rfidCarNo = "";
rfidEpc = "";
firstDb = null;
preTrackScale = null;
isClear = true;
}
#endregion
}
}