namespace DeviceRepairAndOptimization
{
    public static class ServiceRouteConstValue
    {

        #region 用户相关

        /// <summary>
        /// 用户登录
        /// </summary>
        public const string UserLogin = "Api/User/login";

        /// <summary>
        /// 用户登出
        /// </summary>
        public const string LogOut = "Api/User/LogOut";

        /// <summary>
        /// 验证账户密码是否正确
        /// </summary>
        public const string ValidePassWord = "Api/User/ValidePassWord";

        /// <summary>
        /// 修改用户密码
        /// </summary>
        public const string UpdateUserPassword = "Api/User/UpdateUserPassword";

        /// <summary>
        /// 查询最后修改密码时间
        /// </summary>
        public const string CheckChangePwdDate = "Api/User/CheckChangePwdDate";

        /// <summary>
        /// 获取所有用户
        /// </summary>
        public const string GetAllUsers = "Api/User/GetAllUser";

        /// <summary>
        /// 重置用户时用的默认密码
        /// </summary>
        public const string USER_DEFAULT_PASSWORD_RESET = "Kanghui1";

        /// <summary>
        /// 用户信息修改
        /// </summary>
        public const string EditUser = "Api/User/EditUser";

        /// <summary>
        /// 根据主键编号是插入/更新
        /// </summary>
        public const string InsertOrEdit = "Api/User/InsertOrEdit";

        /// <summary>
        /// 判断用户名是否存在
        /// </summary>
        public const string ExistLoginCode = "Api/User/ExistLoginCode";

        /// <summary>
        /// 获取用户名称及用户编号映射
        /// </summary>
        public const string GetUserMapping = "Api/User/GetUserMapping";

        #endregion

        #region 权限

        /// <summary>
        /// 获取所有角色
        /// </summary>
        public const string GetAllRoles = "Api/Role/GetAll";

        /// <summary>
        /// 获取角色下的用户
        /// </summary>
        public const string GetRoleUsers = "Api/Role/GetRoleUsers";

        /// <summary>
        /// 根据角色ID,权限状态 获取权限列表
        /// </summary>
        public const string GetRoleAuths = "Api/Role/GetRoleAuths";

        /// <summary>
        /// 权限修改
        /// </summary>
        public const string EditRole = "Api/Role/EditRole";

        /// <summary>
        /// 获取全部权限数据
        /// </summary>
        public const string GetAuthList = "Api/Role/GetAuthList";

        /// <summary>
        /// 判断当前角色编码是否存在
        /// </summary>
        public const string CheckRoleCodeExists = "Api/Role/CheckRoleCodeExists";

        /// <summary>
        /// 根据主键编号是插入/更新 角色权限数据
        /// </summary>
        public const string InsertOrEditRoleAndAuth = "Api/Role/InsertOrEditRoleAndAuth";

        /// <summary>
        /// 清空角色下的用户
        /// </summary>
        public const string ClearRoleUsers = "Api/Role/ClearRoleUsers";

        /// <summary>
        /// 清空角色下的权限
        /// </summary>
        public const string ClearRoleAuths = "Api/Role/ClearRoleAuths";

        #endregion

        #region 计划相关

        /// <summary>
        /// 获取当前年月的待保修项
        /// </summary>
        public const string GetCurrentMonthPlanItems = "Api/Plan/GetPlanItems";

        /// <summary>
        /// 获取当前年月的待保修项数量
        /// </summary>
        public const string GetCurrentMonthPlanItemCount = "Api/Plan/GetCurrentMonthPlanTipsCountAsync";

        /// <summary>
        /// 获取所有年计划
        /// </summary>
        public const string GetAllPlans = "Api/Plan/GetAllPlans";

        /// <summary>
        /// 导出EXCEL的数据
        /// </summary>
        public const string GetExcelExportDatasByYear = "Api/Plan/ExportXlsxDatas";

        /// <summary>
        /// 删除计划
        /// </summary>
        public const string DeleteByYearAndEquipmentPk = "Api/Plan/DeleteByYearAndEquipmentPk";

        /// <summary>
        /// 获取当前计划是否存的保养记录
        /// </summary>
        public const string GetPlanRecordProgress = "Api/Plan/GetPlanRecordProgress";

        /// <summary>
        /// 根据设备主键ID取指定年份计划数据
        /// </summary>
        public const string GetPlanByEquipmentPkAndYear = "Api/Plan/GetPlanByEquipmentPkAndYear";

        /// <summary>
        /// 保养计划批量新增数据
        /// </summary>
        public const string PlanDataInsertRange = "Api/Plan/InsertDatas";

        /// <summary>
        /// 当前年度计划完成进度
        /// </summary>
        public const string GetCurrentYearPlanSchedule = "Api/Plan/GetCurrentYearPlanSchedule";

        /// <summary>
        /// 获取设备在年度的全部保养信息
        /// </summary>
        public const string GetDeviceInformationPlans = "Api/Plan/GetDeviceInformationPlans";

        #endregion

        #region 设备信息

        /// <summary>
        /// 通过设备编号查询设备信息(非主键ID)
        /// </summary>
        public const string GetDeviceByEquipmentID = "Api/Device/GetModelByEquipmentID";

        /// <summary>
        /// 设备台账信息
        /// </summary>
        public const string GetDeviceQuery = "Api/Device/GetQuery";

