using CCDCount.DLL;
using CCDCount.DLL.SqlDataClass;
using CCDCount.MODEL.SqlDataModel;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;

namespace CCDCountWpf
{
    public static class MessageBus
    {
        public static List<MainThreadClass> MainThreadS = new List<MainThreadClass>();

        public static MainThreadClass NowSettingLoadMainThread = null;

        public static ShowBindingClass ShowBinding = new ShowBindingClass();

        public static CameraClass CameraClass = new CameraClass();

        public static FaultLogClass faultLogClass = new FaultLogClass($"{AppDomain.CurrentDomain.BaseDirectory}DATA\\FaultMessage{DateTime.Now:yyyyMMdd}.db");

        public static UserMessSqliteDataClass UserMessageClass = new UserMessSqliteDataClass($"{AppDomain.CurrentDomain.BaseDirectory}DATA\\UserData\\UserMessage.db");

        public static UserMesDataModelClass NowLoginUserMessage = null;

        public static string NowLoadCammeraSN = string.Empty;
        public static int SeetingNowLoadInMaThreadsIndex = -1;
        public static int NowLoadCameraIndex = -1;
    }
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
    }
}
