-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathIMarkingLaserDriver.cs
More file actions
32 lines (28 loc) · 1.08 KB
/
IMarkingLaserDriver.cs
File metadata and controls
32 lines (28 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2025, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.AbstractionLayer.Drivers.Marking
{
/// <summary>
/// Driver interface for laser printing devices
/// </summary>
public interface IMarkingLaserDriver : IDriver
{
/// <summary>
/// Set up marking file as a preparation for the marking process
/// </summary>
Task<MarkingFileResponse> SetMarkingFileAsync(MarkingFile file);
/// <summary>
/// Will start the marking process and executes the given callback after finish
/// </summary>
/// <param name="config">The configuration for the marking process.</param>
Task<MarkingResponse> MarkAsync(MarkingConfiguration config);
/// <summary>
/// Will be fired if an error occured
/// </summary>
event EventHandler<NotificationResponse> ErrorOccured;
/// <summary>
/// Will be fired of a warning occured
/// </summary>
event EventHandler<NotificationResponse> WarningOccured;
}
}