using System;

namespace CncModels.Constants
{
    /// <summary>
    /// 数据库表名常量
    /// </summary>
    public static class TableName
    {
        /// <summary>车间表 cnc_workshop</summary>
        public const string Workshop = "cnc_workshop";

        /// <summary>品牌表 cnc_brand</summary>
        public const string Brand = "cnc_brand";

        /// <summary>品牌字段映射表 cnc_brand_field_mapping</summary>
        public const string BrandFieldMapping = "cnc_brand_field_mapping";

        /// <summary>采集地址表 cnc_collect_address</summary>
        public const string CollectAddress = "cnc_collect_address";

        /// <summary>机床表 cnc_machine</summary>
        public const string Machine = "cnc_machine";

        /// <summary>工人表 cnc_worker</summary>
        public const string Worker = "cnc_worker";

        /// <summary>工人-机床绑定表 cnc_worker_machine</summary>
        public const string WorkerMachine = "cnc_worker_machine";

        /// <summary>采集结构化记录表 cnc_collect_record</summary>
        public const string CollectRecord = "cnc_collect_record";

        /// <summary>产量分段表 cnc_production_segment</summary>
        public const string ProductionSegment = "cnc_production_segment";

        /// <summary>机床日状态 cnc_machine_daily_status</summary>
        public const string MachineDailyStatus = "cnc_machine_daily_status";

        /// <summary>日产量 cnc_daily_production</summary>
        public const string DailyProduction = "cnc_daily_production";

        /// <summary>工人日汇总 cnc_worker_daily_summary</summary>
        public const string WorkerDailySummary = "cnc_worker_daily_summary";

        /// <summary>产量调整 cnc_production_adjustment</summary>
        public const string ProductionAdjustment = "cnc_production_adjustment";

        /// <summary>告警 cnc_alert</summary>
        public const string Alert = "cnc_alert";

        /// <summary>系统配置 cnc_sys_config</summary>
        public const string SysConfig = "cnc_sys_config";

        /// <summary>大屏配置 cnc_screen_config</summary>
        public const string ScreenConfig = "cnc_screen_config";

        /// <summary>大屏筛选配置 cnc_screen_filter</summary>
        public const string ScreenFilter = "cnc_screen_filter";

        // 日志库表
        /// <summary>日志原始采集表 log_collect_raw</summary>
        public const string LogCollectRaw = "log_collect_raw";

        /// <summary>日志系统表 log_system</summary>
        public const string LogSystem = "log_system";

        /// <summary>日志心跳表 log_collector_heartbeat</summary>
        public const string LogCollectorHeartbeat = "log_collector_heartbeat";
    }
}
