You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
4.8 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPlan.Util {
class KConfigure {
public const string LOGIN_SECTION = "login";
public const string LOGIN_USER = "user";
public const string LOGIN_PWD = "password";
public const string LOGIN_ROLE = "role";
public const string HOST = "host";
public const string DBCONN = "oracle_conn";
public const string EPLANCONN = "eplan_conn";
public const string QUERY_PROJ_SECTION = "query_proj";
public const string QUERY_PROJ_NAME = "name";
public const string QUERY_PROJ_FIELDS = "fields";
public const string QUERY_PROJ_RESULTS = "result_table";
public const string QUERY_PROJ_HEIGHT = "height";
public const string LOG_SECTION = "log";
public const string LOG_SWITCH = "log_state";
public const string LOG_CONFIG_PATH = "log_config_path";
public const string FMS_SECTION = "fms";
public const string FMS_URL = "url";
public const string FMS_PATH = "path";
//EPLAN数据
public const string EPLAN_DATA_SECTION = "eplan_data";
public const string EPLAN_DATA_FOLDER = "data_folder";
public const string EPLAN_DATA_SKIP_FOLDER = "data_skip_folders";
public const string EPLAN_DATASET_UID = "dataset_uid";
public const string EPLAN_TEMPLATE_ITEM_ID = "template_item_id";
public const string EPLAN_TEMPLATE_DATASET_TYPE = "template_dataset_type";
public const string EPLAN_WORKSAPCE = "workspace";
public const string EPLAN_EN_TO_CN = "en_to_cn";
public const string EPLAN_KEEP_ZIP = "keep_zip_file";
//public const string SQL_SECTION = "sql";
//public const string SQL_SYNCED_ITEM = "synced_item";
//部件库同步
public const string PART_SYNC_TC_TO_EPLAN_SECTION = "part_sync_tc_to_eplan";
public const string PART_SYNC_EPLAN_TO_TC_SECTION = "part_sync_eplan_to_tc";
public const string PART_SYNC_CLASSIFICATION = "part_sync_classification";
public const string PART_SYNC_SECTION = "part_sync";
public const string PART_SYNC_TC_ITEM_TYPE = "object_type";
public const string PART_SYNC_OrderNr_TC = "ordernr_tc";
public const string PART_SYNC_ItemID_EPlan = "itemid_eplan";
//项目同步
public const string PROJ_SYNC_EPLAN_TO_TC_SECTION = "proj_sync_eplan_to_tc";
public const string PROJ_SYNC_SECTION = "proj_sync";
public const string PROJ_SYNC_PDF_DSTYPE = "pdf_dataset_type";
public const string PROJ_SYNC_PDF_DSREF = "pdf_dataset_ref";
public const string PROJ_SYNC_ZW_DSTYPE = "zw_dataset_type";
public const string PROJ_SYNC_ZW_DSREF = "zw_dataset_ref";
public const string PROJ_SYNC_TEMPLATE_ID = "template_id";
public const string PROJ_SYNC_TC_ITEM_TYPE = "object_type";
//部件查询
public const string PART_QUERY_SECTION = "part_query";
public const string PART_QUERY_NAME = "name";
public const string PART_QUERY_ITEM_ID = "field_itemid";
public const string PART_QUERY_ORDERNR = "field_ordernr";
//界面配置杂项
public const string UI_SOME_SECTION = "ui_some";
public const string UI_PROP_DESC = "rev.object_type";
public const string UI_PROP_MANUFACTURER = "rev.owning_user";
//编码申请
public const string BMSQ_SECTION = "bmsq";
public const string BMSQ_POSITION_PREF = "preference";
public const string BMSQ_PROCESS_TEMPLATE = "process_template";
public const string BMSQ_ITEMTYPE = "item_type";
public const string BMSQ_ROWTYPE = "row_type";
public const string BMSQ_TABLE = "table";
public const string BMSQ_ORDERNR = "ordernr";
public const string BMSQ_GUID = "guid";
public const string BMSQ_UNIT = "unit";
public const string BMSQ_DESC_CN = "desc_cn";
public const string BMSQ_DESC_EN = "desc_en";
//检查保存功能
public const string CHECK_SECTION = "proj_check";
public const string CHECK_TITLE = "table_table";
public const string CHECK_WIRE = "check_wire";
public const string CHECK_SAVEXML = "save_xml";
public const string SAVE_BOM_PROP = "bom_prop";
public const string ERROR_ARRAY_PROP = "erpno_prop";
//引用旧功能
public const string REF_SECTION = "ref";
public const string REF_BOM_TITILE = "bomtitle";
public const string REF_ERPCODE = "erpcode";
public const string REF_LINECOUNT = "lineCount";
public const string REF_DELETEXML = "deleteXML";
//public const string REF_DATABSE_ITEMID = "ELECPartLibItemID";
//public const string REF_UNZIP_PATH = "ELECPartLibUnzip";
public const string REF_DATABASE_LAST_UPDATE_TIME = "database_last_update_time";
//public const string REF_BOM_PROPS = "save_project_bom_prop";
}
}