aboutsummaryrefslogtreecommitdiffstats
path: root/Software/PMR/Messages/IFS/CartridgeState.proto
blob: b256f66b1684f3345954c5a9fc98843f9d834d41 (plain)
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
syntax = "proto3";

package Tango.PMR.IFS;
option java_package = "com.twine.tango.pmr.ifs";

enum CartridgeState
{
	//OT = One Trigger, meaning, the state should be sent once, then return to a none OT state.

	//States

	None = 0; //Unspecified.
	Absent = 1; //Waste or ink cartridge not found.
	Present = 2; //Waste or ink cartridge present.
	Inserted = 3; //Waste or ink cartridge inserted. | OT
	Empty = 4; //Waste or ink cartridge is empty.
	Full = 5; //Waste or ink cartridge is full.
	Error = 6; //Waste or ink is in an error state. (unrelated to filling or emptying)

	//Progress

	Filling = 10; //Ink cartridge is now filling...
	FillingCompleted = 11; //Ink cartridge filing completed. | OT
	FillingFailed = 12; //Error occurred while ink filling. | OT

	Emptying = 20; //Waste cartridge is emptying...
	EmptyingCompleted = 21; //Waste cartridge emptying completed. | OT
	EmpyingFailed = 22; //Error occurred while waste emptying. | OT
}