CNC数据存储问题,包括中间的处理情况的缓存
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using XplorePlane.Models;
|
||||
|
||||
namespace XplorePlane.Services.InspectionResults
|
||||
{
|
||||
public interface IInspectionResultStore
|
||||
{
|
||||
Task BeginRunAsync(InspectionRunRecord runRecord, InspectionAssetWriteRequest runSourceAsset = null);
|
||||
|
||||
Task AppendNodeResultAsync(
|
||||
InspectionNodeResult nodeResult,
|
||||
IEnumerable<InspectionMetricResult> metrics = null,
|
||||
PipelineExecutionSnapshot pipelineSnapshot = null,
|
||||
IEnumerable<InspectionAssetWriteRequest> assets = null);
|
||||
|
||||
Task CompleteRunAsync(Guid runId, bool? overallPass = null, DateTime? completedAt = null);
|
||||
|
||||
Task<IReadOnlyList<InspectionRunRecord>> QueryRunsAsync(InspectionRunQuery query = null);
|
||||
|
||||
Task<InspectionRunDetail> GetRunDetailAsync(Guid runId);
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user