aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs
index 9d3194982..28021c777 100644
--- a/Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubGPIOReadByteRequest.cs
@@ -24,7 +24,7 @@ namespace Tango.PMR.Stubs {
string.Concat(
"Ch1TdHViR1BJT1JlYWRCeXRlUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0",
"dWJzIikKF1N0dWJHUElPUmVhZEJ5dGVSZXF1ZXN0Eg4KBlBvcnRJZBgBIAEo",
- "DUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM="));
+ "CUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
@@ -69,15 +69,15 @@ namespace Tango.PMR.Stubs {
/// <summary>Field number for the "PortId" field.</summary>
public const int PortIdFieldNumber = 1;
- private uint portId_;
+ private string portId_ = "";
/// <summary>
- /// 0..119
+ /// A..
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public uint PortId {
+ public string PortId {
get { return portId_; }
set {
- portId_ = value;
+ portId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
@@ -101,7 +101,7 @@ namespace Tango.PMR.Stubs {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
- if (PortId != 0) hash ^= PortId.GetHashCode();
+ if (PortId.Length != 0) hash ^= PortId.GetHashCode();
return hash;
}
@@ -112,17 +112,17 @@ namespace Tango.PMR.Stubs {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
- if (PortId != 0) {
- output.WriteRawTag(8);
- output.WriteUInt32(PortId);
+ if (PortId.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(PortId);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
- if (PortId != 0) {
- size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PortId);
+ if (PortId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PortId);
}
return size;
}
@@ -132,7 +132,7 @@ namespace Tango.PMR.Stubs {
if (other == null) {
return;
}
- if (other.PortId != 0) {
+ if (other.PortId.Length != 0) {
PortId = other.PortId;
}
}
@@ -145,8 +145,8 @@ namespace Tango.PMR.Stubs {
default:
input.SkipLastField();
break;
- case 8: {
- PortId = input.ReadUInt32();
+ case 10: {
+ PortId = input.ReadString();
break;
}
}