84 lines
2.5 KiB
C#
84 lines
2.5 KiB
C#
using System;
|
|
using ZR.Model;
|
|
using ZR.Model.Dto;
|
|
using ZR.Model.Business;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ZR.Service.Business.IBusinessService
|
|
{
|
|
/// <summary>
|
|
/// 质量GP12工单业务模块service接口
|
|
/// </summary>
|
|
public interface IQcGp12Service : IBaseService<QcGp12ServiceWorkorder>
|
|
{
|
|
/// <summary>
|
|
/// 获取班组下拉
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<QcGp12BaseGroupDto> GetGroupOptions();
|
|
|
|
/// <summary>
|
|
/// 获取站点下拉
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<QcGp12BaseSiteDto> GetStieOptions();
|
|
|
|
/// <summary>
|
|
/// 获取缺陷项渲染数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<QcGp12AlterationDefectDto> GetDefectInitOptions();
|
|
|
|
/// <summary>
|
|
/// 获取缺陷项菜单列表的渲染数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<QcGp12AlterationDefectDto> GetDefectTableOptions();
|
|
|
|
/// <summary>
|
|
/// 解析标签
|
|
/// </summary>
|
|
/// <param name="label">标签内容</param>
|
|
/// <param name="type">解析方法</param>
|
|
/// <returns></returns>
|
|
QcGp12LabelAnalysisDto AnalyzeLabelToDto(string label,int type);
|
|
|
|
/// <summary>
|
|
/// 开始工单(标签重复则开启旧工单)
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
QcGp12ServiceWorkorder StartGP12WorkOrder(QcGp12WorkorderDetailDto data);
|
|
|
|
/// <summary>
|
|
/// 工单缺陷项修改
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
QcGp12ServiceWorkorder ChangeWorkOrderDefect(QcGp12WorkorderDefectDto data);
|
|
|
|
/// <summary>
|
|
/// 触摸屏工单缺陷项获取
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<QcGp12RecordWorkorderDefect> GetWorkOrderDefectList(string workorder);
|
|
|
|
/// <summary>
|
|
/// 触摸屏扫内标签零件
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
string ScanInnerLabel(QcGp12LabelScanDto data);
|
|
|
|
/// <summary>
|
|
/// 结束工单并生成质量报表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
string EndGP12WorkOrderAndCreateStatistics(string workorder);
|
|
|
|
/// <summary>
|
|
/// 更新工单相关信息
|
|
/// </summary>
|
|
/// <param name="workorder"></param>
|
|
/// <returns></returns>
|
|
public QcGp12ServiceWorkorder UpdateWorkOrderDetail(string workorder);
|
|
}
|
|
}
|