using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YQLUtils
{
    public class Settings
    {
        public static int RECODE_FAILURE                      = 0   ;
        public static int RECODE_SUCCEED                      = 1   ;
        public static int RECODE_WARNING                      = 2   ;
        public static int RECODE_CHANGED                      = 3   ;
        public static int RECODE_JUMPING                      = 4   ;
        public static int CODE_SUCCESS                        = 200 ;
        public static int CODE_FAILURE                        = 500 ;
        public static int CODE_WARNING                        = 201 ;
        public static int AXIS_STATUS_REGISTER_0              = 0   ;
        public static int AXIS_STATUS_REGISTER_1              = 1   ;
        public static int AXIS_STATUS_REGISTER_2              = 2   ;
        public static int AXIS_STATUS_REGISTER_3              = 3   ;
        public static int AXIS_STATUS_REGISTER_4              = 4   ;
        public static int READONLY_AXIS_STATUS_REGISTER_0     = 0   ;
        public static int READONLY_AXIS_STATUS_REGISTER_1     = 1   ;
        public static int READONLY_AXIS_STATUS_REGISTER_2     = 2   ;
        public static int READONLY_AXIS_STATUS_REGISTER_3     = 3   ;
        public static int READONLY_AXIS_STATUS_REGISTER_4     = 4   ;
        public static int READONLY_AXIS_STATUS_REGISTER_5     = 5   ;
        public static byte[] START_DECODE       = { 0x16, 0x54, 0x0D };
        public static byte[] STOP_DECODE        = { 0x16, 0x55, 0x0D };
        public static byte[] CONSOLE_MODE       = { 0x16, 0x4D, 0x0D, 0x30, 0x34, 0x30, 0x31, 0x44, 0x30, 0x35, 0x2E };
        public static byte[] GET_VERSION        = { 0x16, 0x4D, 0x0D, 0x25, 0x25, 0x25, 0x56, 0x45, 0x52, 0x2E };
        public static byte[] DECODE_TAIL        = { 0x0D, 0x0A};
        public static byte[] DECODE_FRAME_TAIL  = { 0x06 };
        public const byte       DEFAULT_BYTE                = default(byte      );
        public const string     DEFAULT_STRING              = default(string    );
        public const bool       DEFAULT_BOOL                = default(bool      );
        public const short      DEFAULT_INT16               = default(short     );
        public const ushort     DEFAULT_UINT16              = default(ushort    );
        public const int        DEFAULT_INT32               = default(int       );
        public const uint       DEFAULT_UINT32              = default(uint      );
        public const long       DEFAULT_INT64               = default(long      );
        public const ulong      DEFAULT_UINT64              = default(ulong     );
        public const float      DEFAULT_FLOAT               = default(float     );
        public const double     DEFAULT_DOUBLE              = default(double    );
        public const byte       DEFAULT_BYTE_ARRAY          = default(byte      );
        public const string[]   DEFAULT_STRING_ARRAY        = default(string  []);
        public const bool  []   DEFAULT_BOOL_ARRAY          = default(bool    []);
        public const short []   DEFAULT_INT16_ARRAY         = default(short   []);
        public const ushort[]   DEFAULT_UINT16_ARRAY        = default(ushort  []);
        public const int   []   DEFAULT_INT32_ARRAY         = default(int     []);
        public const uint  []   DEFAULT_UINT32_ARRAY        = default(uint    []);
        public const long  []   DEFAULT_INT64_ARRAY         = default(long    []);
        public const ulong []   DEFAULT_UINT64_ARRAY        = default(ulong   []);
        public const float []   DEFAULT_FLOAT_ARRAY         = default(float   []);
        public const double[]   DEFAULT_DOUBLE_ARRAY        = default(double  []);
        public const string MTBCondenserProperties          = "MTBCondenserProperties"     ;
        public const string MTBEyePiece                     = "MTBEyePiece"                ;
        public const string MTBFocus                        = "MTBFocus"                   ;
        public const string MTBMicroscopeManager            = "MTBMicroscopeManager"       ;
        public const string MTBObject                       = "MTBObject"                  ;
        public const string MTBObjectiveChanger             = "MTBObjectiveChanger"        ;
        public const string MTBRLTLSwitch                   = "MTBRLTLSwitch"              ;
        public const string MTBTLFieldStop                  = "MTBTLFieldStop"             ;
        public const string MTBTLFilterChanger1             = "MTBTLFilterChanger1"        ;
        public const string MTBTLFilterChanger2             = "MTBTLFilterChanger2"        ;
        public const string MTBTLHalogenLamp                = "MTBTLHalogenLamp"           ;
        public const string MTBTLVirtualFilterChanger       = "MTBTLVirtualFilterChanger"  ;
        public const string MTBMicroscopeLanguage           = "en";
    }
}