-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiLedType.cs
More file actions
33 lines (32 loc) · 864 Bytes
/
ApiLedType.cs
File metadata and controls
33 lines (32 loc) · 864 Bytes
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
33
// Copyright (c) 2026, Siemens AG
//
// SPDX-License-Identifier: MIT
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Siemens.Simatic.S7.Webserver.API.Enums
{
/// <summary>
/// Represents the type of an LED
/// </summary>
[JsonConverter(typeof(StringEnumConverter), converterParameters: typeof(SnakeCaseNamingStrategy))]
public enum ApiLedType
{
/// <summary>
/// This should never happen
/// </summary>
None,
/// <summary>
/// The LED represents the RUN/STOP LED
/// </summary>
RunStop,
/// <summary>
/// The LED represents the Maintenance LED
/// </summary>
Maintenance,
/// <summary>
/// The LED represents the Error LED
/// </summary>
Error
}
}