aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs182
1 files changed, 0 insertions, 182 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs b/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs
deleted file mode 100644
index 94a15b2a0..000000000
--- a/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/MainCardStoredData.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: MainCardStoredData.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace Tango.PMR.EmbeddedParameters {
-
- /// <summary>Holder for reflection information generated from MainCardStoredData.proto</summary>
- public static partial class MainCardStoredDataReflection {
-
- #region Descriptor
- /// <summary>File descriptor for MainCardStoredData.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static MainCardStoredDataReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChhNYWluQ2FyZFN0b3JlZERhdGEucHJvdG8SHFRhbmdvLlBNUi5FbWJlZGRl",
- "ZFBhcmFtZXRlcnMaGE1haW5DYXJkU3RvcmVkSXRlbS5wcm90byJvChJNYWlu",
- "Q2FyZFN0b3JlZERhdGESEwoLTWFpbkNhcmRTX04YASABKAkSRAoKU3RvcmVk",
- "SXRlbRgCIAMoCzIwLlRhbmdvLlBNUi5FbWJlZGRlZFBhcmFtZXRlcnMuTWFp",
- "bkNhcmRTdG9yZWRJdGVtQigKJmNvbS50d2luZS50YW5nby5wbXIuZW1iZWRk",
- "ZWRwYXJhbWV0ZXJzYgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Tango.PMR.EmbeddedParameters.MainCardStoredItemReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.EmbeddedParameters.MainCardStoredData), global::Tango.PMR.EmbeddedParameters.MainCardStoredData.Parser, new[]{ "MainCardSN", "StoredItem" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class MainCardStoredData : pb::IMessage<MainCardStoredData> {
- private static readonly pb::MessageParser<MainCardStoredData> _parser = new pb::MessageParser<MainCardStoredData>(() => new MainCardStoredData());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<MainCardStoredData> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.EmbeddedParameters.MainCardStoredDataReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MainCardStoredData() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MainCardStoredData(MainCardStoredData other) : this() {
- mainCardSN_ = other.mainCardSN_;
- storedItem_ = other.storedItem_.Clone();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MainCardStoredData Clone() {
- return new MainCardStoredData(this);
- }
-
- /// <summary>Field number for the "MainCardS_N" field.</summary>
- public const int MainCardSNFieldNumber = 1;
- private string mainCardSN_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string MainCardSN {
- get { return mainCardSN_; }
- set {
- mainCardSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// <summary>Field number for the "StoredItem" field.</summary>
- public const int StoredItemFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Tango.PMR.EmbeddedParameters.MainCardStoredItem> _repeated_storedItem_codec
- = pb::FieldCodec.ForMessage(18, global::Tango.PMR.EmbeddedParameters.MainCardStoredItem.Parser);
- private readonly pbc::RepeatedField<global::Tango.PMR.EmbeddedParameters.MainCardStoredItem> storedItem_ = new pbc::RepeatedField<global::Tango.PMR.EmbeddedParameters.MainCardStoredItem>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField<global::Tango.PMR.EmbeddedParameters.MainCardStoredItem> StoredItem {
- get { return storedItem_; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as MainCardStoredData);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(MainCardStoredData other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (MainCardSN != other.MainCardSN) return false;
- if(!storedItem_.Equals(other.storedItem_)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (MainCardSN.Length != 0) hash ^= MainCardSN.GetHashCode();
- hash ^= storedItem_.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (MainCardSN.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(MainCardSN);
- }
- storedItem_.WriteTo(output, _repeated_storedItem_codec);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (MainCardSN.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(MainCardSN);
- }
- size += storedItem_.CalculateSize(_repeated_storedItem_codec);
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(MainCardStoredData other) {
- if (other == null) {
- return;
- }
- if (other.MainCardSN.Length != 0) {
- MainCardSN = other.MainCardSN;
- }
- storedItem_.Add(other.storedItem_);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- MainCardSN = input.ReadString();
- break;
- }
- case 18: {
- storedItem_.AddEntriesFrom(input, _repeated_storedItem_codec);
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code