diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
| commit | 00a491d93733d4625ad329b2ba8237f445364b3f (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| download | Tango-00a491d9.tar.gz Tango-00a491d9.zip | |
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs | 36 |
1 files changed, 4 insertions, 32 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs b/Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs index a796bf37d..3ff3c91c1 100644 --- a/Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Connection/ConnectResponse.cs @@ -23,14 +23,14 @@ namespace Tango.PMR.Connection { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChVDb25uZWN0UmVzcG9uc2UucHJvdG8SFFRhbmdvLlBNUi5Db25uZWN0aW9u", - "GhdEZXZpY2VJbmZvcm1hdGlvbi5wcm90byJrCg9Db25uZWN0UmVzcG9uc2US", + "GhdEZXZpY2VJbmZvcm1hdGlvbi5wcm90byJVCg9Db25uZWN0UmVzcG9uc2US", "QgoRRGV2aWNlSW5mb3JtYXRpb24YASABKAsyJy5UYW5nby5QTVIuQ29ubmVj", - "dGlvbi5EZXZpY2VJbmZvcm1hdGlvbhIUCgxJc0FmdGVyUmVzZXQYAiABKAhC", - "IAoeY29tLnR3aW5lLnRhbmdvLnBtci5jb25uZWN0aW9uYgZwcm90bzM=")); + "dGlvbi5EZXZpY2VJbmZvcm1hdGlvbkIgCh5jb20udHdpbmUudGFuZ28ucG1y", + "LmNvbm5lY3Rpb25iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.Connection.DeviceInformationReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Connection.ConnectResponse), global::Tango.PMR.Connection.ConnectResponse.Parser, new[]{ "DeviceInformation", "IsAfterReset" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Connection.ConnectResponse), global::Tango.PMR.Connection.ConnectResponse.Parser, new[]{ "DeviceInformation" }, null, null, null) })); } #endregion @@ -62,7 +62,6 @@ namespace Tango.PMR.Connection { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ConnectResponse(ConnectResponse other) : this() { DeviceInformation = other.deviceInformation_ != null ? other.DeviceInformation.Clone() : null; - isAfterReset_ = other.isAfterReset_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -81,17 +80,6 @@ namespace Tango.PMR.Connection { } } - /// <summary>Field number for the "IsAfterReset" field.</summary> - public const int IsAfterResetFieldNumber = 2; - private bool isAfterReset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IsAfterReset { - get { return isAfterReset_; } - set { - isAfterReset_ = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ConnectResponse); @@ -106,7 +94,6 @@ namespace Tango.PMR.Connection { return true; } if (!object.Equals(DeviceInformation, other.DeviceInformation)) return false; - if (IsAfterReset != other.IsAfterReset) return false; return true; } @@ -114,7 +101,6 @@ namespace Tango.PMR.Connection { public override int GetHashCode() { int hash = 1; if (deviceInformation_ != null) hash ^= DeviceInformation.GetHashCode(); - if (IsAfterReset != false) hash ^= IsAfterReset.GetHashCode(); return hash; } @@ -129,10 +115,6 @@ namespace Tango.PMR.Connection { output.WriteRawTag(10); output.WriteMessage(DeviceInformation); } - if (IsAfterReset != false) { - output.WriteRawTag(16); - output.WriteBool(IsAfterReset); - } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -141,9 +123,6 @@ namespace Tango.PMR.Connection { if (deviceInformation_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeviceInformation); } - if (IsAfterReset != false) { - size += 1 + 1; - } return size; } @@ -158,9 +137,6 @@ namespace Tango.PMR.Connection { } DeviceInformation.MergeFrom(other.DeviceInformation); } - if (other.IsAfterReset != false) { - IsAfterReset = other.IsAfterReset; - } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -178,10 +154,6 @@ namespace Tango.PMR.Connection { input.ReadMessage(deviceInformation_); break; } - case 16: { - IsAfterReset = input.ReadBool(); - break; - } } } } |