        /// <summary>
        /// 获取树形结构
        /// </summary>
        public const string GetDeviceTreeDatas = "Api/Device/GetDeviceTreeDatas";

        /// <summary>
        /// 修改/新增 设备信息
        /// </summary>
        public const string UpdateDeviceInformation = "Api/Device/UpdateDriveInformation";

        /// <summary>
        /// 通过设备表主键编号查询数据
        /// </summary>
        public const string GetDeviceDataByAutoID = "Api/Device/GetDataByAutoID";

        #endregion

        #region 设备保养

        /// <summary>
        /// 获取点检表文件
        /// </summary>
        public const string GetPreserveFile = "Api/Preserve/GetFileItem";

        /// <summary>
        /// 下载PDF文件
        /// </summary>
        public const string GetPDFFile = "Api/Preserve/GetDownPDFFile";

        /// <summary>
        /// 获取保养计划及对应的点检表信息
        /// </summary>
        public const string GetPlanAndFormInfo = "Api/Preserve/GetPlanAndFormInfo";

        /// <summary>
        /// 根据主键编号获取对象
        /// </summary>
        public const string GetPreserveRecordItemByPrimaryKey = "Api/Preserve/GetPreserveRecordItemByPrimaryKey";

        /// <summary>
        /// 通过设备主键编号及点检表主键编号获取单条保养信息记录
        /// </summary>
        public const string GetSingleByEquipmentPKAndFormPK = "Api/Preserve/GetSingleByEquipmentIDAndFormID";

        /// <summary>
        /// 获取全部保养信息
        /// </summary>
        public const string GetPreserveDatas = "Api/Preserve/GetPreserveDatas";

        /// <summary>
        /// 获取保养数据
        /// </summary>
        public const string GetPreserveDetailByID = "Api/Preserve/GetDetailById";

        /// <summary>
        /// 插入保养数据
        /// </summary>
        public const string InsertablePreserve = "Api/Preserve/Insertable";

        #endregion

        #region 点检表

        /// <summary>
        /// 根据关键字筛选点检表
        /// </summary>
        public const string FormDataQuery = "Api/Form/GetQuery";

        /// <summary>
        /// 修改点检表备注信息
        /// </summary>
        public const string FormRemarkChange = "Api/Form/ChangeRemark";

        /// <summary>
        /// 单行数据翻转当前状态(启用/禁用)
        /// </summary>
        public const string FormDataStatusChange = "Api/Form/ChangeStauts";

        /// <summary>
        /// 获取设备信息树形结构 -- 按名称分类
        /// </summary>
        public const string GetDeviceInformationTreeView = "Api/Form/GetDeviceInformationTreeView";

        /// <summary>
        /// 分配点检表到指定设备
        /// </summary>
        public const string AssigningFormToDevices = "Api/Form/AssigningFormToDevices";

        /// <summary>
        /// 获取单条数据
        /// </summary>
        public const string GetFormGetSingle = "Api/Form/GetSingle";

        /// <summary>
        /// 点检表文件上传
        /// </summary>
        public const string UploadForm = "Api/Form/Upload";

        /// <summary>
        /// 点检表数据新增
        /// </summary>
        public const string FormInsertSingle = "Api/Form/InsertSingle";

        /// <summary>
        /// 判断点检表数据是否存在
        /// </summary>
        public const string FormDataIsExists = "Api/Form/FormIsExists";

        #endregion

        #region 设备维修

        /// <summary>
        /// 设备维修单获取
        /// </summary>
        public const string GetMaintenanceDatas = "Api/Maintenance/GetDatas";

        /// <summary>
        /// 设备维修
        /// </summary>
        public const string DeviceMaintion = "Api/Maintenance/DeviceMaintion";

        /// <summary>
        /// 修改停机单 停机状态
        /// </summary>
        public const string ChangeDownStatus = "Api/Maintenance/ChangeDownStatus";

        /// <summary>
        /// 双重确认
        /// </summary>
        public const string DoubleValidateMaintenance = "Api/Maintenance/ValidateMaintenance";

        #endregion

        #region 枚举字段

        /// <summary>
        /// 查询
        /// </summary>
        public const string Field_Query = "Api/Field/GetQuery";

        /// <summary>
        /// 判断数据是否存在
        /// </summary>
        public const string Field_Exists = "Api/Field/IsExists";

        /// <summary>
        /// 新增或修改
        /// </summary>
        public const string Field_InsertOrEdit = "Api/Field/InsertOrEdit";

        /// <summary>
        /// 更改状态
        /// </summary>
        public const string Field_ChangeStatus = "Api/Field/ChangeStatus";

        #endregion

        #region 公共

        /// <summary>
        /// 获取服务器时间
        /// </summary>
        public const string GetCurrentTime = "Api/Common/CurrentDateTime";

        /// <summary>
        /// 获取配置信息
        /// </summary>
        public const string GetConfigs = "Api/Common/GetQuery";

        /// <summary>
        /// 编辑配置信息
        /// </summary>
        public const string EditConfigs = "Api/Common/EditConfigs";

        /// <summary>
        /// 获取附件信息
        /// </summary>
        public const string GetAttachments = "Api/Common/GetAttachments";

        /// <summary>
        /// 获取图片资源
        /// </summary>
        public const string GetAttaImg = "Api/Common/GetAttachments";

        #endregion

    }
}
