aboutsummaryrefslogtreecommitdiffstats
path: root/Software/PMR/Messages/Common/MessageContainer.proto
blob: ea2af50b692ece1fc936025c0e0c8337f2cbc048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto3";

package Tango.PMR.Common;
option java_package = "com.twine.tango.pmr.common";

import "MessageType.proto";
import "ErrorCode.proto";

message MessageContainer
{
	MessageType Type = 1;
	string Token = 2;
	uint32 Timeout = 3;
	bool Continuous = 4;
	uint32 ContinuousTimeout = 5;
	bool Completed = 6;
	bytes Data = 7;
	uint32 CRC = 8;
	ErrorCode Error = 9;
	string ErrorMessage = 10;
}
ogViewVM { /// <summary> /// Gets or sets the supported job types. /// </summary> public List<JobTypes> SupportedJobTypes { get; set; } private JobTypes _selectedJobType; /// <summary> /// Gets or sets the type of the selected job. /// </summary> public JobTypes SelectedJobType { get { return _selectedJobType; } set { _selectedJobType = value; RaisePropertyChangedAuto(); } } /// <summary> /// Gets or sets the supported color spaces. /// </summary> public List<ColorSpaces> SupportedColorSpaces { get; set; } private ColorSpaces _selectedColorSpace; /// <summary> /// Gets or sets the selected color space. /// </summary> public ColorSpaces SelectedColorSpace { get { return _selectedColorSpace; } set { _selectedColorSpace = value; RaisePropertyChangedAuto(); } } /// <summary> /// Initializes a new instance of the <see cref="JobCreationViewVM"/> class. /// </summary> /// <param name="supportedJobTypes">The supported job types.</param> /// <param name="supportedColorSpaces">The supported color spaces</param> public JobCreationViewVM(List<JobTypes> supportedJobTypes,List<ColorSpaces> supportedColorSpaces) : base() { SupportedJobTypes = supportedJobTypes; SupportedColorSpaces = supportedColorSpaces; } } }