blob: 26abd1ad6601cedd5869507527524b6ec3799476 [file] [log] [blame]
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01001/*******************************************************************************
2* Copyright (c) 2020 Robert Bosch GmbH
3* Author: Constantin Ziesche (constantin.ziesche@bosch.com)
4*
5* This program and the accompanying materials are made available under the
6* terms of the Eclipse Public License 2.0 which is available at
7* http://www.eclipse.org/legal/epl-2.0
8*
9* SPDX-License-Identifier: EPL-2.0
10*******************************************************************************/
Constantin Zieschefa612082020-04-03 09:54:56 +020011namespace BaSyx.Models.Communication
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010012{
Constantin Ziesche08215502020-09-21 19:08:32 +020013 /// <summary>
14 /// Defines the execution state of an invoked operation
15 /// </summary>
Constantin Zieschefa612082020-04-03 09:54:56 +020016 public enum ExecutionState
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010017 {
Constantin Ziesche08215502020-09-21 19:08:32 +020018 /// <summary>
19 /// Initial state of execution
20 /// </summary>
Constantin Zieschefa612082020-04-03 09:54:56 +020021 Initiated,
Constantin Ziesche08215502020-09-21 19:08:32 +020022 /// <summary>
23 /// The operation is running
24 /// </summary>
Constantin Zieschefa612082020-04-03 09:54:56 +020025 Running,
Constantin Ziesche08215502020-09-21 19:08:32 +020026 /// <summary>
27 /// The operation execution has been completed
28 /// </summary>
Constantin Zieschefa612082020-04-03 09:54:56 +020029 Completed,
Constantin Ziesche08215502020-09-21 19:08:32 +020030 /// <summary>
31 /// The operation execution has been canceled
32 /// </summary>
Constantin Zieschefa612082020-04-03 09:54:56 +020033 Canceled,
Constantin Ziesche08215502020-09-21 19:08:32 +020034 /// <summary>
35 /// The operation execution has been failed
36 /// </summary>
37 Failed,
38 /// <summary>
39 /// The operation execution has timed out
40 /// </summary>
41 Timeout
42
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010043 }
Constantin Zieschefa612082020-04-03 09:54:56 +020044}