using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lib.model
{
    internal class ImportDeliveryInstruction : DbTableDeliveryInstruction
    {
        private static IniFile ini = new IniFile("Linkage_data.ini");
        private static string strTableName = ini.Read("FCT85T", "Table");
        private readonly string TABLE = strTableName; //"ImportPurchaseOrder";

        private Dictionary<string, object> COLUMNS = new Dictionary<string, object>()
        {
            { ini.Read("Col1", "ColFCT85T"), "" },
            { ini.Read("Col2", "ColFCT85T"), "" },
            { ini.Read("Col3", "ColFCT85T"), "" },
            { ini.Read("Col4", "ColFCT85T"), "" },
            { ini.Read("Col5", "ColFCT85T"), "" },
            { ini.Read("Col6", "ColFCT85T"), "" },
            { ini.Read("Col7", "ColFCT85T"), "" },
            { ini.Read("Col8", "ColFCT85T"), "" },
            { ini.Read("Col9", "ColFCT85T"), "" },
            { ini.Read("Col10", "ColFCT85T"), "" },
            { ini.Read("Col11", "ColFCT85T"), "" },
            { ini.Read("Col12", "ColFCT85T"), "" },
            { ini.Read("Col13", "ColFCT85T"), "" },
            { ini.Read("Col14", "ColFCT85T"), "" },
            { ini.Read("Col15", "ColFCT85T"), "" },
            { ini.Read("Col16", "ColFCT85T"), "" },
            { ini.Read("Col17", "ColFCT85T"), "" },
            { ini.Read("Col18", "ColFCT85T"), "" },
            { ini.Read("Col19", "ColFCT85T"), "" },
            { ini.Read("Col20", "ColFCT85T"), "" },
            { ini.Read("Col21", "ColFCT85T"), "" },
            { ini.Read("Col22", "ColFCT85T"), "" },
            { ini.Read("Col23", "ColFCT85T"), "" },
            { ini.Read("Col24", "ColFCT85T"), "" },
            { ini.Read("Col25", "ColFCT85T"), "" },
            { ini.Read("Col26", "ColFCT85T"), "" },
            { ini.Read("Col27", "ColFCT85T"), "" },
            { ini.Read("Col28", "ColFCT85T"), "" },
            { ini.Read("Col29", "ColFCT85T"), "" },
            { ini.Read("Col30", "ColFCT85T"), "" },
            { ini.Read("Col31", "ColFCT85T"), "" },
            { ini.Read("Col32", "ColFCT85T"), "" },
            { ini.Read("Col33", "ColFCT85T"), "" },
            { ini.Read("Col34", "ColFCT85T"), "" },
            { ini.Read("Col35", "ColFCT85T"), "" },
            { ini.Read("Col36", "ColFCT85T"), "" },
            { ini.Read("Col37", "ColFCT85T"), "" },
            { ini.Read("Col38", "ColFCT85T"), "" },
            { ini.Read("Col39", "ColFCT85T"), "" },
            { ini.Read("Col40", "ColFCT85T"), "" },
            { ini.Read("Col41", "ColFCT85T"), "" },
            { ini.Read("Col42", "ColFCT85T"), "" },
            { ini.Read("Col43", "ColFCT85T"), "" },
            { ini.Read("Col44", "ColFCT85T"), "" },
            { ini.Read("Col45", "ColFCT85T"), "" },
            { ini.Read("Col46", "ColFCT85T"), "" },
            { ini.Read("Col47", "ColFCT85T"), "" },
            { ini.Read("Col48", "ColFCT85T"), "" },
            { ini.Read("Col49", "ColFCT85T"), "" },
            { ini.Read("Col50", "ColFCT85T"), "" },
            { ini.Read("Col51", "ColFCT85T"), "" },
            { ini.Read("Col52", "ColFCT85T"), "" },
            { ini.Read("Col53", "ColFCT85T"), "" },
            { ini.Read("Col54", "ColFCT85T"), "" },
            { ini.Read("Col55", "ColFCT85T"), "" },
            { ini.Read("Col56", "ColFCT85T"), "" },
            { ini.Read("Col57", "ColFCT85T"), "" },
            
            //{ "order_no", "" },
            //{ "order_deadline_code", "" },
            //{ "complete_code", "" },
            //{ "order_situation_code", "" },
            //{ "product_no", "" },
            //{ "part_no0", "" },
            //{ "part_no1", "" },
            //{ "part_no2", "" },
            //{ "part_name", "" },
            //{ "item_type", "" },
            //{ "arrangement_division", "" },
            //{ "item_lt", "" },
            //{ "safety_lt", "" },
            //{ "hl_dwg_no1", "" },
            //{ "hl_dwg_no2", "" },
            //{ "hl_dwg_no3", "" },
            //{ "hl_dwg_no4", "" },
            //{ "hl_dwg_no5", "" },
            //{ "product_no1", "" },
            //{ "product_no2", "" },
            //{ "product_no3", "" },
            //{ "customer_part_no_pi", "" },

            //{ "part_color_no", "" },
            //{ "factory_division", "" },
            //{ "necessary_day", "" },
            //{ "stock_unit_name", "" },
            //{ "order_issue_date", "" },
            //{ "slip_issue_date", "" },
            //{ "order_start_date", "" },
            //{ "order_delivery_date", "" },
            //{ "order_quantity", "" },
            //{ "warehouse_code1_plan", "" },
            //{ "warehouse_code2_plan", "" },
            //{ "warehouse_code3_plan", "" },
            //{ "mechanic_order", "" },
            //{ "start_key_no", "" },
            //{ "end_key_no", "" },
            //{ "comment_flag", "" },
            //{ "add_emergency_div", "" },
            //{ "product_act_out_div", "" },
            //{ "work_instr_no", "" },
            //{ "work_situation_code", "" },
            //{ "schedule_process_code", "" },

            //{ "schedule_work_center_code1", "" },
            //{ "schedule_work_center_code2", "" },
            //{ "child_part_no0", "" },
            //{ "child_part_no1", "" },
            //{ "child_part_no2", "" },
            //{ "update_date", "" },
            //{ "update_time", "" },
            //{ "last_transfer_date", "" },
            //{ "last_transfer_time", "" },

            //{ "filename", "" },
            //{ "create_dt", "" },
            //{ "create_user_id", "" },
            //{ "update_dt", "" },
            //{ "update_user_id", "" },
            

        };
        public override string __TABLE { get { return TABLE; } }
        public override Dictionary<string, object> __COLUMNS { get { return COLUMNS; } set { COLUMNS = value; } }

    }
}
