CentralControlMessage.cs 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: central_control_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 central_control_message.proto</summary>
  13. public static partial class CentralControlMessageReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for central_control_message.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static CentralControlMessageReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "Ch1jZW50cmFsX2NvbnRyb2xfbWVzc2FnZS5wcm90bxIHbWVzc2FnZRoSbWVz",
  24. "c2FnZV9iYXNlLnByb3RvIqwBCg5FbnRyYW5jZV9zdGF0dRIOCgZwYXVzZWQY",
  25. "ASACKAgSLgoPcGFya3NwYWNlX3N0YXR1GAIgASgOMhUubWVzc2FnZS5Nb2R1",
  26. "bGVfc3RhdHUSLQoOZGlzcGF0Y2hfc3RhdHUYAyABKA4yFS5tZXNzYWdlLk1v",
  27. "ZHVsZV9zdGF0dRIrCgxub3RpZnlfc3RhdHUYBCABKA4yFS5tZXNzYWdlLk1v",
  28. "ZHVsZV9zdGF0dSKzAQocQ2VudHJhbF9jb250cm9sbGVyX3N0YXR1X21zZxIl",
  29. "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxI2ChVlbnRy",
  30. "YW5jZV9zdGF0dV92ZWN0b3IYAiADKAsyFy5tZXNzYWdlLkVudHJhbmNlX3N0",
  31. "YXR1EjQKE2V4cG9ydF9zdGF0dV92ZWN0b3IYAyADKAsyFy5tZXNzYWdlLkVu",
  32. "dHJhbmNlX3N0YXR1IqoBCh1FbnRyYW5jZV9tYW51YWxfb3BlcmF0aW9uX21z",
  33. "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxIlCglp",
  34. "ZF9zdHJ1Y3QYAiACKAsyEi5tZXNzYWdlLklkX3N0cnVjdBIrCgxwcm9jZXNz",
  35. "X3R5cGUYAyACKA4yFS5tZXNzYWdlLlByb2Nlc3NfdHlwZRIOCgZwYXVzZWQY",
  36. "BCACKAgitAEKHFByb2Nlc3NfbWFudWFsX29wZXJhdGlvbl9tc2cSJQoJYmFz",
  37. "ZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SDwoHbGljZW5zZRgC",
  38. "IAIoCRIlCglzdGVwX3R5cGUYAyACKA4yEi5tZXNzYWdlLlN0ZXBfdHlwZRI1",
  39. "CgxvcGVyYXRlX3R5cGUYBCACKA4yHy5tZXNzYWdlLlByb2Nlc3Nfb3BlcmF0",
  40. "aW9uX3R5cGUqUwoWUHJvY2Vzc19vcGVyYXRpb25fdHlwZRISCg5lTWFudWFs",
  41. "X2NhbmNlbBAAEhEKDWVNYW51YWxfcmV0cnkQARISCg5lTWFudWFsX2lnbm9y",
  42. "ZRACKj0KDE1vZHVsZV9zdGF0dRIOCgplQ29ubmVjdGVkEAASEQoNZURpc2Nv",
  43. "bm5lY3RlZBABEgoKBmVGYXVsdBAC"));
  44. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  45. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
  46. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Process_operation_type), typeof(global::Message.Module_statu), }, null, new pbr::GeneratedClrTypeInfo[] {
  47. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Entrance_statu), global::Message.Entrance_statu.Parser, new[]{ "Paused", "ParkspaceStatu", "DispatchStatu", "NotifyStatu" }, null, null, null, null),
  48. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Central_controller_statu_msg), global::Message.Central_controller_statu_msg.Parser, new[]{ "BaseInfo", "EntranceStatuVector", "ExportStatuVector" }, null, null, null, null),
  49. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Entrance_manual_operation_msg), global::Message.Entrance_manual_operation_msg.Parser, new[]{ "BaseInfo", "IdStruct", "ProcessType", "Paused" }, null, null, null, null),
  50. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Process_manual_operation_msg), global::Message.Process_manual_operation_msg.Parser, new[]{ "BaseInfo", "License", "StepType", "OperateType" }, null, null, null, null)
  51. }));
  52. }
  53. #endregion
  54. }
  55. #region Enums
  56. /// <summary>
  57. ///针对流程的手动操作类型
  58. /// </summary>
  59. public enum Process_operation_type {
  60. /// <summary>
  61. ///取消流程
  62. /// </summary>
  63. [pbr::OriginalName("eManual_cancel")] EManualCancel = 0,
  64. /// <summary>
  65. ///重试
  66. /// </summary>
  67. [pbr::OriginalName("eManual_retry")] EManualRetry = 1,
  68. /// <summary>
  69. ///忽略
  70. /// </summary>
  71. [pbr::OriginalName("eManual_ignore")] EManualIgnore = 2,
  72. }
  73. public enum Module_statu {
  74. /// <summary>
  75. ///连接
  76. /// </summary>
  77. [pbr::OriginalName("eConnected")] EConnected = 0,
  78. /// <summary>
  79. ///连接丢失
  80. /// </summary>
  81. [pbr::OriginalName("eDisconnected")] EDisconnected = 1,
  82. /// <summary>
  83. ///故障
  84. /// </summary>
  85. [pbr::OriginalName("eFault")] EFault = 2,
  86. }
  87. #endregion
  88. #region Messages
  89. /// <summary>
  90. ///出入口状态
  91. /// </summary>
  92. public sealed partial class Entrance_statu : pb::IMessage<Entrance_statu>
  93. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  94. , pb::IBufferMessage
  95. #endif
  96. {
  97. private static readonly pb::MessageParser<Entrance_statu> _parser = new pb::MessageParser<Entrance_statu>(() => new Entrance_statu());
  98. private pb::UnknownFieldSet _unknownFields;
  99. private int _hasBits0;
  100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  101. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  102. public static pb::MessageParser<Entrance_statu> Parser { get { return _parser; } }
  103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  104. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  105. public static pbr::MessageDescriptor Descriptor {
  106. get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[0]; }
  107. }
  108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  109. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  110. pbr::MessageDescriptor pb::IMessage.Descriptor {
  111. get { return Descriptor; }
  112. }
  113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  114. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  115. public Entrance_statu() {
  116. OnConstruction();
  117. }
  118. partial void OnConstruction();
  119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  120. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  121. public Entrance_statu(Entrance_statu other) : this() {
  122. _hasBits0 = other._hasBits0;
  123. paused_ = other.paused_;
  124. parkspaceStatu_ = other.parkspaceStatu_;
  125. dispatchStatu_ = other.dispatchStatu_;
  126. notifyStatu_ = other.notifyStatu_;
  127. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  128. }
  129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  130. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  131. public Entrance_statu Clone() {
  132. return new Entrance_statu(this);
  133. }
  134. /// <summary>Field number for the "paused" field.</summary>
  135. public const int PausedFieldNumber = 1;
  136. private readonly static bool PausedDefaultValue = false;
  137. private bool paused_;
  138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  139. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  140. public bool Paused {
  141. get { if ((_hasBits0 & 1) != 0) { return paused_; } else { return PausedDefaultValue; } }
  142. set {
  143. _hasBits0 |= 1;
  144. paused_ = value;
  145. }
  146. }
  147. /// <summary>Gets whether the "paused" field is set</summary>
  148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  149. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  150. public bool HasPaused {
  151. get { return (_hasBits0 & 1) != 0; }
  152. }
  153. /// <summary>Clears the value of the "paused" field</summary>
  154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  155. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  156. public void ClearPaused() {
  157. _hasBits0 &= ~1;
  158. }
  159. /// <summary>Field number for the "parkspace_statu" field.</summary>
  160. public const int ParkspaceStatuFieldNumber = 2;
  161. private readonly static global::Message.Module_statu ParkspaceStatuDefaultValue = global::Message.Module_statu.EConnected;
  162. private global::Message.Module_statu parkspaceStatu_;
  163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  164. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  165. public global::Message.Module_statu ParkspaceStatu {
  166. get { if ((_hasBits0 & 2) != 0) { return parkspaceStatu_; } else { return ParkspaceStatuDefaultValue; } }
  167. set {
  168. _hasBits0 |= 2;
  169. parkspaceStatu_ = value;
  170. }
  171. }
  172. /// <summary>Gets whether the "parkspace_statu" field is set</summary>
  173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  174. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  175. public bool HasParkspaceStatu {
  176. get { return (_hasBits0 & 2) != 0; }
  177. }
  178. /// <summary>Clears the value of the "parkspace_statu" field</summary>
  179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  180. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  181. public void ClearParkspaceStatu() {
  182. _hasBits0 &= ~2;
  183. }
  184. /// <summary>Field number for the "dispatch_statu" field.</summary>
  185. public const int DispatchStatuFieldNumber = 3;
  186. private readonly static global::Message.Module_statu DispatchStatuDefaultValue = global::Message.Module_statu.EConnected;
  187. private global::Message.Module_statu dispatchStatu_;
  188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  189. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  190. public global::Message.Module_statu DispatchStatu {
  191. get { if ((_hasBits0 & 4) != 0) { return dispatchStatu_; } else { return DispatchStatuDefaultValue; } }
  192. set {
  193. _hasBits0 |= 4;
  194. dispatchStatu_ = value;
  195. }
  196. }
  197. /// <summary>Gets whether the "dispatch_statu" field is set</summary>
  198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  199. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  200. public bool HasDispatchStatu {
  201. get { return (_hasBits0 & 4) != 0; }
  202. }
  203. /// <summary>Clears the value of the "dispatch_statu" field</summary>
  204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  205. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  206. public void ClearDispatchStatu() {
  207. _hasBits0 &= ~4;
  208. }
  209. /// <summary>Field number for the "notify_statu" field.</summary>
  210. public const int NotifyStatuFieldNumber = 4;
  211. private readonly static global::Message.Module_statu NotifyStatuDefaultValue = global::Message.Module_statu.EConnected;
  212. private global::Message.Module_statu notifyStatu_;
  213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  214. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  215. public global::Message.Module_statu NotifyStatu {
  216. get { if ((_hasBits0 & 8) != 0) { return notifyStatu_; } else { return NotifyStatuDefaultValue; } }
  217. set {
  218. _hasBits0 |= 8;
  219. notifyStatu_ = value;
  220. }
  221. }
  222. /// <summary>Gets whether the "notify_statu" field is set</summary>
  223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  224. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  225. public bool HasNotifyStatu {
  226. get { return (_hasBits0 & 8) != 0; }
  227. }
  228. /// <summary>Clears the value of the "notify_statu" field</summary>
  229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  230. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  231. public void ClearNotifyStatu() {
  232. _hasBits0 &= ~8;
  233. }
  234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  235. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  236. public override bool Equals(object other) {
  237. return Equals(other as Entrance_statu);
  238. }
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  240. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  241. public bool Equals(Entrance_statu other) {
  242. if (ReferenceEquals(other, null)) {
  243. return false;
  244. }
  245. if (ReferenceEquals(other, this)) {
  246. return true;
  247. }
  248. if (Paused != other.Paused) return false;
  249. if (ParkspaceStatu != other.ParkspaceStatu) return false;
  250. if (DispatchStatu != other.DispatchStatu) return false;
  251. if (NotifyStatu != other.NotifyStatu) return false;
  252. return Equals(_unknownFields, other._unknownFields);
  253. }
  254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  255. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  256. public override int GetHashCode() {
  257. int hash = 1;
  258. if (HasPaused) hash ^= Paused.GetHashCode();
  259. if (HasParkspaceStatu) hash ^= ParkspaceStatu.GetHashCode();
  260. if (HasDispatchStatu) hash ^= DispatchStatu.GetHashCode();
  261. if (HasNotifyStatu) hash ^= NotifyStatu.GetHashCode();
  262. if (_unknownFields != null) {
  263. hash ^= _unknownFields.GetHashCode();
  264. }
  265. return hash;
  266. }
  267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  268. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  269. public override string ToString() {
  270. return pb::JsonFormatter.ToDiagnosticString(this);
  271. }
  272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  273. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  274. public void WriteTo(pb::CodedOutputStream output) {
  275. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  276. output.WriteRawMessage(this);
  277. #else
  278. if (HasPaused) {
  279. output.WriteRawTag(8);
  280. output.WriteBool(Paused);
  281. }
  282. if (HasParkspaceStatu) {
  283. output.WriteRawTag(16);
  284. output.WriteEnum((int) ParkspaceStatu);
  285. }
  286. if (HasDispatchStatu) {
  287. output.WriteRawTag(24);
  288. output.WriteEnum((int) DispatchStatu);
  289. }
  290. if (HasNotifyStatu) {
  291. output.WriteRawTag(32);
  292. output.WriteEnum((int) NotifyStatu);
  293. }
  294. if (_unknownFields != null) {
  295. _unknownFields.WriteTo(output);
  296. }
  297. #endif
  298. }
  299. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  301. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  302. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  303. if (HasPaused) {
  304. output.WriteRawTag(8);
  305. output.WriteBool(Paused);
  306. }
  307. if (HasParkspaceStatu) {
  308. output.WriteRawTag(16);
  309. output.WriteEnum((int) ParkspaceStatu);
  310. }
  311. if (HasDispatchStatu) {
  312. output.WriteRawTag(24);
  313. output.WriteEnum((int) DispatchStatu);
  314. }
  315. if (HasNotifyStatu) {
  316. output.WriteRawTag(32);
  317. output.WriteEnum((int) NotifyStatu);
  318. }
  319. if (_unknownFields != null) {
  320. _unknownFields.WriteTo(ref output);
  321. }
  322. }
  323. #endif
  324. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  325. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  326. public int CalculateSize() {
  327. int size = 0;
  328. if (HasPaused) {
  329. size += 1 + 1;
  330. }
  331. if (HasParkspaceStatu) {
  332. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceStatu);
  333. }
  334. if (HasDispatchStatu) {
  335. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DispatchStatu);
  336. }
  337. if (HasNotifyStatu) {
  338. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NotifyStatu);
  339. }
  340. if (_unknownFields != null) {
  341. size += _unknownFields.CalculateSize();
  342. }
  343. return size;
  344. }
  345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  346. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  347. public void MergeFrom(Entrance_statu other) {
  348. if (other == null) {
  349. return;
  350. }
  351. if (other.HasPaused) {
  352. Paused = other.Paused;
  353. }
  354. if (other.HasParkspaceStatu) {
  355. ParkspaceStatu = other.ParkspaceStatu;
  356. }
  357. if (other.HasDispatchStatu) {
  358. DispatchStatu = other.DispatchStatu;
  359. }
  360. if (other.HasNotifyStatu) {
  361. NotifyStatu = other.NotifyStatu;
  362. }
  363. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  364. }
  365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  366. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  367. public void MergeFrom(pb::CodedInputStream input) {
  368. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  369. input.ReadRawMessage(this);
  370. #else
  371. uint tag;
  372. while ((tag = input.ReadTag()) != 0) {
  373. switch(tag) {
  374. default:
  375. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  376. break;
  377. case 8: {
  378. Paused = input.ReadBool();
  379. break;
  380. }
  381. case 16: {
  382. ParkspaceStatu = (global::Message.Module_statu) input.ReadEnum();
  383. break;
  384. }
  385. case 24: {
  386. DispatchStatu = (global::Message.Module_statu) input.ReadEnum();
  387. break;
  388. }
  389. case 32: {
  390. NotifyStatu = (global::Message.Module_statu) input.ReadEnum();
  391. break;
  392. }
  393. }
  394. }
  395. #endif
  396. }
  397. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  399. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  400. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  401. uint tag;
  402. while ((tag = input.ReadTag()) != 0) {
  403. switch(tag) {
  404. default:
  405. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  406. break;
  407. case 8: {
  408. Paused = input.ReadBool();
  409. break;
  410. }
  411. case 16: {
  412. ParkspaceStatu = (global::Message.Module_statu) input.ReadEnum();
  413. break;
  414. }
  415. case 24: {
  416. DispatchStatu = (global::Message.Module_statu) input.ReadEnum();
  417. break;
  418. }
  419. case 32: {
  420. NotifyStatu = (global::Message.Module_statu) input.ReadEnum();
  421. break;
  422. }
  423. }
  424. }
  425. }
  426. #endif
  427. }
  428. /// <summary>
  429. ///中控状态消息
  430. /// </summary>
  431. public sealed partial class Central_controller_statu_msg : pb::IMessage<Central_controller_statu_msg>
  432. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  433. , pb::IBufferMessage
  434. #endif
  435. {
  436. private static readonly pb::MessageParser<Central_controller_statu_msg> _parser = new pb::MessageParser<Central_controller_statu_msg>(() => new Central_controller_statu_msg());
  437. private pb::UnknownFieldSet _unknownFields;
  438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  439. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  440. public static pb::MessageParser<Central_controller_statu_msg> Parser { get { return _parser; } }
  441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  442. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  443. public static pbr::MessageDescriptor Descriptor {
  444. get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[1]; }
  445. }
  446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  447. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  448. pbr::MessageDescriptor pb::IMessage.Descriptor {
  449. get { return Descriptor; }
  450. }
  451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  452. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  453. public Central_controller_statu_msg() {
  454. OnConstruction();
  455. }
  456. partial void OnConstruction();
  457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  458. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  459. public Central_controller_statu_msg(Central_controller_statu_msg other) : this() {
  460. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  461. entranceStatuVector_ = other.entranceStatuVector_.Clone();
  462. exportStatuVector_ = other.exportStatuVector_.Clone();
  463. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  464. }
  465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  466. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  467. public Central_controller_statu_msg Clone() {
  468. return new Central_controller_statu_msg(this);
  469. }
  470. /// <summary>Field number for the "base_info" field.</summary>
  471. public const int BaseInfoFieldNumber = 1;
  472. private global::Message.Base_info baseInfo_;
  473. /// <summary>
  474. ///消息类型
  475. /// </summary>
  476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  477. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  478. public global::Message.Base_info BaseInfo {
  479. get { return baseInfo_; }
  480. set {
  481. baseInfo_ = value;
  482. }
  483. }
  484. /// <summary>Field number for the "entrance_statu_vector" field.</summary>
  485. public const int EntranceStatuVectorFieldNumber = 2;
  486. private static readonly pb::FieldCodec<global::Message.Entrance_statu> _repeated_entranceStatuVector_codec
  487. = pb::FieldCodec.ForMessage(18, global::Message.Entrance_statu.Parser);
  488. private readonly pbc::RepeatedField<global::Message.Entrance_statu> entranceStatuVector_ = new pbc::RepeatedField<global::Message.Entrance_statu>();
  489. /// <summary>
  490. ///入口状态(关闭或者开放)
  491. /// </summary>
  492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  493. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  494. public pbc::RepeatedField<global::Message.Entrance_statu> EntranceStatuVector {
  495. get { return entranceStatuVector_; }
  496. }
  497. /// <summary>Field number for the "export_statu_vector" field.</summary>
  498. public const int ExportStatuVectorFieldNumber = 3;
  499. private static readonly pb::FieldCodec<global::Message.Entrance_statu> _repeated_exportStatuVector_codec
  500. = pb::FieldCodec.ForMessage(26, global::Message.Entrance_statu.Parser);
  501. private readonly pbc::RepeatedField<global::Message.Entrance_statu> exportStatuVector_ = new pbc::RepeatedField<global::Message.Entrance_statu>();
  502. /// <summary>
  503. ///出口状态
  504. /// </summary>
  505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  506. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  507. public pbc::RepeatedField<global::Message.Entrance_statu> ExportStatuVector {
  508. get { return exportStatuVector_; }
  509. }
  510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  511. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  512. public override bool Equals(object other) {
  513. return Equals(other as Central_controller_statu_msg);
  514. }
  515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  516. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  517. public bool Equals(Central_controller_statu_msg other) {
  518. if (ReferenceEquals(other, null)) {
  519. return false;
  520. }
  521. if (ReferenceEquals(other, this)) {
  522. return true;
  523. }
  524. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  525. if(!entranceStatuVector_.Equals(other.entranceStatuVector_)) return false;
  526. if(!exportStatuVector_.Equals(other.exportStatuVector_)) return false;
  527. return Equals(_unknownFields, other._unknownFields);
  528. }
  529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  530. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  531. public override int GetHashCode() {
  532. int hash = 1;
  533. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  534. hash ^= entranceStatuVector_.GetHashCode();
  535. hash ^= exportStatuVector_.GetHashCode();
  536. if (_unknownFields != null) {
  537. hash ^= _unknownFields.GetHashCode();
  538. }
  539. return hash;
  540. }
  541. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  542. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  543. public override string ToString() {
  544. return pb::JsonFormatter.ToDiagnosticString(this);
  545. }
  546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  547. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  548. public void WriteTo(pb::CodedOutputStream output) {
  549. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  550. output.WriteRawMessage(this);
  551. #else
  552. if (baseInfo_ != null) {
  553. output.WriteRawTag(10);
  554. output.WriteMessage(BaseInfo);
  555. }
  556. entranceStatuVector_.WriteTo(output, _repeated_entranceStatuVector_codec);
  557. exportStatuVector_.WriteTo(output, _repeated_exportStatuVector_codec);
  558. if (_unknownFields != null) {
  559. _unknownFields.WriteTo(output);
  560. }
  561. #endif
  562. }
  563. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  565. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  566. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  567. if (baseInfo_ != null) {
  568. output.WriteRawTag(10);
  569. output.WriteMessage(BaseInfo);
  570. }
  571. entranceStatuVector_.WriteTo(ref output, _repeated_entranceStatuVector_codec);
  572. exportStatuVector_.WriteTo(ref output, _repeated_exportStatuVector_codec);
  573. if (_unknownFields != null) {
  574. _unknownFields.WriteTo(ref output);
  575. }
  576. }
  577. #endif
  578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  579. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  580. public int CalculateSize() {
  581. int size = 0;
  582. if (baseInfo_ != null) {
  583. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  584. }
  585. size += entranceStatuVector_.CalculateSize(_repeated_entranceStatuVector_codec);
  586. size += exportStatuVector_.CalculateSize(_repeated_exportStatuVector_codec);
  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(Central_controller_statu_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. entranceStatuVector_.Add(other.entranceStatuVector_);
  605. exportStatuVector_.Add(other.exportStatuVector_);
  606. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  607. }
  608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  609. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  610. public void MergeFrom(pb::CodedInputStream input) {
  611. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  612. input.ReadRawMessage(this);
  613. #else
  614. uint tag;
  615. while ((tag = input.ReadTag()) != 0) {
  616. switch(tag) {
  617. default:
  618. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  619. break;
  620. case 10: {
  621. if (baseInfo_ == null) {
  622. BaseInfo = new global::Message.Base_info();
  623. }
  624. input.ReadMessage(BaseInfo);
  625. break;
  626. }
  627. case 18: {
  628. entranceStatuVector_.AddEntriesFrom(input, _repeated_entranceStatuVector_codec);
  629. break;
  630. }
  631. case 26: {
  632. exportStatuVector_.AddEntriesFrom(input, _repeated_exportStatuVector_codec);
  633. break;
  634. }
  635. }
  636. }
  637. #endif
  638. }
  639. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  641. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  642. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  643. uint tag;
  644. while ((tag = input.ReadTag()) != 0) {
  645. switch(tag) {
  646. default:
  647. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  648. break;
  649. case 10: {
  650. if (baseInfo_ == null) {
  651. BaseInfo = new global::Message.Base_info();
  652. }
  653. input.ReadMessage(BaseInfo);
  654. break;
  655. }
  656. case 18: {
  657. entranceStatuVector_.AddEntriesFrom(ref input, _repeated_entranceStatuVector_codec);
  658. break;
  659. }
  660. case 26: {
  661. exportStatuVector_.AddEntriesFrom(ref input, _repeated_exportStatuVector_codec);
  662. break;
  663. }
  664. }
  665. }
  666. }
  667. #endif
  668. }
  669. /// <summary>
  670. ///出入口手动急停/启动消息
  671. /// </summary>
  672. public sealed partial class Entrance_manual_operation_msg : pb::IMessage<Entrance_manual_operation_msg>
  673. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  674. , pb::IBufferMessage
  675. #endif
  676. {
  677. private static readonly pb::MessageParser<Entrance_manual_operation_msg> _parser = new pb::MessageParser<Entrance_manual_operation_msg>(() => new Entrance_manual_operation_msg());
  678. private pb::UnknownFieldSet _unknownFields;
  679. private int _hasBits0;
  680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  681. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  682. public static pb::MessageParser<Entrance_manual_operation_msg> Parser { get { return _parser; } }
  683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  684. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  685. public static pbr::MessageDescriptor Descriptor {
  686. get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[2]; }
  687. }
  688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  689. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  690. pbr::MessageDescriptor pb::IMessage.Descriptor {
  691. get { return Descriptor; }
  692. }
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  695. public Entrance_manual_operation_msg() {
  696. OnConstruction();
  697. }
  698. partial void OnConstruction();
  699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  700. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  701. public Entrance_manual_operation_msg(Entrance_manual_operation_msg other) : this() {
  702. _hasBits0 = other._hasBits0;
  703. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  704. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  705. processType_ = other.processType_;
  706. paused_ = other.paused_;
  707. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  708. }
  709. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  710. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  711. public Entrance_manual_operation_msg Clone() {
  712. return new Entrance_manual_operation_msg(this);
  713. }
  714. /// <summary>Field number for the "base_info" field.</summary>
  715. public const int BaseInfoFieldNumber = 1;
  716. private global::Message.Base_info baseInfo_;
  717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  718. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  719. public global::Message.Base_info BaseInfo {
  720. get { return baseInfo_; }
  721. set {
  722. baseInfo_ = value;
  723. }
  724. }
  725. /// <summary>Field number for the "id_struct" field.</summary>
  726. public const int IdStructFieldNumber = 2;
  727. private global::Message.Id_struct idStruct_;
  728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  729. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  730. public global::Message.Id_struct IdStruct {
  731. get { return idStruct_; }
  732. set {
  733. idStruct_ = value;
  734. }
  735. }
  736. /// <summary>Field number for the "process_type" field.</summary>
  737. public const int ProcessTypeFieldNumber = 3;
  738. private readonly static global::Message.Process_type ProcessTypeDefaultValue = global::Message.Process_type.EStoring;
  739. private global::Message.Process_type processType_;
  740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  741. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  742. public global::Message.Process_type ProcessType {
  743. get { if ((_hasBits0 & 1) != 0) { return processType_; } else { return ProcessTypeDefaultValue; } }
  744. set {
  745. _hasBits0 |= 1;
  746. processType_ = value;
  747. }
  748. }
  749. /// <summary>Gets whether the "process_type" field is set</summary>
  750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  751. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  752. public bool HasProcessType {
  753. get { return (_hasBits0 & 1) != 0; }
  754. }
  755. /// <summary>Clears the value of the "process_type" field</summary>
  756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  758. public void ClearProcessType() {
  759. _hasBits0 &= ~1;
  760. }
  761. /// <summary>Field number for the "paused" field.</summary>
  762. public const int PausedFieldNumber = 4;
  763. private readonly static bool PausedDefaultValue = false;
  764. private bool paused_;
  765. /// <summary>
  766. ///是否急停
  767. /// </summary>
  768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  769. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  770. public bool Paused {
  771. get { if ((_hasBits0 & 2) != 0) { return paused_; } else { return PausedDefaultValue; } }
  772. set {
  773. _hasBits0 |= 2;
  774. paused_ = value;
  775. }
  776. }
  777. /// <summary>Gets whether the "paused" field is set</summary>
  778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  779. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  780. public bool HasPaused {
  781. get { return (_hasBits0 & 2) != 0; }
  782. }
  783. /// <summary>Clears the value of the "paused" field</summary>
  784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  785. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  786. public void ClearPaused() {
  787. _hasBits0 &= ~2;
  788. }
  789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  790. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  791. public override bool Equals(object other) {
  792. return Equals(other as Entrance_manual_operation_msg);
  793. }
  794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  795. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  796. public bool Equals(Entrance_manual_operation_msg other) {
  797. if (ReferenceEquals(other, null)) {
  798. return false;
  799. }
  800. if (ReferenceEquals(other, this)) {
  801. return true;
  802. }
  803. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  804. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  805. if (ProcessType != other.ProcessType) return false;
  806. if (Paused != other.Paused) return false;
  807. return Equals(_unknownFields, other._unknownFields);
  808. }
  809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  810. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  811. public override int GetHashCode() {
  812. int hash = 1;
  813. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  814. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  815. if (HasProcessType) hash ^= ProcessType.GetHashCode();
  816. if (HasPaused) hash ^= Paused.GetHashCode();
  817. if (_unknownFields != null) {
  818. hash ^= _unknownFields.GetHashCode();
  819. }
  820. return hash;
  821. }
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  823. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  824. public override string ToString() {
  825. return pb::JsonFormatter.ToDiagnosticString(this);
  826. }
  827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  828. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  829. public void WriteTo(pb::CodedOutputStream output) {
  830. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  831. output.WriteRawMessage(this);
  832. #else
  833. if (baseInfo_ != null) {
  834. output.WriteRawTag(10);
  835. output.WriteMessage(BaseInfo);
  836. }
  837. if (idStruct_ != null) {
  838. output.WriteRawTag(18);
  839. output.WriteMessage(IdStruct);
  840. }
  841. if (HasProcessType) {
  842. output.WriteRawTag(24);
  843. output.WriteEnum((int) ProcessType);
  844. }
  845. if (HasPaused) {
  846. output.WriteRawTag(32);
  847. output.WriteBool(Paused);
  848. }
  849. if (_unknownFields != null) {
  850. _unknownFields.WriteTo(output);
  851. }
  852. #endif
  853. }
  854. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  856. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  857. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  858. if (baseInfo_ != null) {
  859. output.WriteRawTag(10);
  860. output.WriteMessage(BaseInfo);
  861. }
  862. if (idStruct_ != null) {
  863. output.WriteRawTag(18);
  864. output.WriteMessage(IdStruct);
  865. }
  866. if (HasProcessType) {
  867. output.WriteRawTag(24);
  868. output.WriteEnum((int) ProcessType);
  869. }
  870. if (HasPaused) {
  871. output.WriteRawTag(32);
  872. output.WriteBool(Paused);
  873. }
  874. if (_unknownFields != null) {
  875. _unknownFields.WriteTo(ref output);
  876. }
  877. }
  878. #endif
  879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  880. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  881. public int CalculateSize() {
  882. int size = 0;
  883. if (baseInfo_ != null) {
  884. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  885. }
  886. if (idStruct_ != null) {
  887. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  888. }
  889. if (HasProcessType) {
  890. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProcessType);
  891. }
  892. if (HasPaused) {
  893. size += 1 + 1;
  894. }
  895. if (_unknownFields != null) {
  896. size += _unknownFields.CalculateSize();
  897. }
  898. return size;
  899. }
  900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  901. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  902. public void MergeFrom(Entrance_manual_operation_msg other) {
  903. if (other == null) {
  904. return;
  905. }
  906. if (other.baseInfo_ != null) {
  907. if (baseInfo_ == null) {
  908. BaseInfo = new global::Message.Base_info();
  909. }
  910. BaseInfo.MergeFrom(other.BaseInfo);
  911. }
  912. if (other.idStruct_ != null) {
  913. if (idStruct_ == null) {
  914. IdStruct = new global::Message.Id_struct();
  915. }
  916. IdStruct.MergeFrom(other.IdStruct);
  917. }
  918. if (other.HasProcessType) {
  919. ProcessType = other.ProcessType;
  920. }
  921. if (other.HasPaused) {
  922. Paused = other.Paused;
  923. }
  924. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  925. }
  926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  927. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  928. public void MergeFrom(pb::CodedInputStream input) {
  929. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  930. input.ReadRawMessage(this);
  931. #else
  932. uint tag;
  933. while ((tag = input.ReadTag()) != 0) {
  934. switch(tag) {
  935. default:
  936. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  937. break;
  938. case 10: {
  939. if (baseInfo_ == null) {
  940. BaseInfo = new global::Message.Base_info();
  941. }
  942. input.ReadMessage(BaseInfo);
  943. break;
  944. }
  945. case 18: {
  946. if (idStruct_ == null) {
  947. IdStruct = new global::Message.Id_struct();
  948. }
  949. input.ReadMessage(IdStruct);
  950. break;
  951. }
  952. case 24: {
  953. ProcessType = (global::Message.Process_type) input.ReadEnum();
  954. break;
  955. }
  956. case 32: {
  957. Paused = input.ReadBool();
  958. break;
  959. }
  960. }
  961. }
  962. #endif
  963. }
  964. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  966. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  967. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  968. uint tag;
  969. while ((tag = input.ReadTag()) != 0) {
  970. switch(tag) {
  971. default:
  972. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  973. break;
  974. case 10: {
  975. if (baseInfo_ == null) {
  976. BaseInfo = new global::Message.Base_info();
  977. }
  978. input.ReadMessage(BaseInfo);
  979. break;
  980. }
  981. case 18: {
  982. if (idStruct_ == null) {
  983. IdStruct = new global::Message.Id_struct();
  984. }
  985. input.ReadMessage(IdStruct);
  986. break;
  987. }
  988. case 24: {
  989. ProcessType = (global::Message.Process_type) input.ReadEnum();
  990. break;
  991. }
  992. case 32: {
  993. Paused = input.ReadBool();
  994. break;
  995. }
  996. }
  997. }
  998. }
  999. #endif
  1000. }
  1001. /// <summary>
  1002. ///流程手动操作消息
  1003. /// </summary>
  1004. public sealed partial class Process_manual_operation_msg : pb::IMessage<Process_manual_operation_msg>
  1005. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1006. , pb::IBufferMessage
  1007. #endif
  1008. {
  1009. private static readonly pb::MessageParser<Process_manual_operation_msg> _parser = new pb::MessageParser<Process_manual_operation_msg>(() => new Process_manual_operation_msg());
  1010. private pb::UnknownFieldSet _unknownFields;
  1011. private int _hasBits0;
  1012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1013. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1014. public static pb::MessageParser<Process_manual_operation_msg> Parser { get { return _parser; } }
  1015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1016. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1017. public static pbr::MessageDescriptor Descriptor {
  1018. get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[3]; }
  1019. }
  1020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1021. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1022. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1023. get { return Descriptor; }
  1024. }
  1025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1026. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1027. public Process_manual_operation_msg() {
  1028. OnConstruction();
  1029. }
  1030. partial void OnConstruction();
  1031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1032. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1033. public Process_manual_operation_msg(Process_manual_operation_msg other) : this() {
  1034. _hasBits0 = other._hasBits0;
  1035. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1036. license_ = other.license_;
  1037. stepType_ = other.stepType_;
  1038. operateType_ = other.operateType_;
  1039. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1040. }
  1041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1042. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1043. public Process_manual_operation_msg Clone() {
  1044. return new Process_manual_operation_msg(this);
  1045. }
  1046. /// <summary>Field number for the "base_info" field.</summary>
  1047. public const int BaseInfoFieldNumber = 1;
  1048. private global::Message.Base_info baseInfo_;
  1049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1050. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1051. public global::Message.Base_info BaseInfo {
  1052. get { return baseInfo_; }
  1053. set {
  1054. baseInfo_ = value;
  1055. }
  1056. }
  1057. /// <summary>Field number for the "license" field.</summary>
  1058. public const int LicenseFieldNumber = 2;
  1059. private readonly static string LicenseDefaultValue = "";
  1060. private string license_;
  1061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1062. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1063. public string License {
  1064. get { return license_ ?? LicenseDefaultValue; }
  1065. set {
  1066. license_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1067. }
  1068. }
  1069. /// <summary>Gets whether the "license" field is set</summary>
  1070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1071. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1072. public bool HasLicense {
  1073. get { return license_ != null; }
  1074. }
  1075. /// <summary>Clears the value of the "license" field</summary>
  1076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1077. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1078. public void ClearLicense() {
  1079. license_ = null;
  1080. }
  1081. /// <summary>Field number for the "step_type" field.</summary>
  1082. public const int StepTypeFieldNumber = 3;
  1083. private readonly static global::Message.Step_type StepTypeDefaultValue = global::Message.Step_type.EAllocStep;
  1084. private global::Message.Step_type stepType_;
  1085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1086. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1087. public global::Message.Step_type StepType {
  1088. get { if ((_hasBits0 & 1) != 0) { return stepType_; } else { return StepTypeDefaultValue; } }
  1089. set {
  1090. _hasBits0 |= 1;
  1091. stepType_ = value;
  1092. }
  1093. }
  1094. /// <summary>Gets whether the "step_type" field is set</summary>
  1095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1096. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1097. public bool HasStepType {
  1098. get { return (_hasBits0 & 1) != 0; }
  1099. }
  1100. /// <summary>Clears the value of the "step_type" field</summary>
  1101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1102. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1103. public void ClearStepType() {
  1104. _hasBits0 &= ~1;
  1105. }
  1106. /// <summary>Field number for the "operate_type" field.</summary>
  1107. public const int OperateTypeFieldNumber = 4;
  1108. private readonly static global::Message.Process_operation_type OperateTypeDefaultValue = global::Message.Process_operation_type.EManualCancel;
  1109. private global::Message.Process_operation_type operateType_;
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1111. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1112. public global::Message.Process_operation_type OperateType {
  1113. get { if ((_hasBits0 & 2) != 0) { return operateType_; } else { return OperateTypeDefaultValue; } }
  1114. set {
  1115. _hasBits0 |= 2;
  1116. operateType_ = value;
  1117. }
  1118. }
  1119. /// <summary>Gets whether the "operate_type" field is set</summary>
  1120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1121. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1122. public bool HasOperateType {
  1123. get { return (_hasBits0 & 2) != 0; }
  1124. }
  1125. /// <summary>Clears the value of the "operate_type" field</summary>
  1126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1127. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1128. public void ClearOperateType() {
  1129. _hasBits0 &= ~2;
  1130. }
  1131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1132. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1133. public override bool Equals(object other) {
  1134. return Equals(other as Process_manual_operation_msg);
  1135. }
  1136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1137. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1138. public bool Equals(Process_manual_operation_msg other) {
  1139. if (ReferenceEquals(other, null)) {
  1140. return false;
  1141. }
  1142. if (ReferenceEquals(other, this)) {
  1143. return true;
  1144. }
  1145. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1146. if (License != other.License) return false;
  1147. if (StepType != other.StepType) return false;
  1148. if (OperateType != other.OperateType) return false;
  1149. return Equals(_unknownFields, other._unknownFields);
  1150. }
  1151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1152. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1153. public override int GetHashCode() {
  1154. int hash = 1;
  1155. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1156. if (HasLicense) hash ^= License.GetHashCode();
  1157. if (HasStepType) hash ^= StepType.GetHashCode();
  1158. if (HasOperateType) hash ^= OperateType.GetHashCode();
  1159. if (_unknownFields != null) {
  1160. hash ^= _unknownFields.GetHashCode();
  1161. }
  1162. return hash;
  1163. }
  1164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1165. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1166. public override string ToString() {
  1167. return pb::JsonFormatter.ToDiagnosticString(this);
  1168. }
  1169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1170. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1171. public void WriteTo(pb::CodedOutputStream output) {
  1172. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1173. output.WriteRawMessage(this);
  1174. #else
  1175. if (baseInfo_ != null) {
  1176. output.WriteRawTag(10);
  1177. output.WriteMessage(BaseInfo);
  1178. }
  1179. if (HasLicense) {
  1180. output.WriteRawTag(18);
  1181. output.WriteString(License);
  1182. }
  1183. if (HasStepType) {
  1184. output.WriteRawTag(24);
  1185. output.WriteEnum((int) StepType);
  1186. }
  1187. if (HasOperateType) {
  1188. output.WriteRawTag(32);
  1189. output.WriteEnum((int) OperateType);
  1190. }
  1191. if (_unknownFields != null) {
  1192. _unknownFields.WriteTo(output);
  1193. }
  1194. #endif
  1195. }
  1196. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1198. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1199. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1200. if (baseInfo_ != null) {
  1201. output.WriteRawTag(10);
  1202. output.WriteMessage(BaseInfo);
  1203. }
  1204. if (HasLicense) {
  1205. output.WriteRawTag(18);
  1206. output.WriteString(License);
  1207. }
  1208. if (HasStepType) {
  1209. output.WriteRawTag(24);
  1210. output.WriteEnum((int) StepType);
  1211. }
  1212. if (HasOperateType) {
  1213. output.WriteRawTag(32);
  1214. output.WriteEnum((int) OperateType);
  1215. }
  1216. if (_unknownFields != null) {
  1217. _unknownFields.WriteTo(ref output);
  1218. }
  1219. }
  1220. #endif
  1221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1222. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1223. public int CalculateSize() {
  1224. int size = 0;
  1225. if (baseInfo_ != null) {
  1226. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1227. }
  1228. if (HasLicense) {
  1229. size += 1 + pb::CodedOutputStream.ComputeStringSize(License);
  1230. }
  1231. if (HasStepType) {
  1232. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StepType);
  1233. }
  1234. if (HasOperateType) {
  1235. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OperateType);
  1236. }
  1237. if (_unknownFields != null) {
  1238. size += _unknownFields.CalculateSize();
  1239. }
  1240. return size;
  1241. }
  1242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1243. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1244. public void MergeFrom(Process_manual_operation_msg other) {
  1245. if (other == null) {
  1246. return;
  1247. }
  1248. if (other.baseInfo_ != null) {
  1249. if (baseInfo_ == null) {
  1250. BaseInfo = new global::Message.Base_info();
  1251. }
  1252. BaseInfo.MergeFrom(other.BaseInfo);
  1253. }
  1254. if (other.HasLicense) {
  1255. License = other.License;
  1256. }
  1257. if (other.HasStepType) {
  1258. StepType = other.StepType;
  1259. }
  1260. if (other.HasOperateType) {
  1261. OperateType = other.OperateType;
  1262. }
  1263. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1264. }
  1265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1266. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1267. public void MergeFrom(pb::CodedInputStream input) {
  1268. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1269. input.ReadRawMessage(this);
  1270. #else
  1271. uint tag;
  1272. while ((tag = input.ReadTag()) != 0) {
  1273. switch(tag) {
  1274. default:
  1275. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1276. break;
  1277. case 10: {
  1278. if (baseInfo_ == null) {
  1279. BaseInfo = new global::Message.Base_info();
  1280. }
  1281. input.ReadMessage(BaseInfo);
  1282. break;
  1283. }
  1284. case 18: {
  1285. License = input.ReadString();
  1286. break;
  1287. }
  1288. case 24: {
  1289. StepType = (global::Message.Step_type) input.ReadEnum();
  1290. break;
  1291. }
  1292. case 32: {
  1293. OperateType = (global::Message.Process_operation_type) input.ReadEnum();
  1294. break;
  1295. }
  1296. }
  1297. }
  1298. #endif
  1299. }
  1300. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1302. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1303. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1304. uint tag;
  1305. while ((tag = input.ReadTag()) != 0) {
  1306. switch(tag) {
  1307. default:
  1308. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1309. break;
  1310. case 10: {
  1311. if (baseInfo_ == null) {
  1312. BaseInfo = new global::Message.Base_info();
  1313. }
  1314. input.ReadMessage(BaseInfo);
  1315. break;
  1316. }
  1317. case 18: {
  1318. License = input.ReadString();
  1319. break;
  1320. }
  1321. case 24: {
  1322. StepType = (global::Message.Step_type) input.ReadEnum();
  1323. break;
  1324. }
  1325. case 32: {
  1326. OperateType = (global::Message.Process_operation_type) input.ReadEnum();
  1327. break;
  1328. }
  1329. }
  1330. }
  1331. }
  1332. #endif
  1333. }
  1334. #endregion
  1335. }
  1336. #endregion Designer generated code