diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs b/Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs index d62d5dbc5..27d5d6cb2 100644 --- a/Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs +++ b/Software/Visual_Studio/Tango.PMR/Connection/ConnectRequest.cs @@ -23,16 +23,17 @@ namespace Tango.PMR.Connection { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChRDb25uZWN0UmVxdWVzdC5wcm90bxIUVGFuZ28uUE1SLkNvbm5lY3Rpb24a", - "EkpvYlNwb29sVHlwZS5wcm90bxoRTWFjaGluZVR5cGUucHJvdG8inQEKDkNv", + "EkpvYlNwb29sVHlwZS5wcm90bxoRTWFjaGluZVR5cGUucHJvdG8iwgEKDkNv", "bm5lY3RSZXF1ZXN0EhAKCFBhc3N3b3JkGAEgASgJEhAKCFVuaXhUaW1lGAIg", "ASgDEjMKCVNwb29sVHlwZRgDIAEoDjIgLlRhbmdvLlBNUi5QcmludGluZy5K", "b2JTcG9vbFR5cGUSMgoLTWFjaGluZVR5cGUYBCABKA4yHS5UYW5nby5QTVIu", - "Q29tbW9uLk1hY2hpbmVUeXBlQiAKHmNvbS50d2luZS50YW5nby5wbXIuY29u", - "bmVjdGlvbmIGcHJvdG8z")); + "Q29tbW9uLk1hY2hpbmVUeXBlEiMKG1N1cHBvcnRzNjRCaXREaXNwZW5zZXJM", + "ZXZlbBgFIAEoCEIgCh5jb20udHdpbmUudGFuZ28ucG1yLmNvbm5lY3Rpb25i", + "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSpoolTypeReflection.Descriptor, global::Tango.PMR.Common.MachineTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Connection.ConnectRequest), global::Tango.PMR.Connection.ConnectRequest.Parser, new[]{ "Password", "UnixTime", "SpoolType", "MachineType" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Connection.ConnectRequest), global::Tango.PMR.Connection.ConnectRequest.Parser, new[]{ "Password", "UnixTime", "SpoolType", "MachineType", "Supports64BitDispenserLevel" }, null, null, null) })); } #endregion @@ -67,6 +68,7 @@ namespace Tango.PMR.Connection { unixTime_ = other.unixTime_; spoolType_ = other.spoolType_; machineType_ = other.machineType_; + supports64BitDispenserLevel_ = other.supports64BitDispenserLevel_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -118,6 +120,17 @@ namespace Tango.PMR.Connection { } } + /// <summary>Field number for the "Supports64BitDispenserLevel" field.</summary> + public const int Supports64BitDispenserLevelFieldNumber = 5; + private bool supports64BitDispenserLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Supports64BitDispenserLevel { + get { return supports64BitDispenserLevel_; } + set { + supports64BitDispenserLevel_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ConnectRequest); @@ -135,6 +148,7 @@ namespace Tango.PMR.Connection { if (UnixTime != other.UnixTime) return false; if (SpoolType != other.SpoolType) return false; if (MachineType != other.MachineType) return false; + if (Supports64BitDispenserLevel != other.Supports64BitDispenserLevel) return false; return true; } @@ -145,6 +159,7 @@ namespace Tango.PMR.Connection { if (UnixTime != 0L) hash ^= UnixTime.GetHashCode(); if (SpoolType != 0) hash ^= SpoolType.GetHashCode(); if (MachineType != 0) hash ^= MachineType.GetHashCode(); + if (Supports64BitDispenserLevel != false) hash ^= Supports64BitDispenserLevel.GetHashCode(); return hash; } @@ -171,6 +186,10 @@ namespace Tango.PMR.Connection { output.WriteRawTag(32); output.WriteEnum((int) MachineType); } + if (Supports64BitDispenserLevel != false) { + output.WriteRawTag(40); + output.WriteBool(Supports64BitDispenserLevel); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -188,6 +207,9 @@ namespace Tango.PMR.Connection { if (MachineType != 0) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MachineType); } + if (Supports64BitDispenserLevel != false) { + size += 1 + 1; + } return size; } @@ -208,6 +230,9 @@ namespace Tango.PMR.Connection { if (other.MachineType != 0) { MachineType = other.MachineType; } + if (other.Supports64BitDispenserLevel != false) { + Supports64BitDispenserLevel = other.Supports64BitDispenserLevel; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -234,6 +259,10 @@ namespace Tango.PMR.Connection { machineType_ = (global::Tango.PMR.Common.MachineType) input.ReadEnum(); break; } + case 40: { + Supports64BitDispenserLevel = input.ReadBool(); + break; + } } } } |
