NotifyMessage.cs 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: notify_message.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Message {
  12. /// <summary>Holder for reflection information generated from notify_message.proto</summary>
  13. public static partial class NotifyMessageReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for notify_message.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static NotifyMessageReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "ChRub3RpZnlfbWVzc2FnZS5wcm90bxIHbWVzc2FnZRoSbWVzc2FnZV9iYXNl",
  24. "LnByb3RvGhRzaW5nbGVjaGlwX21zZy5wcm90byKcAQoSTm90aWZ5X3JlcXVl",
  25. "c3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv",
  26. "EhMKC2NvbW1hbmRfa2V5GAIgAigJEiUKCWlkX3N0cnVjdBgDIAIoCzISLm1l",
  27. "c3NhZ2UuSWRfc3RydWN0EiMKCGNhcl9pbmZvGAQgAigLMhEubWVzc2FnZS5D",
  28. "YXJfaW5mbyKeAQoTTm90aWZ5X3Jlc3BvbnNlX21zZxIlCgliYXNlX2luZm8Y",
  29. "ASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIo",
  30. "CRIlCglpZF9zdHJ1Y3QYAyACKAsyEi5tZXNzYWdlLklkX3N0cnVjdBIkCgRj",
  31. "b2RlGAQgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyIt8BChFOb3RpZnlf",
  32. "c3RhdHVzX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2Vf",
  33. "aW5mbxIlCglpZF9zdHJ1Y3QYAiACKAsyEi5tZXNzYWdlLklkX3N0cnVjdBIt",
  34. "Cg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2Vy",
  35. "EjAKDnNpbmdsZWNoaXBEYXRhGAQgASgLMhgubWVzc2FnZS5TaW5nbGVjaGlw",
  36. "X2RhdGESGwoTc2luZ2xlY2hpcF92YWxpZGl0eRgFIAEoCA=="));
  37. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  38. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, global::Message.SinglechipMsgReflection.Descriptor, },
  39. new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  40. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Notify_request_msg), global::Message.Notify_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "IdStruct", "CarInfo" }, null, null, null, null),
  41. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Notify_response_msg), global::Message.Notify_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "IdStruct", "Code" }, null, null, null, null),
  42. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Notify_status_msg), global::Message.Notify_status_msg.Parser, new[]{ "BaseInfo", "IdStruct", "ErrorManager", "SinglechipData", "SinglechipValidity" }, null, null, null, null)
  43. }));
  44. }
  45. #endregion
  46. }
  47. #region Messages
  48. public sealed partial class Notify_request_msg : pb::IMessage<Notify_request_msg>
  49. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  50. , pb::IBufferMessage
  51. #endif
  52. {
  53. private static readonly pb::MessageParser<Notify_request_msg> _parser = new pb::MessageParser<Notify_request_msg>(() => new Notify_request_msg());
  54. private pb::UnknownFieldSet _unknownFields;
  55. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  56. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  57. public static pb::MessageParser<Notify_request_msg> Parser { get { return _parser; } }
  58. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  59. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  60. public static pbr::MessageDescriptor Descriptor {
  61. get { return global::Message.NotifyMessageReflection.Descriptor.MessageTypes[0]; }
  62. }
  63. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  64. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  65. pbr::MessageDescriptor pb::IMessage.Descriptor {
  66. get { return Descriptor; }
  67. }
  68. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  69. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  70. public Notify_request_msg() {
  71. OnConstruction();
  72. }
  73. partial void OnConstruction();
  74. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  75. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  76. public Notify_request_msg(Notify_request_msg other) : this() {
  77. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  78. commandKey_ = other.commandKey_;
  79. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  80. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  81. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  82. }
  83. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  84. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  85. public Notify_request_msg Clone() {
  86. return new Notify_request_msg(this);
  87. }
  88. /// <summary>Field number for the "base_info" field.</summary>
  89. public const int BaseInfoFieldNumber = 1;
  90. private global::Message.Base_info baseInfo_;
  91. /// <summary>
  92. ///消息类型
  93. /// </summary>
  94. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  95. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  96. public global::Message.Base_info BaseInfo {
  97. get { return baseInfo_; }
  98. set {
  99. baseInfo_ = value;
  100. }
  101. }
  102. /// <summary>Field number for the "command_key" field.</summary>
  103. public const int CommandKeyFieldNumber = 2;
  104. private readonly static string CommandKeyDefaultValue = "";
  105. private string commandKey_;
  106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  107. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  108. public string CommandKey {
  109. get { return commandKey_ ?? CommandKeyDefaultValue; }
  110. set {
  111. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  112. }
  113. }
  114. /// <summary>Gets whether the "command_key" field is set</summary>
  115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  116. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  117. public bool HasCommandKey {
  118. get { return commandKey_ != null; }
  119. }
  120. /// <summary>Clears the value of the "command_key" field</summary>
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  122. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  123. public void ClearCommandKey() {
  124. commandKey_ = null;
  125. }
  126. /// <summary>Field number for the "id_struct" field.</summary>
  127. public const int IdStructFieldNumber = 3;
  128. private global::Message.Id_struct idStruct_;
  129. /// <summary>
  130. ///终端id
  131. /// </summary>
  132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  133. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  134. public global::Message.Id_struct IdStruct {
  135. get { return idStruct_; }
  136. set {
  137. idStruct_ = value;
  138. }
  139. }
  140. /// <summary>Field number for the "car_info" field.</summary>
  141. public const int CarInfoFieldNumber = 4;
  142. private global::Message.Car_info carInfo_;
  143. /// <summary>
  144. ///车辆标识(车牌号)
  145. /// </summary>
  146. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  147. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  148. public global::Message.Car_info CarInfo {
  149. get { return carInfo_; }
  150. set {
  151. carInfo_ = value;
  152. }
  153. }
  154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  155. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  156. public override bool Equals(object other) {
  157. return Equals(other as Notify_request_msg);
  158. }
  159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  160. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  161. public bool Equals(Notify_request_msg other) {
  162. if (ReferenceEquals(other, null)) {
  163. return false;
  164. }
  165. if (ReferenceEquals(other, this)) {
  166. return true;
  167. }
  168. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  169. if (CommandKey != other.CommandKey) return false;
  170. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  171. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  172. return Equals(_unknownFields, other._unknownFields);
  173. }
  174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  175. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  176. public override int GetHashCode() {
  177. int hash = 1;
  178. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  179. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  180. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  181. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  182. if (_unknownFields != null) {
  183. hash ^= _unknownFields.GetHashCode();
  184. }
  185. return hash;
  186. }
  187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  188. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  189. public override string ToString() {
  190. return pb::JsonFormatter.ToDiagnosticString(this);
  191. }
  192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  193. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  194. public void WriteTo(pb::CodedOutputStream output) {
  195. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  196. output.WriteRawMessage(this);
  197. #else
  198. if (baseInfo_ != null) {
  199. output.WriteRawTag(10);
  200. output.WriteMessage(BaseInfo);
  201. }
  202. if (HasCommandKey) {
  203. output.WriteRawTag(18);
  204. output.WriteString(CommandKey);
  205. }
  206. if (idStruct_ != null) {
  207. output.WriteRawTag(26);
  208. output.WriteMessage(IdStruct);
  209. }
  210. if (carInfo_ != null) {
  211. output.WriteRawTag(34);
  212. output.WriteMessage(CarInfo);
  213. }
  214. if (_unknownFields != null) {
  215. _unknownFields.WriteTo(output);
  216. }
  217. #endif
  218. }
  219. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  221. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  222. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  223. if (baseInfo_ != null) {
  224. output.WriteRawTag(10);
  225. output.WriteMessage(BaseInfo);
  226. }
  227. if (HasCommandKey) {
  228. output.WriteRawTag(18);
  229. output.WriteString(CommandKey);
  230. }
  231. if (idStruct_ != null) {
  232. output.WriteRawTag(26);
  233. output.WriteMessage(IdStruct);
  234. }
  235. if (carInfo_ != null) {
  236. output.WriteRawTag(34);
  237. output.WriteMessage(CarInfo);
  238. }
  239. if (_unknownFields != null) {
  240. _unknownFields.WriteTo(ref output);
  241. }
  242. }
  243. #endif
  244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  245. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  246. public int CalculateSize() {
  247. int size = 0;
  248. if (baseInfo_ != null) {
  249. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  250. }
  251. if (HasCommandKey) {
  252. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  253. }
  254. if (idStruct_ != null) {
  255. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  256. }
  257. if (carInfo_ != null) {
  258. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  259. }
  260. if (_unknownFields != null) {
  261. size += _unknownFields.CalculateSize();
  262. }
  263. return size;
  264. }
  265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  266. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  267. public void MergeFrom(Notify_request_msg other) {
  268. if (other == null) {
  269. return;
  270. }
  271. if (other.baseInfo_ != null) {
  272. if (baseInfo_ == null) {
  273. BaseInfo = new global::Message.Base_info();
  274. }
  275. BaseInfo.MergeFrom(other.BaseInfo);
  276. }
  277. if (other.HasCommandKey) {
  278. CommandKey = other.CommandKey;
  279. }
  280. if (other.idStruct_ != null) {
  281. if (idStruct_ == null) {
  282. IdStruct = new global::Message.Id_struct();
  283. }
  284. IdStruct.MergeFrom(other.IdStruct);
  285. }
  286. if (other.carInfo_ != null) {
  287. if (carInfo_ == null) {
  288. CarInfo = new global::Message.Car_info();
  289. }
  290. CarInfo.MergeFrom(other.CarInfo);
  291. }
  292. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  293. }
  294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  295. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  296. public void MergeFrom(pb::CodedInputStream input) {
  297. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  298. input.ReadRawMessage(this);
  299. #else
  300. uint tag;
  301. while ((tag = input.ReadTag()) != 0) {
  302. switch(tag) {
  303. default:
  304. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  305. break;
  306. case 10: {
  307. if (baseInfo_ == null) {
  308. BaseInfo = new global::Message.Base_info();
  309. }
  310. input.ReadMessage(BaseInfo);
  311. break;
  312. }
  313. case 18: {
  314. CommandKey = input.ReadString();
  315. break;
  316. }
  317. case 26: {
  318. if (idStruct_ == null) {
  319. IdStruct = new global::Message.Id_struct();
  320. }
  321. input.ReadMessage(IdStruct);
  322. break;
  323. }
  324. case 34: {
  325. if (carInfo_ == null) {
  326. CarInfo = new global::Message.Car_info();
  327. }
  328. input.ReadMessage(CarInfo);
  329. break;
  330. }
  331. }
  332. }
  333. #endif
  334. }
  335. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  337. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  338. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  339. uint tag;
  340. while ((tag = input.ReadTag()) != 0) {
  341. switch(tag) {
  342. default:
  343. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  344. break;
  345. case 10: {
  346. if (baseInfo_ == null) {
  347. BaseInfo = new global::Message.Base_info();
  348. }
  349. input.ReadMessage(BaseInfo);
  350. break;
  351. }
  352. case 18: {
  353. CommandKey = input.ReadString();
  354. break;
  355. }
  356. case 26: {
  357. if (idStruct_ == null) {
  358. IdStruct = new global::Message.Id_struct();
  359. }
  360. input.ReadMessage(IdStruct);
  361. break;
  362. }
  363. case 34: {
  364. if (carInfo_ == null) {
  365. CarInfo = new global::Message.Car_info();
  366. }
  367. input.ReadMessage(CarInfo);
  368. break;
  369. }
  370. }
  371. }
  372. }
  373. #endif
  374. }
  375. public sealed partial class Notify_response_msg : pb::IMessage<Notify_response_msg>
  376. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  377. , pb::IBufferMessage
  378. #endif
  379. {
  380. private static readonly pb::MessageParser<Notify_response_msg> _parser = new pb::MessageParser<Notify_response_msg>(() => new Notify_response_msg());
  381. private pb::UnknownFieldSet _unknownFields;
  382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  383. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  384. public static pb::MessageParser<Notify_response_msg> Parser { get { return _parser; } }
  385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  386. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  387. public static pbr::MessageDescriptor Descriptor {
  388. get { return global::Message.NotifyMessageReflection.Descriptor.MessageTypes[1]; }
  389. }
  390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  391. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  392. pbr::MessageDescriptor pb::IMessage.Descriptor {
  393. get { return Descriptor; }
  394. }
  395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  396. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  397. public Notify_response_msg() {
  398. OnConstruction();
  399. }
  400. partial void OnConstruction();
  401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  402. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  403. public Notify_response_msg(Notify_response_msg other) : this() {
  404. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  405. commandKey_ = other.commandKey_;
  406. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  407. code_ = other.code_ != null ? other.code_.Clone() : null;
  408. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  409. }
  410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  411. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  412. public Notify_response_msg Clone() {
  413. return new Notify_response_msg(this);
  414. }
  415. /// <summary>Field number for the "base_info" field.</summary>
  416. public const int BaseInfoFieldNumber = 1;
  417. private global::Message.Base_info baseInfo_;
  418. /// <summary>
  419. ///消息类型
  420. /// </summary>
  421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  422. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  423. public global::Message.Base_info BaseInfo {
  424. get { return baseInfo_; }
  425. set {
  426. baseInfo_ = value;
  427. }
  428. }
  429. /// <summary>Field number for the "command_key" field.</summary>
  430. public const int CommandKeyFieldNumber = 2;
  431. private readonly static string CommandKeyDefaultValue = "";
  432. private string commandKey_;
  433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  434. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  435. public string CommandKey {
  436. get { return commandKey_ ?? CommandKeyDefaultValue; }
  437. set {
  438. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  439. }
  440. }
  441. /// <summary>Gets whether the "command_key" field is set</summary>
  442. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  443. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  444. public bool HasCommandKey {
  445. get { return commandKey_ != null; }
  446. }
  447. /// <summary>Clears the value of the "command_key" field</summary>
  448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  449. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  450. public void ClearCommandKey() {
  451. commandKey_ = null;
  452. }
  453. /// <summary>Field number for the "id_struct" field.</summary>
  454. public const int IdStructFieldNumber = 3;
  455. private global::Message.Id_struct idStruct_;
  456. /// <summary>
  457. ///终端id
  458. /// </summary>
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  460. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  461. public global::Message.Id_struct IdStruct {
  462. get { return idStruct_; }
  463. set {
  464. idStruct_ = value;
  465. }
  466. }
  467. /// <summary>Field number for the "code" field.</summary>
  468. public const int CodeFieldNumber = 4;
  469. private global::Message.Error_manager code_;
  470. /// <summary>
  471. ///请求结果码
  472. /// </summary>
  473. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  474. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  475. public global::Message.Error_manager Code {
  476. get { return code_; }
  477. set {
  478. code_ = value;
  479. }
  480. }
  481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  482. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  483. public override bool Equals(object other) {
  484. return Equals(other as Notify_response_msg);
  485. }
  486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  487. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  488. public bool Equals(Notify_response_msg other) {
  489. if (ReferenceEquals(other, null)) {
  490. return false;
  491. }
  492. if (ReferenceEquals(other, this)) {
  493. return true;
  494. }
  495. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  496. if (CommandKey != other.CommandKey) return false;
  497. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  498. if (!object.Equals(Code, other.Code)) return false;
  499. return Equals(_unknownFields, other._unknownFields);
  500. }
  501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  502. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  503. public override int GetHashCode() {
  504. int hash = 1;
  505. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  506. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  507. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  508. if (code_ != null) hash ^= Code.GetHashCode();
  509. if (_unknownFields != null) {
  510. hash ^= _unknownFields.GetHashCode();
  511. }
  512. return hash;
  513. }
  514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  515. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  516. public override string ToString() {
  517. return pb::JsonFormatter.ToDiagnosticString(this);
  518. }
  519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  520. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  521. public void WriteTo(pb::CodedOutputStream output) {
  522. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  523. output.WriteRawMessage(this);
  524. #else
  525. if (baseInfo_ != null) {
  526. output.WriteRawTag(10);
  527. output.WriteMessage(BaseInfo);
  528. }
  529. if (HasCommandKey) {
  530. output.WriteRawTag(18);
  531. output.WriteString(CommandKey);
  532. }
  533. if (idStruct_ != null) {
  534. output.WriteRawTag(26);
  535. output.WriteMessage(IdStruct);
  536. }
  537. if (code_ != null) {
  538. output.WriteRawTag(34);
  539. output.WriteMessage(Code);
  540. }
  541. if (_unknownFields != null) {
  542. _unknownFields.WriteTo(output);
  543. }
  544. #endif
  545. }
  546. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  548. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  549. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  550. if (baseInfo_ != null) {
  551. output.WriteRawTag(10);
  552. output.WriteMessage(BaseInfo);
  553. }
  554. if (HasCommandKey) {
  555. output.WriteRawTag(18);
  556. output.WriteString(CommandKey);
  557. }
  558. if (idStruct_ != null) {
  559. output.WriteRawTag(26);
  560. output.WriteMessage(IdStruct);
  561. }
  562. if (code_ != null) {
  563. output.WriteRawTag(34);
  564. output.WriteMessage(Code);
  565. }
  566. if (_unknownFields != null) {
  567. _unknownFields.WriteTo(ref output);
  568. }
  569. }
  570. #endif
  571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  572. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  573. public int CalculateSize() {
  574. int size = 0;
  575. if (baseInfo_ != null) {
  576. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  577. }
  578. if (HasCommandKey) {
  579. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  580. }
  581. if (idStruct_ != null) {
  582. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  583. }
  584. if (code_ != null) {
  585. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Code);
  586. }
  587. if (_unknownFields != null) {
  588. size += _unknownFields.CalculateSize();
  589. }
  590. return size;
  591. }
  592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  593. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  594. public void MergeFrom(Notify_response_msg other) {
  595. if (other == null) {
  596. return;
  597. }
  598. if (other.baseInfo_ != null) {
  599. if (baseInfo_ == null) {
  600. BaseInfo = new global::Message.Base_info();
  601. }
  602. BaseInfo.MergeFrom(other.BaseInfo);
  603. }
  604. if (other.HasCommandKey) {
  605. CommandKey = other.CommandKey;
  606. }
  607. if (other.idStruct_ != null) {
  608. if (idStruct_ == null) {
  609. IdStruct = new global::Message.Id_struct();
  610. }
  611. IdStruct.MergeFrom(other.IdStruct);
  612. }
  613. if (other.code_ != null) {
  614. if (code_ == null) {
  615. Code = new global::Message.Error_manager();
  616. }
  617. Code.MergeFrom(other.Code);
  618. }
  619. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  620. }
  621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  622. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  623. public void MergeFrom(pb::CodedInputStream input) {
  624. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  625. input.ReadRawMessage(this);
  626. #else
  627. uint tag;
  628. while ((tag = input.ReadTag()) != 0) {
  629. switch(tag) {
  630. default:
  631. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  632. break;
  633. case 10: {
  634. if (baseInfo_ == null) {
  635. BaseInfo = new global::Message.Base_info();
  636. }
  637. input.ReadMessage(BaseInfo);
  638. break;
  639. }
  640. case 18: {
  641. CommandKey = input.ReadString();
  642. break;
  643. }
  644. case 26: {
  645. if (idStruct_ == null) {
  646. IdStruct = new global::Message.Id_struct();
  647. }
  648. input.ReadMessage(IdStruct);
  649. break;
  650. }
  651. case 34: {
  652. if (code_ == null) {
  653. Code = new global::Message.Error_manager();
  654. }
  655. input.ReadMessage(Code);
  656. break;
  657. }
  658. }
  659. }
  660. #endif
  661. }
  662. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  664. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  665. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  666. uint tag;
  667. while ((tag = input.ReadTag()) != 0) {
  668. switch(tag) {
  669. default:
  670. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  671. break;
  672. case 10: {
  673. if (baseInfo_ == null) {
  674. BaseInfo = new global::Message.Base_info();
  675. }
  676. input.ReadMessage(BaseInfo);
  677. break;
  678. }
  679. case 18: {
  680. CommandKey = input.ReadString();
  681. break;
  682. }
  683. case 26: {
  684. if (idStruct_ == null) {
  685. IdStruct = new global::Message.Id_struct();
  686. }
  687. input.ReadMessage(IdStruct);
  688. break;
  689. }
  690. case 34: {
  691. if (code_ == null) {
  692. Code = new global::Message.Error_manager();
  693. }
  694. input.ReadMessage(Code);
  695. break;
  696. }
  697. }
  698. }
  699. }
  700. #endif
  701. }
  702. public sealed partial class Notify_status_msg : pb::IMessage<Notify_status_msg>
  703. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  704. , pb::IBufferMessage
  705. #endif
  706. {
  707. private static readonly pb::MessageParser<Notify_status_msg> _parser = new pb::MessageParser<Notify_status_msg>(() => new Notify_status_msg());
  708. private pb::UnknownFieldSet _unknownFields;
  709. private int _hasBits0;
  710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  711. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  712. public static pb::MessageParser<Notify_status_msg> Parser { get { return _parser; } }
  713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  714. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  715. public static pbr::MessageDescriptor Descriptor {
  716. get { return global::Message.NotifyMessageReflection.Descriptor.MessageTypes[2]; }
  717. }
  718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  719. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  720. pbr::MessageDescriptor pb::IMessage.Descriptor {
  721. get { return Descriptor; }
  722. }
  723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  724. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  725. public Notify_status_msg() {
  726. OnConstruction();
  727. }
  728. partial void OnConstruction();
  729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  730. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  731. public Notify_status_msg(Notify_status_msg other) : this() {
  732. _hasBits0 = other._hasBits0;
  733. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  734. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  735. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  736. singlechipData_ = other.singlechipData_ != null ? other.singlechipData_.Clone() : null;
  737. singlechipValidity_ = other.singlechipValidity_;
  738. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  739. }
  740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  741. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  742. public Notify_status_msg Clone() {
  743. return new Notify_status_msg(this);
  744. }
  745. /// <summary>Field number for the "base_info" field.</summary>
  746. public const int BaseInfoFieldNumber = 1;
  747. private global::Message.Base_info baseInfo_;
  748. /// <summary>
  749. ///消息类型
  750. /// </summary>
  751. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  752. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  753. public global::Message.Base_info BaseInfo {
  754. get { return baseInfo_; }
  755. set {
  756. baseInfo_ = value;
  757. }
  758. }
  759. /// <summary>Field number for the "id_struct" field.</summary>
  760. public const int IdStructFieldNumber = 2;
  761. private global::Message.Id_struct idStruct_;
  762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  763. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  764. public global::Message.Id_struct IdStruct {
  765. get { return idStruct_; }
  766. set {
  767. idStruct_ = value;
  768. }
  769. }
  770. /// <summary>Field number for the "error_manager" field.</summary>
  771. public const int ErrorManagerFieldNumber = 3;
  772. private global::Message.Error_manager errorManager_;
  773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  774. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  775. public global::Message.Error_manager ErrorManager {
  776. get { return errorManager_; }
  777. set {
  778. errorManager_ = value;
  779. }
  780. }
  781. /// <summary>Field number for the "singlechipData" field.</summary>
  782. public const int SinglechipDataFieldNumber = 4;
  783. private global::Message.Singlechip_data singlechipData_;
  784. /// <summary>
  785. ///单片机的数据
  786. /// </summary>
  787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  788. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  789. public global::Message.Singlechip_data SinglechipData {
  790. get { return singlechipData_; }
  791. set {
  792. singlechipData_ = value;
  793. }
  794. }
  795. /// <summary>Field number for the "singlechip_validity" field.</summary>
  796. public const int SinglechipValidityFieldNumber = 5;
  797. private readonly static bool SinglechipValidityDefaultValue = false;
  798. private bool singlechipValidity_;
  799. /// <summary>
  800. ///单片机数据有效性
  801. /// </summary>
  802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  803. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  804. public bool SinglechipValidity {
  805. get { if ((_hasBits0 & 1) != 0) { return singlechipValidity_; } else { return SinglechipValidityDefaultValue; } }
  806. set {
  807. _hasBits0 |= 1;
  808. singlechipValidity_ = value;
  809. }
  810. }
  811. /// <summary>Gets whether the "singlechip_validity" field is set</summary>
  812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  813. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  814. public bool HasSinglechipValidity {
  815. get { return (_hasBits0 & 1) != 0; }
  816. }
  817. /// <summary>Clears the value of the "singlechip_validity" field</summary>
  818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  819. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  820. public void ClearSinglechipValidity() {
  821. _hasBits0 &= ~1;
  822. }
  823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  824. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  825. public override bool Equals(object other) {
  826. return Equals(other as Notify_status_msg);
  827. }
  828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  829. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  830. public bool Equals(Notify_status_msg other) {
  831. if (ReferenceEquals(other, null)) {
  832. return false;
  833. }
  834. if (ReferenceEquals(other, this)) {
  835. return true;
  836. }
  837. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  838. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  839. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  840. if (!object.Equals(SinglechipData, other.SinglechipData)) return false;
  841. if (SinglechipValidity != other.SinglechipValidity) return false;
  842. return Equals(_unknownFields, other._unknownFields);
  843. }
  844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  845. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  846. public override int GetHashCode() {
  847. int hash = 1;
  848. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  849. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  850. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  851. if (singlechipData_ != null) hash ^= SinglechipData.GetHashCode();
  852. if (HasSinglechipValidity) hash ^= SinglechipValidity.GetHashCode();
  853. if (_unknownFields != null) {
  854. hash ^= _unknownFields.GetHashCode();
  855. }
  856. return hash;
  857. }
  858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  859. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  860. public override string ToString() {
  861. return pb::JsonFormatter.ToDiagnosticString(this);
  862. }
  863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  864. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  865. public void WriteTo(pb::CodedOutputStream output) {
  866. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  867. output.WriteRawMessage(this);
  868. #else
  869. if (baseInfo_ != null) {
  870. output.WriteRawTag(10);
  871. output.WriteMessage(BaseInfo);
  872. }
  873. if (idStruct_ != null) {
  874. output.WriteRawTag(18);
  875. output.WriteMessage(IdStruct);
  876. }
  877. if (errorManager_ != null) {
  878. output.WriteRawTag(26);
  879. output.WriteMessage(ErrorManager);
  880. }
  881. if (singlechipData_ != null) {
  882. output.WriteRawTag(34);
  883. output.WriteMessage(SinglechipData);
  884. }
  885. if (HasSinglechipValidity) {
  886. output.WriteRawTag(40);
  887. output.WriteBool(SinglechipValidity);
  888. }
  889. if (_unknownFields != null) {
  890. _unknownFields.WriteTo(output);
  891. }
  892. #endif
  893. }
  894. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  896. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  897. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  898. if (baseInfo_ != null) {
  899. output.WriteRawTag(10);
  900. output.WriteMessage(BaseInfo);
  901. }
  902. if (idStruct_ != null) {
  903. output.WriteRawTag(18);
  904. output.WriteMessage(IdStruct);
  905. }
  906. if (errorManager_ != null) {
  907. output.WriteRawTag(26);
  908. output.WriteMessage(ErrorManager);
  909. }
  910. if (singlechipData_ != null) {
  911. output.WriteRawTag(34);
  912. output.WriteMessage(SinglechipData);
  913. }
  914. if (HasSinglechipValidity) {
  915. output.WriteRawTag(40);
  916. output.WriteBool(SinglechipValidity);
  917. }
  918. if (_unknownFields != null) {
  919. _unknownFields.WriteTo(ref output);
  920. }
  921. }
  922. #endif
  923. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  924. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  925. public int CalculateSize() {
  926. int size = 0;
  927. if (baseInfo_ != null) {
  928. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  929. }
  930. if (idStruct_ != null) {
  931. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  932. }
  933. if (errorManager_ != null) {
  934. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  935. }
  936. if (singlechipData_ != null) {
  937. size += 1 + pb::CodedOutputStream.ComputeMessageSize(SinglechipData);
  938. }
  939. if (HasSinglechipValidity) {
  940. size += 1 + 1;
  941. }
  942. if (_unknownFields != null) {
  943. size += _unknownFields.CalculateSize();
  944. }
  945. return size;
  946. }
  947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  948. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  949. public void MergeFrom(Notify_status_msg other) {
  950. if (other == null) {
  951. return;
  952. }
  953. if (other.baseInfo_ != null) {
  954. if (baseInfo_ == null) {
  955. BaseInfo = new global::Message.Base_info();
  956. }
  957. BaseInfo.MergeFrom(other.BaseInfo);
  958. }
  959. if (other.idStruct_ != null) {
  960. if (idStruct_ == null) {
  961. IdStruct = new global::Message.Id_struct();
  962. }
  963. IdStruct.MergeFrom(other.IdStruct);
  964. }
  965. if (other.errorManager_ != null) {
  966. if (errorManager_ == null) {
  967. ErrorManager = new global::Message.Error_manager();
  968. }
  969. ErrorManager.MergeFrom(other.ErrorManager);
  970. }
  971. if (other.singlechipData_ != null) {
  972. if (singlechipData_ == null) {
  973. SinglechipData = new global::Message.Singlechip_data();
  974. }
  975. SinglechipData.MergeFrom(other.SinglechipData);
  976. }
  977. if (other.HasSinglechipValidity) {
  978. SinglechipValidity = other.SinglechipValidity;
  979. }
  980. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  981. }
  982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  983. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  984. public void MergeFrom(pb::CodedInputStream input) {
  985. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  986. input.ReadRawMessage(this);
  987. #else
  988. uint tag;
  989. while ((tag = input.ReadTag()) != 0) {
  990. switch(tag) {
  991. default:
  992. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  993. break;
  994. case 10: {
  995. if (baseInfo_ == null) {
  996. BaseInfo = new global::Message.Base_info();
  997. }
  998. input.ReadMessage(BaseInfo);
  999. break;
  1000. }
  1001. case 18: {
  1002. if (idStruct_ == null) {
  1003. IdStruct = new global::Message.Id_struct();
  1004. }
  1005. input.ReadMessage(IdStruct);
  1006. break;
  1007. }
  1008. case 26: {
  1009. if (errorManager_ == null) {
  1010. ErrorManager = new global::Message.Error_manager();
  1011. }
  1012. input.ReadMessage(ErrorManager);
  1013. break;
  1014. }
  1015. case 34: {
  1016. if (singlechipData_ == null) {
  1017. SinglechipData = new global::Message.Singlechip_data();
  1018. }
  1019. input.ReadMessage(SinglechipData);
  1020. break;
  1021. }
  1022. case 40: {
  1023. SinglechipValidity = input.ReadBool();
  1024. break;
  1025. }
  1026. }
  1027. }
  1028. #endif
  1029. }
  1030. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1032. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1033. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1034. uint tag;
  1035. while ((tag = input.ReadTag()) != 0) {
  1036. switch(tag) {
  1037. default:
  1038. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1039. break;
  1040. case 10: {
  1041. if (baseInfo_ == null) {
  1042. BaseInfo = new global::Message.Base_info();
  1043. }
  1044. input.ReadMessage(BaseInfo);
  1045. break;
  1046. }
  1047. case 18: {
  1048. if (idStruct_ == null) {
  1049. IdStruct = new global::Message.Id_struct();
  1050. }
  1051. input.ReadMessage(IdStruct);
  1052. break;
  1053. }
  1054. case 26: {
  1055. if (errorManager_ == null) {
  1056. ErrorManager = new global::Message.Error_manager();
  1057. }
  1058. input.ReadMessage(ErrorManager);
  1059. break;
  1060. }
  1061. case 34: {
  1062. if (singlechipData_ == null) {
  1063. SinglechipData = new global::Message.Singlechip_data();
  1064. }
  1065. input.ReadMessage(SinglechipData);
  1066. break;
  1067. }
  1068. case 40: {
  1069. SinglechipValidity = input.ReadBool();
  1070. break;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. #endif
  1076. }
  1077. #endregion
  1078. }
  1079. #endregion Designer generated code