aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
committerMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
commit00a491d93733d4625ad329b2ba8237f445364b3f (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
downloadTango-00a491d9.tar.gz
Tango-00a491d9.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs63
1 files changed, 3 insertions, 60 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs b/Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs
index 884b904e8..0774d0083 100644
--- a/Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs
+++ b/Software/Visual_Studio/Tango.PMR/FirmwareUpgrade/ActivateVersionResponse.cs
@@ -23,13 +23,12 @@ namespace Tango.PMR.FirmwareUpgrade {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1BY3RpdmF0ZVZlcnNpb25SZXNwb25zZS5wcm90bxIZVGFuZ28uUE1SLkZp",
- "cm13YXJlVXBncmFkZSI6ChdBY3RpdmF0ZVZlcnNpb25SZXNwb25zZRIQCghQ",
- "cm9ncmVzcxgBIAEoARINCgVUb3RhbBgCIAEoAUIlCiNjb20udHdpbmUudGFu",
- "Z28ucG1yLmZpcm13YXJldXBncmFkZWIGcHJvdG8z"));
+ "cm13YXJlVXBncmFkZSIZChdBY3RpdmF0ZVZlcnNpb25SZXNwb25zZUIlCiNj",
+ "b20udHdpbmUudGFuZ28ucG1yLmZpcm13YXJldXBncmFkZWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.FirmwareUpgrade.ActivateVersionResponse), global::Tango.PMR.FirmwareUpgrade.ActivateVersionResponse.Parser, new[]{ "Progress", "Total" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.FirmwareUpgrade.ActivateVersionResponse), global::Tango.PMR.FirmwareUpgrade.ActivateVersionResponse.Parser, null, null, null, null)
}));
}
#endregion
@@ -60,8 +59,6 @@ namespace Tango.PMR.FirmwareUpgrade {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ActivateVersionResponse(ActivateVersionResponse other) : this() {
- progress_ = other.progress_;
- total_ = other.total_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -69,28 +66,6 @@ namespace Tango.PMR.FirmwareUpgrade {
return new ActivateVersionResponse(this);
}
- /// <summary>Field number for the "Progress" field.</summary>
- public const int ProgressFieldNumber = 1;
- private double progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- /// <summary>Field number for the "Total" field.</summary>
- public const int TotalFieldNumber = 2;
- private double total_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Total {
- get { return total_; }
- set {
- total_ = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ActivateVersionResponse);
@@ -104,16 +79,12 @@ namespace Tango.PMR.FirmwareUpgrade {
if (ReferenceEquals(other, this)) {
return true;
}
- if (Progress != other.Progress) return false;
- if (Total != other.Total) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
- if (Progress != 0D) hash ^= Progress.GetHashCode();
- if (Total != 0D) hash ^= Total.GetHashCode();
return hash;
}
@@ -124,25 +95,11 @@ namespace Tango.PMR.FirmwareUpgrade {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
- if (Progress != 0D) {
- output.WriteRawTag(9);
- output.WriteDouble(Progress);
- }
- if (Total != 0D) {
- output.WriteRawTag(17);
- output.WriteDouble(Total);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
- if (Progress != 0D) {
- size += 1 + 8;
- }
- if (Total != 0D) {
- size += 1 + 8;
- }
return size;
}
@@ -151,12 +108,6 @@ namespace Tango.PMR.FirmwareUpgrade {
if (other == null) {
return;
}
- if (other.Progress != 0D) {
- Progress = other.Progress;
- }
- if (other.Total != 0D) {
- Total = other.Total;
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -167,14 +118,6 @@ namespace Tango.PMR.FirmwareUpgrade {
default:
input.SkipLastField();
break;
- case 9: {
- Progress = input.ReadDouble();
- break;
- }
- case 17: {
- Total = input.ReadDouble();
- break;
- }
}
}
}