-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiPlcRedundancySystemState.cs
More file actions
54 lines (52 loc) · 1.37 KB
/
ApiPlcRedundancySystemState.cs
File metadata and controls
54 lines (52 loc) · 1.37 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
45
46
47
48
49
50
51
52
53
54
// 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>
/// The system state describes the overall state of the R/H system.
/// It is determined by the combination of the operating modes of both R/H PLCs.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ApiPlcRedundancySystemState
{
/// <summary>
/// Unknown
/// </summary>
[EnumMember(Value = "unknown")]
Unknown = 0,
/// <summary>
/// Run_solo
/// </summary>
[EnumMember(Value = "run_solo")]
Run_solo = 1,
/// <summary>
/// Run_redundant
/// </summary>
[EnumMember(Value = "run_redundant")]
Run_redundant = 2,
/// <summary>
/// Stop
/// </summary>
[EnumMember(Value = "stop")]
Stop = 3,
/// <summary>
/// Syncup
/// </summary>
[EnumMember(Value = "syncup")]
Syncup = 4,
/// <summary>
/// Halt
/// </summary>
[EnumMember(Value = "halt")]
Halt = 5,
/// <summary>
/// Startup
/// </summary>
[EnumMember(Value = "startup")]
Startup = 6,
}
}