1111
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
namespace HardwareControl.Core.SampleAnalysis
|
||||
{
|
||||
/// <summary>基准画面信息(放置靶样前)。</summary>
|
||||
public sealed record SampleBaselineInfo(
|
||||
int Width,
|
||||
int Height,
|
||||
DateTimeOffset CapturedAt);
|
||||
|
||||
/// <summary>靶样画面信息(放置靶样后)。</summary>
|
||||
public sealed record SampleTargetInfo(
|
||||
int Width,
|
||||
int Height,
|
||||
DateTimeOffset CapturedAt);
|
||||
|
||||
/// <summary>图像坐标系下的采样点。</summary>
|
||||
public sealed record SamplePoint(int X, int Y);
|
||||
|
||||
/// <summary>靶样轮廓与采样点分析结果。</summary>
|
||||
public sealed record SampleAnalysisResult(
|
||||
byte[] ImageData,
|
||||
string MimeType,
|
||||
int Width,
|
||||
int Height,
|
||||
int SamplingPointCount,
|
||||
IReadOnlyList<SamplePoint> SamplingPoints);
|
||||
}
|
||||
Reference in New Issue
Block a user