| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Data.SQLite;
- using System.Threading;
- namespace BulkPrinting
- {
- public static class Globals
- {
- public static string MaxDBPath;
- public static string MaxDBFilePath;
- public static readonly object DBWriteLock = new object();
- public static SessionModes SessionMode;
- public static OKResponse SessionData;
- public static string HDDSerialNumber;
- public static ICollection<NetworkCatalogue> ProductCatalogue;
- public static byte[] SessionDatabasePassword;
- public static byte[] SessionEncryptedDatabasePassword;
- public static byte[] SessionVoucherKey;
- public static byte[] SessionSalt;
- public static int SessionIterations;
- public static SQLiteConnection DBConnection;
- public static Printer MaxPrinter;
- public static List<int> OpenBatches;
- public static UserLimits UserCurrentUsage;
- public static Thread LogUploadThread;
- public static object LogUploadThreadLock = new object();
- public static bool LogUploadThreadCancelled;
- public static bool UploadNewLogs;
- public static Thread LogDownloadThread;
- public static object LogDownloadThreadLock = new object();
- public static bool LogDownloadThreadCancelled;
- }
- }
|