Newer
Older
Correlator / Correlator / Util / FlowStatus.cs
using System.Collections.Generic;
using Correlator.Model;
using Correlator.SensorHubTag;

namespace Correlator.Util
{
    /// <summary>
    /// 业务流程个节点状态
    /// </summary>
    public class FlowStatus
    {
        //听音过程中没有接收到数据的时间间隔
        public static int ElapseTime = 0;

        //听音状态
        public static bool IsListening = false;

        //是否可以收集数据
        public static bool CanCollectData = false;

        //红色传感器是否正常
        public static bool RedSensorIsEnable = false;

        //蓝色传感器是否正常
        public static bool BlueSensorIsEnable = false;

        //采集到的音频数据
        public static CorrelatorDataModel CorrelatorData;
        
        //水听器模式
        public static bool IsHydrophone = false;

        //点名对话框是否已显示
        public static bool IsShowing = false;

        //数据包index
        public static readonly List<byte> SeqCaches = new List<byte>();

        //水听器下发唤醒指令时间戳
        public static byte[] HydrophoneWakeUpTimeBytes = new byte[6];

        //水听器红色信号接收器数据
        public static readonly List<List<Tag>> RedSensorTagLists = new List<List<Tag>>();

        //水听器蓝色信号接收器数据
        public static readonly List<List<Tag>> BlueSensorTagLists = new List<List<Tag>>();
    }
}