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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CartridgeState.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Tango.PMR.IFS {
/// <summary>Holder for reflection information generated from CartridgeState.proto</summary>
public static partial class CartridgeStateReflection {
#region Descriptor
/// <summary>File descriptor for CartridgeState.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CartridgeStateReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChRDYXJ0cmlkZ2VTdGF0ZS5wcm90bxINVGFuZ28uUE1SLklGUyrPAQoOQ2Fy",
"dHJpZGdlU3RhdGUSCAoETm9uZRAAEgoKBkFic2VudBABEgsKB1ByZXNlbnQQ",
"AhIMCghJbnNlcnRlZBADEgkKBUVtcHR5EAQSCAoERnVsbBAFEgkKBUVycm9y",
"EAYSCwoHRmlsbGluZxAKEhQKEEZpbGxpbmdDb21wbGV0ZWQQCxIRCg1GaWxs",
"aW5nRmFpbGVkEAwSDAoIRW1wdHlpbmcQFBIVChFFbXB0eWluZ0NvbXBsZXRl",
"ZBAVEhEKDUVtcHlpbmdGYWlsZWQQFkIZChdjb20udHdpbmUudGFuZ28ucG1y",
"Lmlmc2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.IFS.CartridgeState), }, null));
}
#endregion
}
#region Enums
/// <summary>
///OT = One Trigger, meaning, the state should be sent once, then return to a none OT state.
/// </summary>
public enum CartridgeState {
/// <summary>
///Unspecified.
/// </summary>
[pbr::OriginalName("None")] None = 0,
/// <summary>
///Waste or ink cartridge not found.
/// </summary>
[pbr::OriginalName("Absent")] Absent = 1,
/// <summary>
///Waste or ink cartridge present.
/// </summary>
[pbr::OriginalName("Present")] Present = 2,
/// <summary>
///Waste or ink cartridge inserted. | OT
/// </summary>
[pbr::OriginalName("Inserted")] Inserted = 3,
/// <summary>
///Waste or ink cartridge is empty.
/// </summary>
[pbr::OriginalName("Empty")] Empty = 4,
/// <summary>
///Waste or ink cartridge is full.
/// </summary>
[pbr::OriginalName("Full")] Full = 5,
/// <summary>
///Waste or ink is in an error state. (unrelated to filling or emptying)
/// </summary>
[pbr::OriginalName("Error")] Error = 6,
/// <summary>
///Ink cartridge is now filling...
/// </summary>
[pbr::OriginalName("Filling")] Filling = 10,
/// <summary>
///Ink cartridge filing completed. | OT
/// </summary>
[pbr::OriginalName("FillingCompleted")] FillingCompleted = 11,
/// <summary>
///Error occurred while ink filling. | OT
/// </summary>
[pbr::OriginalName("FillingFailed")] FillingFailed = 12,
/// <summary>
///Waste cartridge is emptying...
/// </summary>
[pbr::OriginalName("Emptying")] Emptying = 20,
/// <summary>
///Waste cartridge emptying completed. | OT
/// </summary>
[pbr::OriginalName("EmptyingCompleted")] EmptyingCompleted = 21,
/// <summary>
///Error occurred while waste emptying. | OT
/// </summary>
[pbr::OriginalName("EmpyingFailed")] EmpyingFailed = 22,
}
#endregion
}
#endregion Designer generated code
|