FilePath.cs 1.6 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Model
{
    /// <summary>
    /// 文件路径
    /// </summary>
    public static class FilePath
    {
        public static readonly string LANGUAGE_DIR = Application.StartupPath + "\\Language\\";
        public static readonly string MATERIAL_DIR = Application.StartupPath + "\\Material\\";
        public static readonly string RETROSPECT_DIR = Application.StartupPath + "\\Retrospect\\";
        public static readonly string PRINT_LABEL_DIR = Application.StartupPath + "\\PrintLabel\\";
        public static readonly string CONFIG_DIR = Application.StartupPath + "\\Config\\";

        public static readonly string CONFIG_APP = Application.StartupPath + "\\Config\\app.config";
        public static readonly string CONFIG_CAMERA = Application.StartupPath + "\\Config\\Camera.json";
        public static readonly string CONFIG_MACRO_KEY = Application.StartupPath + "\\Config\\MacroKey.txt";
        public static readonly string CONFIG_HTTP_TEST_DATA = Application.StartupPath + "\\Config\\HttpTestData.json";
        public static readonly string CONFIG_EXTENSION = Application.StartupPath + "\\Config\\Extension.json";
        public static readonly string CONFIG_REELID = Application.StartupPath + "\\Config\\ReelID";
        public static readonly string CONFIG_DATABASE = Application.StartupPath + "\\Config\\Database.db3";
        public static readonly string CONFIG_AUTOGENRULES = Application.StartupPath + "\\Config\\AutoGenRules.json";
    }
}