-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiPlcProgramBlockType.cs
More file actions
47 lines (41 loc) · 969 Bytes
/
ApiPlcProgramBlockType.cs
File metadata and controls
47 lines (41 loc) · 969 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (c) 2026, Siemens AG
//
// SPDX-License-Identifier: MIT
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace Siemens.Simatic.S7.Webserver.API.Enums
{
/// <summary>
/// Block type enumeration.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ApiPlcProgramBlockType
{
/// <summary>
/// OB block.
/// </summary>
[EnumMember(Value = "ob")]
Ob,
/// <summary>
/// FB block.
/// </summary>
[EnumMember(Value = "fc")]
Fc,
/// <summary>
/// FC block.
/// </summary>
[EnumMember(Value = "fb")]
Fb,
/// <summary>
/// SFB block.
/// </summary>
[EnumMember(Value = "sfc")]
Sfc,
/// <summary>
/// SFC block.
/// </summary>
[EnumMember(Value = "sfb")]
Sfb,
}
}