-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiModulesNodeType.cs
More file actions
44 lines (39 loc) · 1.08 KB
/
ApiModulesNodeType.cs
File metadata and controls
44 lines (39 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
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) 2026, Siemens AG
//
// SPDX-License-Identifier: MIT
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
using System.Runtime.Serialization;
namespace Siemens.Simatic.S7.Webserver.API.Enums
{
/// <summary>
/// Possible types of a node
/// </summary>
[JsonConverter(typeof(StringEnumConverter), converterParameters: typeof(SnakeCaseNamingStrategy))]
public enum ApiModulesNodeType
{
/// <summary>
/// This node has no dedicated type
/// </summary>
None = 0,
/// <summary>
/// This node represents an I/O system
/// </summary>
[EnumMember(Value = "iosystem")]
IoSystem = 1,
/// <summary>
/// This node represents a device
/// </summary>
Device = 2,
/// <summary>
/// This node represents a module
/// </summary>
Module = 3,
/// <summary>
/// This node represents a submodule
/// </summary>
[EnumMember(Value = "submodule")]
Submodule = 4,
}
}