Message.cs 100 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: message.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021, 8981
  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. /// <summary>Holder for reflection information generated from message.proto</summary>
  12. public static partial class MessageReflection {
  13. #region Descriptor
  14. /// <summary>File descriptor for message.proto</summary>
  15. public static pbr::FileDescriptor Descriptor {
  16. get { return descriptor; }
  17. }
  18. private static pbr::FileDescriptor descriptor;
  19. static MessageReflection() {
  20. byte[] descriptorData = global::System.Convert.FromBase64String(
  21. string.Concat(
  22. "Cg1tZXNzYWdlLnByb3RvIrkBCgxtZWFzdXJlX2luZm8SCgoCY3gYASABKAIS",
  23. "CgoCY3kYAiABKAISDQoFdGhldGEYAyABKAISDgoGbGVuZ3RoGAQgASgCEg0K",
  24. "BXdpZHRoGAUgASgCEg4KBmhlaWdodBgGIAEoAhIRCgl3aGVlbGJhc2UYByAB",
  25. "KAISEwoLZnJvbnRfdGhldGEYCCABKAISFAoMYm9yZGVyX3N0YXR1GAkgASgF",
  26. "EhUKDWdyb3VuZF9zdGF0dXMYCiABKAUiTQoOcGFya3NwYWNlX2luZm8SCgoC",
  27. "aWQYASABKAUSDwoHdW5pdF9pZBgCIAEoBRINCgVmbG9vchgDIAEoBRIPCgdy",
  28. "b29tX2lkGAQgASgFIkcKC3RhYmxlX3N0YXR1Eh0KDWV4ZWN1dGVfc3RhdHUY",
  29. "ASABKA4yBi5TVEFUVRIZChFzdGF0dV9kZXNjcmlwdGlvbhgCIAEoCSLDAgoK",
  30. "cGFya190YWJsZRIbCgVzdGF0dRgBIAEoCzIMLnRhYmxlX3N0YXR1EhAKCHF1",
  31. "ZXVlX2lkGAIgASgFEhIKCmNhcl9udW1iZXIYAyABKAkSDwoHdW5pdF9pZBgE",
  32. "IAEoBRITCgt0ZXJtaW5hbF9pZBgFIAEoBRITCgtwcmltYXJ5X2tleRgGIAEo",
  33. "CRIsChVlbnRyYW5jZV9tZWFzdXJlX2luZm8YByABKAsyDS5tZWFzdXJlX2lu",
  34. "Zm8SLQoUYWxsb2NhdGVkX3NwYWNlX2luZm8YCCABKAsyDy5wYXJrc3BhY2Vf",
  35. "aW5mbxIsChVhY3R1YWxseV9tZWFzdXJlX2luZm8YCSABKAsyDS5tZWFzdXJl",
  36. "X2luZm8SLAoTYWN0dWFsbHlfc3BhY2VfaW5mbxgKIAEoCzIPLnBhcmtzcGFj",
  37. "ZV9pbmZvIvkBCgpwaWNrX3RhYmxlEhsKBXN0YXR1GAEgASgLMgwudGFibGVf",
  38. "c3RhdHUSEAoIcXVldWVfaWQYAiABKAUSEgoKY2FyX251bWJlchgDIAEoCRIP",
  39. "Cgd1bml0X2lkGAQgASgFEhMKC3Rlcm1pbmFsX2lkGAUgASgFEhMKC3ByaW1h",
  40. "cnlfa2V5GAYgASgJEiwKE2FjdHVhbGx5X3NwYWNlX2luZm8YByABKAsyDy5w",
  41. "YXJrc3BhY2VfaW5mbxIsChVhY3R1YWxseV9tZWFzdXJlX2luZm8YCCABKAsy",
  42. "DS5tZWFzdXJlX2luZm8SEQoJZXhwb3J0X2lkGAkgASgFIjwKDm91dF9tY3B1",
  43. "X3N0YXR1EhIKCmRvb3Jfc3RhdHUYASABKAUSFgoOb3V0c2lkZV9zYWZldHkY",
  44. "AiABKAgiWAoNaW5fbWNwdV9zdGF0dRISCgpkb29yX3N0YXR1GAEgASgFEg8K",
  45. "B2JhY2tfaW8YAiABKAUSEQoJaXNfb2NjdXB5GAMgASgFEg8KB2hlaWdodGgY",
  46. "BCABKAUinAEKE2Rpc3BhdGNoX25vZGVfc3RhdHUSHAoFc3RhdHUYASABKA4y",
  47. "DS5DYXJyaWVyU3RhdHUSFwoPaWRsZV9zdG9wX2Zsb29yGAIgASgFEiYKEXJ1",
  48. "bm5pbmdfcGFja19pbmZvGAMgASgLMgsucGFya190YWJsZRImChFydW5uaW5n",
  49. "X3BpY2tfaW5mbxgEIAEoCzILLnBpY2tfdGFibGUqIAoFU1RBVFUSCwoHZU5v",
  50. "cm1hbBAAEgoKBmVFcnJvchABKjAKDENhcnJpZXJTdGF0dRIJCgVlSWRsZRAA",
  51. "EgkKBWVCdXN5EAESCgoGZUZhdWx0EAJiBnByb3RvMw=="));
  52. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  53. new pbr::FileDescriptor[] { },
  54. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::STATU), typeof(global::CarrierStatu), }, null, new pbr::GeneratedClrTypeInfo[] {
  55. new pbr::GeneratedClrTypeInfo(typeof(global::measure_info), global::measure_info.Parser, new[]{ "Cx", "Cy", "Theta", "Length", "Width", "Height", "Wheelbase", "FrontTheta", "BorderStatu", "GroundStatus" }, null, null, null, null),
  56. new pbr::GeneratedClrTypeInfo(typeof(global::parkspace_info), global::parkspace_info.Parser, new[]{ "Id", "UnitId", "Floor", "RoomId" }, null, null, null, null),
  57. new pbr::GeneratedClrTypeInfo(typeof(global::table_statu), global::table_statu.Parser, new[]{ "ExecuteStatu", "StatuDescription" }, null, null, null, null),
  58. new pbr::GeneratedClrTypeInfo(typeof(global::park_table), global::park_table.Parser, new[]{ "Statu", "QueueId", "CarNumber", "UnitId", "TerminalId", "PrimaryKey", "EntranceMeasureInfo", "AllocatedSpaceInfo", "ActuallyMeasureInfo", "ActuallySpaceInfo" }, null, null, null, null),
  59. new pbr::GeneratedClrTypeInfo(typeof(global::pick_table), global::pick_table.Parser, new[]{ "Statu", "QueueId", "CarNumber", "UnitId", "TerminalId", "PrimaryKey", "ActuallySpaceInfo", "ActuallyMeasureInfo", "ExportId" }, null, null, null, null),
  60. new pbr::GeneratedClrTypeInfo(typeof(global::out_mcpu_statu), global::out_mcpu_statu.Parser, new[]{ "DoorStatu", "OutsideSafety" }, null, null, null, null),
  61. new pbr::GeneratedClrTypeInfo(typeof(global::in_mcpu_statu), global::in_mcpu_statu.Parser, new[]{ "DoorStatu", "BackIo", "IsOccupy", "Heighth" }, null, null, null, null),
  62. new pbr::GeneratedClrTypeInfo(typeof(global::dispatch_node_statu), global::dispatch_node_statu.Parser, new[]{ "Statu", "IdleStopFloor", "RunningPackInfo", "RunningPickInfo" }, null, null, null, null)
  63. }));
  64. }
  65. #endregion
  66. }
  67. #region Enums
  68. public enum STATU {
  69. [pbr::OriginalName("eNormal")] ENormal = 0,
  70. [pbr::OriginalName("eError")] EError = 1,
  71. }
  72. /// <summary>
  73. ///搬运器状态枚举
  74. /// </summary>
  75. public enum CarrierStatu {
  76. [pbr::OriginalName("eIdle")] EIdle = 0,
  77. [pbr::OriginalName("eBusy")] EBusy = 1,
  78. [pbr::OriginalName("eFault")] EFault = 2,
  79. }
  80. #endregion
  81. #region Messages
  82. /// <summary>
  83. ///测量信息
  84. /// </summary>
  85. public sealed partial class measure_info : pb::IMessage<measure_info>
  86. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  87. , pb::IBufferMessage
  88. #endif
  89. {
  90. private static readonly pb::MessageParser<measure_info> _parser = new pb::MessageParser<measure_info>(() => new measure_info());
  91. private pb::UnknownFieldSet _unknownFields;
  92. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  93. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  94. public static pb::MessageParser<measure_info> Parser { get { return _parser; } }
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  96. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  97. public static pbr::MessageDescriptor Descriptor {
  98. get { return global::MessageReflection.Descriptor.MessageTypes[0]; }
  99. }
  100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  101. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  102. pbr::MessageDescriptor pb::IMessage.Descriptor {
  103. get { return Descriptor; }
  104. }
  105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  106. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  107. public measure_info() {
  108. OnConstruction();
  109. }
  110. partial void OnConstruction();
  111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  112. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  113. public measure_info(measure_info other) : this() {
  114. cx_ = other.cx_;
  115. cy_ = other.cy_;
  116. theta_ = other.theta_;
  117. length_ = other.length_;
  118. width_ = other.width_;
  119. height_ = other.height_;
  120. wheelbase_ = other.wheelbase_;
  121. frontTheta_ = other.frontTheta_;
  122. borderStatu_ = other.borderStatu_;
  123. groundStatus_ = other.groundStatus_;
  124. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  125. }
  126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  127. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  128. public measure_info Clone() {
  129. return new measure_info(this);
  130. }
  131. /// <summary>Field number for the "cx" field.</summary>
  132. public const int CxFieldNumber = 1;
  133. private float cx_;
  134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  135. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  136. public float Cx {
  137. get { return cx_; }
  138. set {
  139. cx_ = value;
  140. }
  141. }
  142. /// <summary>Field number for the "cy" field.</summary>
  143. public const int CyFieldNumber = 2;
  144. private float cy_;
  145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  146. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  147. public float Cy {
  148. get { return cy_; }
  149. set {
  150. cy_ = value;
  151. }
  152. }
  153. /// <summary>Field number for the "theta" field.</summary>
  154. public const int ThetaFieldNumber = 3;
  155. private float theta_;
  156. /// <summary>
  157. ///+-4
  158. /// </summary>
  159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  160. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  161. public float Theta {
  162. get { return theta_; }
  163. set {
  164. theta_ = value;
  165. }
  166. }
  167. /// <summary>Field number for the "length" field.</summary>
  168. public const int LengthFieldNumber = 4;
  169. private float length_;
  170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  171. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  172. public float Length {
  173. get { return length_; }
  174. set {
  175. length_ = value;
  176. }
  177. }
  178. /// <summary>Field number for the "width" field.</summary>
  179. public const int WidthFieldNumber = 5;
  180. private float width_;
  181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  182. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  183. public float Width {
  184. get { return width_; }
  185. set {
  186. width_ = value;
  187. }
  188. }
  189. /// <summary>Field number for the "height" field.</summary>
  190. public const int HeightFieldNumber = 6;
  191. private float height_;
  192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  193. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  194. public float Height {
  195. get { return height_; }
  196. set {
  197. height_ = value;
  198. }
  199. }
  200. /// <summary>Field number for the "wheelbase" field.</summary>
  201. public const int WheelbaseFieldNumber = 7;
  202. private float wheelbase_;
  203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  204. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  205. public float Wheelbase {
  206. get { return wheelbase_; }
  207. set {
  208. wheelbase_ = value;
  209. }
  210. }
  211. /// <summary>Field number for the "front_theta" field.</summary>
  212. public const int FrontThetaFieldNumber = 8;
  213. private float frontTheta_;
  214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  215. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  216. public float FrontTheta {
  217. get { return frontTheta_; }
  218. set {
  219. frontTheta_ = value;
  220. }
  221. }
  222. /// <summary>Field number for the "border_statu" field.</summary>
  223. public const int BorderStatuFieldNumber = 9;
  224. private int borderStatu_;
  225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  226. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  227. public int BorderStatu {
  228. get { return borderStatu_; }
  229. set {
  230. borderStatu_ = value;
  231. }
  232. }
  233. /// <summary>Field number for the "ground_status" field.</summary>
  234. public const int GroundStatusFieldNumber = 10;
  235. private int groundStatus_;
  236. /// <summary>
  237. ///0 ok 1,nothing 2,noise 3,border
  238. /// </summary>
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  240. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  241. public int GroundStatus {
  242. get { return groundStatus_; }
  243. set {
  244. groundStatus_ = value;
  245. }
  246. }
  247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  248. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  249. public override bool Equals(object other) {
  250. return Equals(other as measure_info);
  251. }
  252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  253. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  254. public bool Equals(measure_info other) {
  255. if (ReferenceEquals(other, null)) {
  256. return false;
  257. }
  258. if (ReferenceEquals(other, this)) {
  259. return true;
  260. }
  261. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Cx, other.Cx)) return false;
  262. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Cy, other.Cy)) return false;
  263. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Theta, other.Theta)) return false;
  264. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Length, other.Length)) return false;
  265. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
  266. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
  267. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Wheelbase, other.Wheelbase)) return false;
  268. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FrontTheta, other.FrontTheta)) return false;
  269. if (BorderStatu != other.BorderStatu) return false;
  270. if (GroundStatus != other.GroundStatus) return false;
  271. return Equals(_unknownFields, other._unknownFields);
  272. }
  273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  274. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  275. public override int GetHashCode() {
  276. int hash = 1;
  277. if (Cx != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Cx);
  278. if (Cy != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Cy);
  279. if (Theta != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Theta);
  280. if (Length != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Length);
  281. if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
  282. if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
  283. if (Wheelbase != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Wheelbase);
  284. if (FrontTheta != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FrontTheta);
  285. if (BorderStatu != 0) hash ^= BorderStatu.GetHashCode();
  286. if (GroundStatus != 0) hash ^= GroundStatus.GetHashCode();
  287. if (_unknownFields != null) {
  288. hash ^= _unknownFields.GetHashCode();
  289. }
  290. return hash;
  291. }
  292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  293. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  294. public override string ToString() {
  295. return pb::JsonFormatter.ToDiagnosticString(this);
  296. }
  297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  298. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  299. public void WriteTo(pb::CodedOutputStream output) {
  300. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  301. output.WriteRawMessage(this);
  302. #else
  303. if (Cx != 0F) {
  304. output.WriteRawTag(13);
  305. output.WriteFloat(Cx);
  306. }
  307. if (Cy != 0F) {
  308. output.WriteRawTag(21);
  309. output.WriteFloat(Cy);
  310. }
  311. if (Theta != 0F) {
  312. output.WriteRawTag(29);
  313. output.WriteFloat(Theta);
  314. }
  315. if (Length != 0F) {
  316. output.WriteRawTag(37);
  317. output.WriteFloat(Length);
  318. }
  319. if (Width != 0F) {
  320. output.WriteRawTag(45);
  321. output.WriteFloat(Width);
  322. }
  323. if (Height != 0F) {
  324. output.WriteRawTag(53);
  325. output.WriteFloat(Height);
  326. }
  327. if (Wheelbase != 0F) {
  328. output.WriteRawTag(61);
  329. output.WriteFloat(Wheelbase);
  330. }
  331. if (FrontTheta != 0F) {
  332. output.WriteRawTag(69);
  333. output.WriteFloat(FrontTheta);
  334. }
  335. if (BorderStatu != 0) {
  336. output.WriteRawTag(72);
  337. output.WriteInt32(BorderStatu);
  338. }
  339. if (GroundStatus != 0) {
  340. output.WriteRawTag(80);
  341. output.WriteInt32(GroundStatus);
  342. }
  343. if (_unknownFields != null) {
  344. _unknownFields.WriteTo(output);
  345. }
  346. #endif
  347. }
  348. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  350. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  351. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  352. if (Cx != 0F) {
  353. output.WriteRawTag(13);
  354. output.WriteFloat(Cx);
  355. }
  356. if (Cy != 0F) {
  357. output.WriteRawTag(21);
  358. output.WriteFloat(Cy);
  359. }
  360. if (Theta != 0F) {
  361. output.WriteRawTag(29);
  362. output.WriteFloat(Theta);
  363. }
  364. if (Length != 0F) {
  365. output.WriteRawTag(37);
  366. output.WriteFloat(Length);
  367. }
  368. if (Width != 0F) {
  369. output.WriteRawTag(45);
  370. output.WriteFloat(Width);
  371. }
  372. if (Height != 0F) {
  373. output.WriteRawTag(53);
  374. output.WriteFloat(Height);
  375. }
  376. if (Wheelbase != 0F) {
  377. output.WriteRawTag(61);
  378. output.WriteFloat(Wheelbase);
  379. }
  380. if (FrontTheta != 0F) {
  381. output.WriteRawTag(69);
  382. output.WriteFloat(FrontTheta);
  383. }
  384. if (BorderStatu != 0) {
  385. output.WriteRawTag(72);
  386. output.WriteInt32(BorderStatu);
  387. }
  388. if (GroundStatus != 0) {
  389. output.WriteRawTag(80);
  390. output.WriteInt32(GroundStatus);
  391. }
  392. if (_unknownFields != null) {
  393. _unknownFields.WriteTo(ref output);
  394. }
  395. }
  396. #endif
  397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  398. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  399. public int CalculateSize() {
  400. int size = 0;
  401. if (Cx != 0F) {
  402. size += 1 + 4;
  403. }
  404. if (Cy != 0F) {
  405. size += 1 + 4;
  406. }
  407. if (Theta != 0F) {
  408. size += 1 + 4;
  409. }
  410. if (Length != 0F) {
  411. size += 1 + 4;
  412. }
  413. if (Width != 0F) {
  414. size += 1 + 4;
  415. }
  416. if (Height != 0F) {
  417. size += 1 + 4;
  418. }
  419. if (Wheelbase != 0F) {
  420. size += 1 + 4;
  421. }
  422. if (FrontTheta != 0F) {
  423. size += 1 + 4;
  424. }
  425. if (BorderStatu != 0) {
  426. size += 1 + pb::CodedOutputStream.ComputeInt32Size(BorderStatu);
  427. }
  428. if (GroundStatus != 0) {
  429. size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroundStatus);
  430. }
  431. if (_unknownFields != null) {
  432. size += _unknownFields.CalculateSize();
  433. }
  434. return size;
  435. }
  436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  437. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  438. public void MergeFrom(measure_info other) {
  439. if (other == null) {
  440. return;
  441. }
  442. if (other.Cx != 0F) {
  443. Cx = other.Cx;
  444. }
  445. if (other.Cy != 0F) {
  446. Cy = other.Cy;
  447. }
  448. if (other.Theta != 0F) {
  449. Theta = other.Theta;
  450. }
  451. if (other.Length != 0F) {
  452. Length = other.Length;
  453. }
  454. if (other.Width != 0F) {
  455. Width = other.Width;
  456. }
  457. if (other.Height != 0F) {
  458. Height = other.Height;
  459. }
  460. if (other.Wheelbase != 0F) {
  461. Wheelbase = other.Wheelbase;
  462. }
  463. if (other.FrontTheta != 0F) {
  464. FrontTheta = other.FrontTheta;
  465. }
  466. if (other.BorderStatu != 0) {
  467. BorderStatu = other.BorderStatu;
  468. }
  469. if (other.GroundStatus != 0) {
  470. GroundStatus = other.GroundStatus;
  471. }
  472. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  473. }
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  475. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  476. public void MergeFrom(pb::CodedInputStream input) {
  477. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  478. input.ReadRawMessage(this);
  479. #else
  480. uint tag;
  481. while ((tag = input.ReadTag()) != 0) {
  482. switch(tag) {
  483. default:
  484. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  485. break;
  486. case 13: {
  487. Cx = input.ReadFloat();
  488. break;
  489. }
  490. case 21: {
  491. Cy = input.ReadFloat();
  492. break;
  493. }
  494. case 29: {
  495. Theta = input.ReadFloat();
  496. break;
  497. }
  498. case 37: {
  499. Length = input.ReadFloat();
  500. break;
  501. }
  502. case 45: {
  503. Width = input.ReadFloat();
  504. break;
  505. }
  506. case 53: {
  507. Height = input.ReadFloat();
  508. break;
  509. }
  510. case 61: {
  511. Wheelbase = input.ReadFloat();
  512. break;
  513. }
  514. case 69: {
  515. FrontTheta = input.ReadFloat();
  516. break;
  517. }
  518. case 72: {
  519. BorderStatu = input.ReadInt32();
  520. break;
  521. }
  522. case 80: {
  523. GroundStatus = input.ReadInt32();
  524. break;
  525. }
  526. }
  527. }
  528. #endif
  529. }
  530. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  532. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  533. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  534. uint tag;
  535. while ((tag = input.ReadTag()) != 0) {
  536. switch(tag) {
  537. default:
  538. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  539. break;
  540. case 13: {
  541. Cx = input.ReadFloat();
  542. break;
  543. }
  544. case 21: {
  545. Cy = input.ReadFloat();
  546. break;
  547. }
  548. case 29: {
  549. Theta = input.ReadFloat();
  550. break;
  551. }
  552. case 37: {
  553. Length = input.ReadFloat();
  554. break;
  555. }
  556. case 45: {
  557. Width = input.ReadFloat();
  558. break;
  559. }
  560. case 53: {
  561. Height = input.ReadFloat();
  562. break;
  563. }
  564. case 61: {
  565. Wheelbase = input.ReadFloat();
  566. break;
  567. }
  568. case 69: {
  569. FrontTheta = input.ReadFloat();
  570. break;
  571. }
  572. case 72: {
  573. BorderStatu = input.ReadInt32();
  574. break;
  575. }
  576. case 80: {
  577. GroundStatus = input.ReadInt32();
  578. break;
  579. }
  580. }
  581. }
  582. }
  583. #endif
  584. }
  585. /// <summary>
  586. ///分配的车位信息
  587. /// </summary>
  588. public sealed partial class parkspace_info : pb::IMessage<parkspace_info>
  589. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  590. , pb::IBufferMessage
  591. #endif
  592. {
  593. private static readonly pb::MessageParser<parkspace_info> _parser = new pb::MessageParser<parkspace_info>(() => new parkspace_info());
  594. private pb::UnknownFieldSet _unknownFields;
  595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  596. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  597. public static pb::MessageParser<parkspace_info> Parser { get { return _parser; } }
  598. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  599. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  600. public static pbr::MessageDescriptor Descriptor {
  601. get { return global::MessageReflection.Descriptor.MessageTypes[1]; }
  602. }
  603. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  604. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  605. pbr::MessageDescriptor pb::IMessage.Descriptor {
  606. get { return Descriptor; }
  607. }
  608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  609. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  610. public parkspace_info() {
  611. OnConstruction();
  612. }
  613. partial void OnConstruction();
  614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  615. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  616. public parkspace_info(parkspace_info other) : this() {
  617. id_ = other.id_;
  618. unitId_ = other.unitId_;
  619. floor_ = other.floor_;
  620. roomId_ = other.roomId_;
  621. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  622. }
  623. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  624. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  625. public parkspace_info Clone() {
  626. return new parkspace_info(this);
  627. }
  628. /// <summary>Field number for the "id" field.</summary>
  629. public const int IdFieldNumber = 1;
  630. private int id_;
  631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  632. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  633. public int Id {
  634. get { return id_; }
  635. set {
  636. id_ = value;
  637. }
  638. }
  639. /// <summary>Field number for the "unit_id" field.</summary>
  640. public const int UnitIdFieldNumber = 2;
  641. private int unitId_;
  642. /// <summary>
  643. ///单元号
  644. /// </summary>
  645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  646. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  647. public int UnitId {
  648. get { return unitId_; }
  649. set {
  650. unitId_ = value;
  651. }
  652. }
  653. /// <summary>Field number for the "floor" field.</summary>
  654. public const int FloorFieldNumber = 3;
  655. private int floor_;
  656. /// <summary>
  657. ///楼层号
  658. /// </summary>
  659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  660. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  661. public int Floor {
  662. get { return floor_; }
  663. set {
  664. floor_ = value;
  665. }
  666. }
  667. /// <summary>Field number for the "room_id" field.</summary>
  668. public const int RoomIdFieldNumber = 4;
  669. private int roomId_;
  670. /// <summary>
  671. ///同层编号
  672. /// </summary>
  673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  674. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  675. public int RoomId {
  676. get { return roomId_; }
  677. set {
  678. roomId_ = value;
  679. }
  680. }
  681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  682. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  683. public override bool Equals(object other) {
  684. return Equals(other as parkspace_info);
  685. }
  686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  687. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  688. public bool Equals(parkspace_info other) {
  689. if (ReferenceEquals(other, null)) {
  690. return false;
  691. }
  692. if (ReferenceEquals(other, this)) {
  693. return true;
  694. }
  695. if (Id != other.Id) return false;
  696. if (UnitId != other.UnitId) return false;
  697. if (Floor != other.Floor) return false;
  698. if (RoomId != other.RoomId) return false;
  699. return Equals(_unknownFields, other._unknownFields);
  700. }
  701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  702. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  703. public override int GetHashCode() {
  704. int hash = 1;
  705. if (Id != 0) hash ^= Id.GetHashCode();
  706. if (UnitId != 0) hash ^= UnitId.GetHashCode();
  707. if (Floor != 0) hash ^= Floor.GetHashCode();
  708. if (RoomId != 0) hash ^= RoomId.GetHashCode();
  709. if (_unknownFields != null) {
  710. hash ^= _unknownFields.GetHashCode();
  711. }
  712. return hash;
  713. }
  714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  715. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  716. public override string ToString() {
  717. return pb::JsonFormatter.ToDiagnosticString(this);
  718. }
  719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  720. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  721. public void WriteTo(pb::CodedOutputStream output) {
  722. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  723. output.WriteRawMessage(this);
  724. #else
  725. if (Id != 0) {
  726. output.WriteRawTag(8);
  727. output.WriteInt32(Id);
  728. }
  729. if (UnitId != 0) {
  730. output.WriteRawTag(16);
  731. output.WriteInt32(UnitId);
  732. }
  733. if (Floor != 0) {
  734. output.WriteRawTag(24);
  735. output.WriteInt32(Floor);
  736. }
  737. if (RoomId != 0) {
  738. output.WriteRawTag(32);
  739. output.WriteInt32(RoomId);
  740. }
  741. if (_unknownFields != null) {
  742. _unknownFields.WriteTo(output);
  743. }
  744. #endif
  745. }
  746. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  748. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  749. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  750. if (Id != 0) {
  751. output.WriteRawTag(8);
  752. output.WriteInt32(Id);
  753. }
  754. if (UnitId != 0) {
  755. output.WriteRawTag(16);
  756. output.WriteInt32(UnitId);
  757. }
  758. if (Floor != 0) {
  759. output.WriteRawTag(24);
  760. output.WriteInt32(Floor);
  761. }
  762. if (RoomId != 0) {
  763. output.WriteRawTag(32);
  764. output.WriteInt32(RoomId);
  765. }
  766. if (_unknownFields != null) {
  767. _unknownFields.WriteTo(ref output);
  768. }
  769. }
  770. #endif
  771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  772. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  773. public int CalculateSize() {
  774. int size = 0;
  775. if (Id != 0) {
  776. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
  777. }
  778. if (UnitId != 0) {
  779. size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnitId);
  780. }
  781. if (Floor != 0) {
  782. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Floor);
  783. }
  784. if (RoomId != 0) {
  785. size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomId);
  786. }
  787. if (_unknownFields != null) {
  788. size += _unknownFields.CalculateSize();
  789. }
  790. return size;
  791. }
  792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  793. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  794. public void MergeFrom(parkspace_info other) {
  795. if (other == null) {
  796. return;
  797. }
  798. if (other.Id != 0) {
  799. Id = other.Id;
  800. }
  801. if (other.UnitId != 0) {
  802. UnitId = other.UnitId;
  803. }
  804. if (other.Floor != 0) {
  805. Floor = other.Floor;
  806. }
  807. if (other.RoomId != 0) {
  808. RoomId = other.RoomId;
  809. }
  810. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  811. }
  812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  813. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  814. public void MergeFrom(pb::CodedInputStream input) {
  815. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  816. input.ReadRawMessage(this);
  817. #else
  818. uint tag;
  819. while ((tag = input.ReadTag()) != 0) {
  820. switch(tag) {
  821. default:
  822. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  823. break;
  824. case 8: {
  825. Id = input.ReadInt32();
  826. break;
  827. }
  828. case 16: {
  829. UnitId = input.ReadInt32();
  830. break;
  831. }
  832. case 24: {
  833. Floor = input.ReadInt32();
  834. break;
  835. }
  836. case 32: {
  837. RoomId = input.ReadInt32();
  838. break;
  839. }
  840. }
  841. }
  842. #endif
  843. }
  844. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  846. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  847. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  848. uint tag;
  849. while ((tag = input.ReadTag()) != 0) {
  850. switch(tag) {
  851. default:
  852. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  853. break;
  854. case 8: {
  855. Id = input.ReadInt32();
  856. break;
  857. }
  858. case 16: {
  859. UnitId = input.ReadInt32();
  860. break;
  861. }
  862. case 24: {
  863. Floor = input.ReadInt32();
  864. break;
  865. }
  866. case 32: {
  867. RoomId = input.ReadInt32();
  868. break;
  869. }
  870. }
  871. }
  872. }
  873. #endif
  874. }
  875. /// <summary>
  876. ///
  877. ///表单执行状态
  878. /// </summary>
  879. public sealed partial class table_statu : pb::IMessage<table_statu>
  880. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  881. , pb::IBufferMessage
  882. #endif
  883. {
  884. private static readonly pb::MessageParser<table_statu> _parser = new pb::MessageParser<table_statu>(() => new table_statu());
  885. private pb::UnknownFieldSet _unknownFields;
  886. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  887. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  888. public static pb::MessageParser<table_statu> Parser { get { return _parser; } }
  889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  890. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  891. public static pbr::MessageDescriptor Descriptor {
  892. get { return global::MessageReflection.Descriptor.MessageTypes[2]; }
  893. }
  894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  895. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  896. pbr::MessageDescriptor pb::IMessage.Descriptor {
  897. get { return Descriptor; }
  898. }
  899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  900. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  901. public table_statu() {
  902. OnConstruction();
  903. }
  904. partial void OnConstruction();
  905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  906. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  907. public table_statu(table_statu other) : this() {
  908. executeStatu_ = other.executeStatu_;
  909. statuDescription_ = other.statuDescription_;
  910. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  911. }
  912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  913. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  914. public table_statu Clone() {
  915. return new table_statu(this);
  916. }
  917. /// <summary>Field number for the "execute_statu" field.</summary>
  918. public const int ExecuteStatuFieldNumber = 1;
  919. private global::STATU executeStatu_ = global::STATU.ENormal;
  920. /// <summary>
  921. ///执行状态
  922. /// </summary>
  923. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  924. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  925. public global::STATU ExecuteStatu {
  926. get { return executeStatu_; }
  927. set {
  928. executeStatu_ = value;
  929. }
  930. }
  931. /// <summary>Field number for the "statu_description" field.</summary>
  932. public const int StatuDescriptionFieldNumber = 2;
  933. private string statuDescription_ = "";
  934. /// <summary>
  935. ///状态描述
  936. /// </summary>
  937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  938. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  939. public string StatuDescription {
  940. get { return statuDescription_; }
  941. set {
  942. statuDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  943. }
  944. }
  945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  946. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  947. public override bool Equals(object other) {
  948. return Equals(other as table_statu);
  949. }
  950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  951. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  952. public bool Equals(table_statu other) {
  953. if (ReferenceEquals(other, null)) {
  954. return false;
  955. }
  956. if (ReferenceEquals(other, this)) {
  957. return true;
  958. }
  959. if (ExecuteStatu != other.ExecuteStatu) return false;
  960. if (StatuDescription != other.StatuDescription) return false;
  961. return Equals(_unknownFields, other._unknownFields);
  962. }
  963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  964. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  965. public override int GetHashCode() {
  966. int hash = 1;
  967. if (ExecuteStatu != global::STATU.ENormal) hash ^= ExecuteStatu.GetHashCode();
  968. if (StatuDescription.Length != 0) hash ^= StatuDescription.GetHashCode();
  969. if (_unknownFields != null) {
  970. hash ^= _unknownFields.GetHashCode();
  971. }
  972. return hash;
  973. }
  974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  975. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  976. public override string ToString() {
  977. return pb::JsonFormatter.ToDiagnosticString(this);
  978. }
  979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  980. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  981. public void WriteTo(pb::CodedOutputStream output) {
  982. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  983. output.WriteRawMessage(this);
  984. #else
  985. if (ExecuteStatu != global::STATU.ENormal) {
  986. output.WriteRawTag(8);
  987. output.WriteEnum((int) ExecuteStatu);
  988. }
  989. if (StatuDescription.Length != 0) {
  990. output.WriteRawTag(18);
  991. output.WriteString(StatuDescription);
  992. }
  993. if (_unknownFields != null) {
  994. _unknownFields.WriteTo(output);
  995. }
  996. #endif
  997. }
  998. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1000. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1001. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1002. if (ExecuteStatu != global::STATU.ENormal) {
  1003. output.WriteRawTag(8);
  1004. output.WriteEnum((int) ExecuteStatu);
  1005. }
  1006. if (StatuDescription.Length != 0) {
  1007. output.WriteRawTag(18);
  1008. output.WriteString(StatuDescription);
  1009. }
  1010. if (_unknownFields != null) {
  1011. _unknownFields.WriteTo(ref output);
  1012. }
  1013. }
  1014. #endif
  1015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1016. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1017. public int CalculateSize() {
  1018. int size = 0;
  1019. if (ExecuteStatu != global::STATU.ENormal) {
  1020. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExecuteStatu);
  1021. }
  1022. if (StatuDescription.Length != 0) {
  1023. size += 1 + pb::CodedOutputStream.ComputeStringSize(StatuDescription);
  1024. }
  1025. if (_unknownFields != null) {
  1026. size += _unknownFields.CalculateSize();
  1027. }
  1028. return size;
  1029. }
  1030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1031. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1032. public void MergeFrom(table_statu other) {
  1033. if (other == null) {
  1034. return;
  1035. }
  1036. if (other.ExecuteStatu != global::STATU.ENormal) {
  1037. ExecuteStatu = other.ExecuteStatu;
  1038. }
  1039. if (other.StatuDescription.Length != 0) {
  1040. StatuDescription = other.StatuDescription;
  1041. }
  1042. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1043. }
  1044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1045. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1046. public void MergeFrom(pb::CodedInputStream input) {
  1047. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1048. input.ReadRawMessage(this);
  1049. #else
  1050. uint tag;
  1051. while ((tag = input.ReadTag()) != 0) {
  1052. switch(tag) {
  1053. default:
  1054. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1055. break;
  1056. case 8: {
  1057. ExecuteStatu = (global::STATU) input.ReadEnum();
  1058. break;
  1059. }
  1060. case 18: {
  1061. StatuDescription = input.ReadString();
  1062. break;
  1063. }
  1064. }
  1065. }
  1066. #endif
  1067. }
  1068. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1070. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1071. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1072. uint tag;
  1073. while ((tag = input.ReadTag()) != 0) {
  1074. switch(tag) {
  1075. default:
  1076. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1077. break;
  1078. case 8: {
  1079. ExecuteStatu = (global::STATU) input.ReadEnum();
  1080. break;
  1081. }
  1082. case 18: {
  1083. StatuDescription = input.ReadString();
  1084. break;
  1085. }
  1086. }
  1087. }
  1088. }
  1089. #endif
  1090. }
  1091. /// <summary>
  1092. ///
  1093. ///停车表单
  1094. /// </summary>
  1095. public sealed partial class park_table : pb::IMessage<park_table>
  1096. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1097. , pb::IBufferMessage
  1098. #endif
  1099. {
  1100. private static readonly pb::MessageParser<park_table> _parser = new pb::MessageParser<park_table>(() => new park_table());
  1101. private pb::UnknownFieldSet _unknownFields;
  1102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1103. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1104. public static pb::MessageParser<park_table> Parser { get { return _parser; } }
  1105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1106. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1107. public static pbr::MessageDescriptor Descriptor {
  1108. get { return global::MessageReflection.Descriptor.MessageTypes[3]; }
  1109. }
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1111. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1112. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1113. get { return Descriptor; }
  1114. }
  1115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1116. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1117. public park_table() {
  1118. OnConstruction();
  1119. }
  1120. partial void OnConstruction();
  1121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1122. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1123. public park_table(park_table other) : this() {
  1124. statu_ = other.statu_ != null ? other.statu_.Clone() : null;
  1125. queueId_ = other.queueId_;
  1126. carNumber_ = other.carNumber_;
  1127. unitId_ = other.unitId_;
  1128. terminalId_ = other.terminalId_;
  1129. primaryKey_ = other.primaryKey_;
  1130. entranceMeasureInfo_ = other.entranceMeasureInfo_ != null ? other.entranceMeasureInfo_.Clone() : null;
  1131. allocatedSpaceInfo_ = other.allocatedSpaceInfo_ != null ? other.allocatedSpaceInfo_.Clone() : null;
  1132. actuallyMeasureInfo_ = other.actuallyMeasureInfo_ != null ? other.actuallyMeasureInfo_.Clone() : null;
  1133. actuallySpaceInfo_ = other.actuallySpaceInfo_ != null ? other.actuallySpaceInfo_.Clone() : null;
  1134. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1135. }
  1136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1137. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1138. public park_table Clone() {
  1139. return new park_table(this);
  1140. }
  1141. /// <summary>Field number for the "statu" field.</summary>
  1142. public const int StatuFieldNumber = 1;
  1143. private global::table_statu statu_;
  1144. /// <summary>
  1145. ///表单状态
  1146. /// </summary>
  1147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1148. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1149. public global::table_statu Statu {
  1150. get { return statu_; }
  1151. set {
  1152. statu_ = value;
  1153. }
  1154. }
  1155. /// <summary>Field number for the "queue_id" field.</summary>
  1156. public const int QueueIdFieldNumber = 2;
  1157. private int queueId_;
  1158. /// <summary>
  1159. ///指令排队编号
  1160. /// </summary>
  1161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1162. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1163. public int QueueId {
  1164. get { return queueId_; }
  1165. set {
  1166. queueId_ = value;
  1167. }
  1168. }
  1169. /// <summary>Field number for the "car_number" field.</summary>
  1170. public const int CarNumberFieldNumber = 3;
  1171. private string carNumber_ = "";
  1172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1173. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1174. public string CarNumber {
  1175. get { return carNumber_; }
  1176. set {
  1177. carNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1178. }
  1179. }
  1180. /// <summary>Field number for the "unit_id" field.</summary>
  1181. public const int UnitIdFieldNumber = 4;
  1182. private int unitId_;
  1183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1184. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1185. public int UnitId {
  1186. get { return unitId_; }
  1187. set {
  1188. unitId_ = value;
  1189. }
  1190. }
  1191. /// <summary>Field number for the "terminal_id" field.</summary>
  1192. public const int TerminalIdFieldNumber = 5;
  1193. private int terminalId_;
  1194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1195. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1196. public int TerminalId {
  1197. get { return terminalId_; }
  1198. set {
  1199. terminalId_ = value;
  1200. }
  1201. }
  1202. /// <summary>Field number for the "primary_key" field.</summary>
  1203. public const int PrimaryKeyFieldNumber = 6;
  1204. private string primaryKey_ = "";
  1205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1206. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1207. public string PrimaryKey {
  1208. get { return primaryKey_; }
  1209. set {
  1210. primaryKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1211. }
  1212. }
  1213. /// <summary>Field number for the "entrance_measure_info" field.</summary>
  1214. public const int EntranceMeasureInfoFieldNumber = 7;
  1215. private global::measure_info entranceMeasureInfo_;
  1216. /// <summary>
  1217. ///入口测量信息
  1218. /// </summary>
  1219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1220. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1221. public global::measure_info EntranceMeasureInfo {
  1222. get { return entranceMeasureInfo_; }
  1223. set {
  1224. entranceMeasureInfo_ = value;
  1225. }
  1226. }
  1227. /// <summary>Field number for the "allocated_space_info" field.</summary>
  1228. public const int AllocatedSpaceInfoFieldNumber = 8;
  1229. private global::parkspace_info allocatedSpaceInfo_;
  1230. /// <summary>
  1231. ///分配的车位信息
  1232. /// </summary>
  1233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1234. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1235. public global::parkspace_info AllocatedSpaceInfo {
  1236. get { return allocatedSpaceInfo_; }
  1237. set {
  1238. allocatedSpaceInfo_ = value;
  1239. }
  1240. }
  1241. /// <summary>Field number for the "actually_measure_info" field.</summary>
  1242. public const int ActuallyMeasureInfoFieldNumber = 9;
  1243. private global::measure_info actuallyMeasureInfo_;
  1244. /// <summary>
  1245. ///实际测量信息或者叫二次测量信息
  1246. /// </summary>
  1247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1248. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1249. public global::measure_info ActuallyMeasureInfo {
  1250. get { return actuallyMeasureInfo_; }
  1251. set {
  1252. actuallyMeasureInfo_ = value;
  1253. }
  1254. }
  1255. /// <summary>Field number for the "actually_space_info" field.</summary>
  1256. public const int ActuallySpaceInfoFieldNumber = 10;
  1257. private global::parkspace_info actuallySpaceInfo_;
  1258. /// <summary>
  1259. ///实际停放的车位
  1260. /// </summary>
  1261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1262. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1263. public global::parkspace_info ActuallySpaceInfo {
  1264. get { return actuallySpaceInfo_; }
  1265. set {
  1266. actuallySpaceInfo_ = value;
  1267. }
  1268. }
  1269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1270. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1271. public override bool Equals(object other) {
  1272. return Equals(other as park_table);
  1273. }
  1274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1275. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1276. public bool Equals(park_table other) {
  1277. if (ReferenceEquals(other, null)) {
  1278. return false;
  1279. }
  1280. if (ReferenceEquals(other, this)) {
  1281. return true;
  1282. }
  1283. if (!object.Equals(Statu, other.Statu)) return false;
  1284. if (QueueId != other.QueueId) return false;
  1285. if (CarNumber != other.CarNumber) return false;
  1286. if (UnitId != other.UnitId) return false;
  1287. if (TerminalId != other.TerminalId) return false;
  1288. if (PrimaryKey != other.PrimaryKey) return false;
  1289. if (!object.Equals(EntranceMeasureInfo, other.EntranceMeasureInfo)) return false;
  1290. if (!object.Equals(AllocatedSpaceInfo, other.AllocatedSpaceInfo)) return false;
  1291. if (!object.Equals(ActuallyMeasureInfo, other.ActuallyMeasureInfo)) return false;
  1292. if (!object.Equals(ActuallySpaceInfo, other.ActuallySpaceInfo)) return false;
  1293. return Equals(_unknownFields, other._unknownFields);
  1294. }
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1297. public override int GetHashCode() {
  1298. int hash = 1;
  1299. if (statu_ != null) hash ^= Statu.GetHashCode();
  1300. if (QueueId != 0) hash ^= QueueId.GetHashCode();
  1301. if (CarNumber.Length != 0) hash ^= CarNumber.GetHashCode();
  1302. if (UnitId != 0) hash ^= UnitId.GetHashCode();
  1303. if (TerminalId != 0) hash ^= TerminalId.GetHashCode();
  1304. if (PrimaryKey.Length != 0) hash ^= PrimaryKey.GetHashCode();
  1305. if (entranceMeasureInfo_ != null) hash ^= EntranceMeasureInfo.GetHashCode();
  1306. if (allocatedSpaceInfo_ != null) hash ^= AllocatedSpaceInfo.GetHashCode();
  1307. if (actuallyMeasureInfo_ != null) hash ^= ActuallyMeasureInfo.GetHashCode();
  1308. if (actuallySpaceInfo_ != null) hash ^= ActuallySpaceInfo.GetHashCode();
  1309. if (_unknownFields != null) {
  1310. hash ^= _unknownFields.GetHashCode();
  1311. }
  1312. return hash;
  1313. }
  1314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1315. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1316. public override string ToString() {
  1317. return pb::JsonFormatter.ToDiagnosticString(this);
  1318. }
  1319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1320. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1321. public void WriteTo(pb::CodedOutputStream output) {
  1322. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1323. output.WriteRawMessage(this);
  1324. #else
  1325. if (statu_ != null) {
  1326. output.WriteRawTag(10);
  1327. output.WriteMessage(Statu);
  1328. }
  1329. if (QueueId != 0) {
  1330. output.WriteRawTag(16);
  1331. output.WriteInt32(QueueId);
  1332. }
  1333. if (CarNumber.Length != 0) {
  1334. output.WriteRawTag(26);
  1335. output.WriteString(CarNumber);
  1336. }
  1337. if (UnitId != 0) {
  1338. output.WriteRawTag(32);
  1339. output.WriteInt32(UnitId);
  1340. }
  1341. if (TerminalId != 0) {
  1342. output.WriteRawTag(40);
  1343. output.WriteInt32(TerminalId);
  1344. }
  1345. if (PrimaryKey.Length != 0) {
  1346. output.WriteRawTag(50);
  1347. output.WriteString(PrimaryKey);
  1348. }
  1349. if (entranceMeasureInfo_ != null) {
  1350. output.WriteRawTag(58);
  1351. output.WriteMessage(EntranceMeasureInfo);
  1352. }
  1353. if (allocatedSpaceInfo_ != null) {
  1354. output.WriteRawTag(66);
  1355. output.WriteMessage(AllocatedSpaceInfo);
  1356. }
  1357. if (actuallyMeasureInfo_ != null) {
  1358. output.WriteRawTag(74);
  1359. output.WriteMessage(ActuallyMeasureInfo);
  1360. }
  1361. if (actuallySpaceInfo_ != null) {
  1362. output.WriteRawTag(82);
  1363. output.WriteMessage(ActuallySpaceInfo);
  1364. }
  1365. if (_unknownFields != null) {
  1366. _unknownFields.WriteTo(output);
  1367. }
  1368. #endif
  1369. }
  1370. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1372. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1373. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1374. if (statu_ != null) {
  1375. output.WriteRawTag(10);
  1376. output.WriteMessage(Statu);
  1377. }
  1378. if (QueueId != 0) {
  1379. output.WriteRawTag(16);
  1380. output.WriteInt32(QueueId);
  1381. }
  1382. if (CarNumber.Length != 0) {
  1383. output.WriteRawTag(26);
  1384. output.WriteString(CarNumber);
  1385. }
  1386. if (UnitId != 0) {
  1387. output.WriteRawTag(32);
  1388. output.WriteInt32(UnitId);
  1389. }
  1390. if (TerminalId != 0) {
  1391. output.WriteRawTag(40);
  1392. output.WriteInt32(TerminalId);
  1393. }
  1394. if (PrimaryKey.Length != 0) {
  1395. output.WriteRawTag(50);
  1396. output.WriteString(PrimaryKey);
  1397. }
  1398. if (entranceMeasureInfo_ != null) {
  1399. output.WriteRawTag(58);
  1400. output.WriteMessage(EntranceMeasureInfo);
  1401. }
  1402. if (allocatedSpaceInfo_ != null) {
  1403. output.WriteRawTag(66);
  1404. output.WriteMessage(AllocatedSpaceInfo);
  1405. }
  1406. if (actuallyMeasureInfo_ != null) {
  1407. output.WriteRawTag(74);
  1408. output.WriteMessage(ActuallyMeasureInfo);
  1409. }
  1410. if (actuallySpaceInfo_ != null) {
  1411. output.WriteRawTag(82);
  1412. output.WriteMessage(ActuallySpaceInfo);
  1413. }
  1414. if (_unknownFields != null) {
  1415. _unknownFields.WriteTo(ref output);
  1416. }
  1417. }
  1418. #endif
  1419. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1420. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1421. public int CalculateSize() {
  1422. int size = 0;
  1423. if (statu_ != null) {
  1424. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Statu);
  1425. }
  1426. if (QueueId != 0) {
  1427. size += 1 + pb::CodedOutputStream.ComputeInt32Size(QueueId);
  1428. }
  1429. if (CarNumber.Length != 0) {
  1430. size += 1 + pb::CodedOutputStream.ComputeStringSize(CarNumber);
  1431. }
  1432. if (UnitId != 0) {
  1433. size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnitId);
  1434. }
  1435. if (TerminalId != 0) {
  1436. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  1437. }
  1438. if (PrimaryKey.Length != 0) {
  1439. size += 1 + pb::CodedOutputStream.ComputeStringSize(PrimaryKey);
  1440. }
  1441. if (entranceMeasureInfo_ != null) {
  1442. size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntranceMeasureInfo);
  1443. }
  1444. if (allocatedSpaceInfo_ != null) {
  1445. size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllocatedSpaceInfo);
  1446. }
  1447. if (actuallyMeasureInfo_ != null) {
  1448. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActuallyMeasureInfo);
  1449. }
  1450. if (actuallySpaceInfo_ != null) {
  1451. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActuallySpaceInfo);
  1452. }
  1453. if (_unknownFields != null) {
  1454. size += _unknownFields.CalculateSize();
  1455. }
  1456. return size;
  1457. }
  1458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1459. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1460. public void MergeFrom(park_table other) {
  1461. if (other == null) {
  1462. return;
  1463. }
  1464. if (other.statu_ != null) {
  1465. if (statu_ == null) {
  1466. Statu = new global::table_statu();
  1467. }
  1468. Statu.MergeFrom(other.Statu);
  1469. }
  1470. if (other.QueueId != 0) {
  1471. QueueId = other.QueueId;
  1472. }
  1473. if (other.CarNumber.Length != 0) {
  1474. CarNumber = other.CarNumber;
  1475. }
  1476. if (other.UnitId != 0) {
  1477. UnitId = other.UnitId;
  1478. }
  1479. if (other.TerminalId != 0) {
  1480. TerminalId = other.TerminalId;
  1481. }
  1482. if (other.PrimaryKey.Length != 0) {
  1483. PrimaryKey = other.PrimaryKey;
  1484. }
  1485. if (other.entranceMeasureInfo_ != null) {
  1486. if (entranceMeasureInfo_ == null) {
  1487. EntranceMeasureInfo = new global::measure_info();
  1488. }
  1489. EntranceMeasureInfo.MergeFrom(other.EntranceMeasureInfo);
  1490. }
  1491. if (other.allocatedSpaceInfo_ != null) {
  1492. if (allocatedSpaceInfo_ == null) {
  1493. AllocatedSpaceInfo = new global::parkspace_info();
  1494. }
  1495. AllocatedSpaceInfo.MergeFrom(other.AllocatedSpaceInfo);
  1496. }
  1497. if (other.actuallyMeasureInfo_ != null) {
  1498. if (actuallyMeasureInfo_ == null) {
  1499. ActuallyMeasureInfo = new global::measure_info();
  1500. }
  1501. ActuallyMeasureInfo.MergeFrom(other.ActuallyMeasureInfo);
  1502. }
  1503. if (other.actuallySpaceInfo_ != null) {
  1504. if (actuallySpaceInfo_ == null) {
  1505. ActuallySpaceInfo = new global::parkspace_info();
  1506. }
  1507. ActuallySpaceInfo.MergeFrom(other.ActuallySpaceInfo);
  1508. }
  1509. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1510. }
  1511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1512. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1513. public void MergeFrom(pb::CodedInputStream input) {
  1514. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1515. input.ReadRawMessage(this);
  1516. #else
  1517. uint tag;
  1518. while ((tag = input.ReadTag()) != 0) {
  1519. switch(tag) {
  1520. default:
  1521. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1522. break;
  1523. case 10: {
  1524. if (statu_ == null) {
  1525. Statu = new global::table_statu();
  1526. }
  1527. input.ReadMessage(Statu);
  1528. break;
  1529. }
  1530. case 16: {
  1531. QueueId = input.ReadInt32();
  1532. break;
  1533. }
  1534. case 26: {
  1535. CarNumber = input.ReadString();
  1536. break;
  1537. }
  1538. case 32: {
  1539. UnitId = input.ReadInt32();
  1540. break;
  1541. }
  1542. case 40: {
  1543. TerminalId = input.ReadInt32();
  1544. break;
  1545. }
  1546. case 50: {
  1547. PrimaryKey = input.ReadString();
  1548. break;
  1549. }
  1550. case 58: {
  1551. if (entranceMeasureInfo_ == null) {
  1552. EntranceMeasureInfo = new global::measure_info();
  1553. }
  1554. input.ReadMessage(EntranceMeasureInfo);
  1555. break;
  1556. }
  1557. case 66: {
  1558. if (allocatedSpaceInfo_ == null) {
  1559. AllocatedSpaceInfo = new global::parkspace_info();
  1560. }
  1561. input.ReadMessage(AllocatedSpaceInfo);
  1562. break;
  1563. }
  1564. case 74: {
  1565. if (actuallyMeasureInfo_ == null) {
  1566. ActuallyMeasureInfo = new global::measure_info();
  1567. }
  1568. input.ReadMessage(ActuallyMeasureInfo);
  1569. break;
  1570. }
  1571. case 82: {
  1572. if (actuallySpaceInfo_ == null) {
  1573. ActuallySpaceInfo = new global::parkspace_info();
  1574. }
  1575. input.ReadMessage(ActuallySpaceInfo);
  1576. break;
  1577. }
  1578. }
  1579. }
  1580. #endif
  1581. }
  1582. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1584. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1585. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1586. uint tag;
  1587. while ((tag = input.ReadTag()) != 0) {
  1588. switch(tag) {
  1589. default:
  1590. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1591. break;
  1592. case 10: {
  1593. if (statu_ == null) {
  1594. Statu = new global::table_statu();
  1595. }
  1596. input.ReadMessage(Statu);
  1597. break;
  1598. }
  1599. case 16: {
  1600. QueueId = input.ReadInt32();
  1601. break;
  1602. }
  1603. case 26: {
  1604. CarNumber = input.ReadString();
  1605. break;
  1606. }
  1607. case 32: {
  1608. UnitId = input.ReadInt32();
  1609. break;
  1610. }
  1611. case 40: {
  1612. TerminalId = input.ReadInt32();
  1613. break;
  1614. }
  1615. case 50: {
  1616. PrimaryKey = input.ReadString();
  1617. break;
  1618. }
  1619. case 58: {
  1620. if (entranceMeasureInfo_ == null) {
  1621. EntranceMeasureInfo = new global::measure_info();
  1622. }
  1623. input.ReadMessage(EntranceMeasureInfo);
  1624. break;
  1625. }
  1626. case 66: {
  1627. if (allocatedSpaceInfo_ == null) {
  1628. AllocatedSpaceInfo = new global::parkspace_info();
  1629. }
  1630. input.ReadMessage(AllocatedSpaceInfo);
  1631. break;
  1632. }
  1633. case 74: {
  1634. if (actuallyMeasureInfo_ == null) {
  1635. ActuallyMeasureInfo = new global::measure_info();
  1636. }
  1637. input.ReadMessage(ActuallyMeasureInfo);
  1638. break;
  1639. }
  1640. case 82: {
  1641. if (actuallySpaceInfo_ == null) {
  1642. ActuallySpaceInfo = new global::parkspace_info();
  1643. }
  1644. input.ReadMessage(ActuallySpaceInfo);
  1645. break;
  1646. }
  1647. }
  1648. }
  1649. }
  1650. #endif
  1651. }
  1652. /// <summary>
  1653. ///
  1654. ///取车表单
  1655. /// </summary>
  1656. public sealed partial class pick_table : pb::IMessage<pick_table>
  1657. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1658. , pb::IBufferMessage
  1659. #endif
  1660. {
  1661. private static readonly pb::MessageParser<pick_table> _parser = new pb::MessageParser<pick_table>(() => new pick_table());
  1662. private pb::UnknownFieldSet _unknownFields;
  1663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1664. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1665. public static pb::MessageParser<pick_table> Parser { get { return _parser; } }
  1666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1667. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1668. public static pbr::MessageDescriptor Descriptor {
  1669. get { return global::MessageReflection.Descriptor.MessageTypes[4]; }
  1670. }
  1671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1672. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1673. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1674. get { return Descriptor; }
  1675. }
  1676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1677. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1678. public pick_table() {
  1679. OnConstruction();
  1680. }
  1681. partial void OnConstruction();
  1682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1683. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1684. public pick_table(pick_table other) : this() {
  1685. statu_ = other.statu_ != null ? other.statu_.Clone() : null;
  1686. queueId_ = other.queueId_;
  1687. carNumber_ = other.carNumber_;
  1688. unitId_ = other.unitId_;
  1689. terminalId_ = other.terminalId_;
  1690. primaryKey_ = other.primaryKey_;
  1691. actuallySpaceInfo_ = other.actuallySpaceInfo_ != null ? other.actuallySpaceInfo_.Clone() : null;
  1692. actuallyMeasureInfo_ = other.actuallyMeasureInfo_ != null ? other.actuallyMeasureInfo_.Clone() : null;
  1693. exportId_ = other.exportId_;
  1694. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1695. }
  1696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1697. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1698. public pick_table Clone() {
  1699. return new pick_table(this);
  1700. }
  1701. /// <summary>Field number for the "statu" field.</summary>
  1702. public const int StatuFieldNumber = 1;
  1703. private global::table_statu statu_;
  1704. /// <summary>
  1705. ///表单状态
  1706. /// </summary>
  1707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1708. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1709. public global::table_statu Statu {
  1710. get { return statu_; }
  1711. set {
  1712. statu_ = value;
  1713. }
  1714. }
  1715. /// <summary>Field number for the "queue_id" field.</summary>
  1716. public const int QueueIdFieldNumber = 2;
  1717. private int queueId_;
  1718. /// <summary>
  1719. ///指令排队编号
  1720. /// </summary>
  1721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1722. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1723. public int QueueId {
  1724. get { return queueId_; }
  1725. set {
  1726. queueId_ = value;
  1727. }
  1728. }
  1729. /// <summary>Field number for the "car_number" field.</summary>
  1730. public const int CarNumberFieldNumber = 3;
  1731. private string carNumber_ = "";
  1732. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1733. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1734. public string CarNumber {
  1735. get { return carNumber_; }
  1736. set {
  1737. carNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1738. }
  1739. }
  1740. /// <summary>Field number for the "unit_id" field.</summary>
  1741. public const int UnitIdFieldNumber = 4;
  1742. private int unitId_;
  1743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1744. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1745. public int UnitId {
  1746. get { return unitId_; }
  1747. set {
  1748. unitId_ = value;
  1749. }
  1750. }
  1751. /// <summary>Field number for the "terminal_id" field.</summary>
  1752. public const int TerminalIdFieldNumber = 5;
  1753. private int terminalId_;
  1754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1755. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1756. public int TerminalId {
  1757. get { return terminalId_; }
  1758. set {
  1759. terminalId_ = value;
  1760. }
  1761. }
  1762. /// <summary>Field number for the "primary_key" field.</summary>
  1763. public const int PrimaryKeyFieldNumber = 6;
  1764. private string primaryKey_ = "";
  1765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1766. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1767. public string PrimaryKey {
  1768. get { return primaryKey_; }
  1769. set {
  1770. primaryKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1771. }
  1772. }
  1773. /// <summary>Field number for the "actually_space_info" field.</summary>
  1774. public const int ActuallySpaceInfoFieldNumber = 7;
  1775. private global::parkspace_info actuallySpaceInfo_;
  1776. /// <summary>
  1777. ///实际停放的车位信息
  1778. /// </summary>
  1779. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1780. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1781. public global::parkspace_info ActuallySpaceInfo {
  1782. get { return actuallySpaceInfo_; }
  1783. set {
  1784. actuallySpaceInfo_ = value;
  1785. }
  1786. }
  1787. /// <summary>Field number for the "actually_measure_info" field.</summary>
  1788. public const int ActuallyMeasureInfoFieldNumber = 8;
  1789. private global::measure_info actuallyMeasureInfo_;
  1790. /// <summary>
  1791. ///存车时的实际测量信息(轴距)
  1792. /// </summary>
  1793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1794. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1795. public global::measure_info ActuallyMeasureInfo {
  1796. get { return actuallyMeasureInfo_; }
  1797. set {
  1798. actuallyMeasureInfo_ = value;
  1799. }
  1800. }
  1801. /// <summary>Field number for the "export_id" field.</summary>
  1802. public const int ExportIdFieldNumber = 9;
  1803. private int exportId_;
  1804. /// <summary>
  1805. ///分配出口
  1806. /// </summary>
  1807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1808. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1809. public int ExportId {
  1810. get { return exportId_; }
  1811. set {
  1812. exportId_ = value;
  1813. }
  1814. }
  1815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1816. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1817. public override bool Equals(object other) {
  1818. return Equals(other as pick_table);
  1819. }
  1820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1821. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1822. public bool Equals(pick_table other) {
  1823. if (ReferenceEquals(other, null)) {
  1824. return false;
  1825. }
  1826. if (ReferenceEquals(other, this)) {
  1827. return true;
  1828. }
  1829. if (!object.Equals(Statu, other.Statu)) return false;
  1830. if (QueueId != other.QueueId) return false;
  1831. if (CarNumber != other.CarNumber) return false;
  1832. if (UnitId != other.UnitId) return false;
  1833. if (TerminalId != other.TerminalId) return false;
  1834. if (PrimaryKey != other.PrimaryKey) return false;
  1835. if (!object.Equals(ActuallySpaceInfo, other.ActuallySpaceInfo)) return false;
  1836. if (!object.Equals(ActuallyMeasureInfo, other.ActuallyMeasureInfo)) return false;
  1837. if (ExportId != other.ExportId) return false;
  1838. return Equals(_unknownFields, other._unknownFields);
  1839. }
  1840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1841. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1842. public override int GetHashCode() {
  1843. int hash = 1;
  1844. if (statu_ != null) hash ^= Statu.GetHashCode();
  1845. if (QueueId != 0) hash ^= QueueId.GetHashCode();
  1846. if (CarNumber.Length != 0) hash ^= CarNumber.GetHashCode();
  1847. if (UnitId != 0) hash ^= UnitId.GetHashCode();
  1848. if (TerminalId != 0) hash ^= TerminalId.GetHashCode();
  1849. if (PrimaryKey.Length != 0) hash ^= PrimaryKey.GetHashCode();
  1850. if (actuallySpaceInfo_ != null) hash ^= ActuallySpaceInfo.GetHashCode();
  1851. if (actuallyMeasureInfo_ != null) hash ^= ActuallyMeasureInfo.GetHashCode();
  1852. if (ExportId != 0) hash ^= ExportId.GetHashCode();
  1853. if (_unknownFields != null) {
  1854. hash ^= _unknownFields.GetHashCode();
  1855. }
  1856. return hash;
  1857. }
  1858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1859. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1860. public override string ToString() {
  1861. return pb::JsonFormatter.ToDiagnosticString(this);
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1864. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1865. public void WriteTo(pb::CodedOutputStream output) {
  1866. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1867. output.WriteRawMessage(this);
  1868. #else
  1869. if (statu_ != null) {
  1870. output.WriteRawTag(10);
  1871. output.WriteMessage(Statu);
  1872. }
  1873. if (QueueId != 0) {
  1874. output.WriteRawTag(16);
  1875. output.WriteInt32(QueueId);
  1876. }
  1877. if (CarNumber.Length != 0) {
  1878. output.WriteRawTag(26);
  1879. output.WriteString(CarNumber);
  1880. }
  1881. if (UnitId != 0) {
  1882. output.WriteRawTag(32);
  1883. output.WriteInt32(UnitId);
  1884. }
  1885. if (TerminalId != 0) {
  1886. output.WriteRawTag(40);
  1887. output.WriteInt32(TerminalId);
  1888. }
  1889. if (PrimaryKey.Length != 0) {
  1890. output.WriteRawTag(50);
  1891. output.WriteString(PrimaryKey);
  1892. }
  1893. if (actuallySpaceInfo_ != null) {
  1894. output.WriteRawTag(58);
  1895. output.WriteMessage(ActuallySpaceInfo);
  1896. }
  1897. if (actuallyMeasureInfo_ != null) {
  1898. output.WriteRawTag(66);
  1899. output.WriteMessage(ActuallyMeasureInfo);
  1900. }
  1901. if (ExportId != 0) {
  1902. output.WriteRawTag(72);
  1903. output.WriteInt32(ExportId);
  1904. }
  1905. if (_unknownFields != null) {
  1906. _unknownFields.WriteTo(output);
  1907. }
  1908. #endif
  1909. }
  1910. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1912. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1913. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1914. if (statu_ != null) {
  1915. output.WriteRawTag(10);
  1916. output.WriteMessage(Statu);
  1917. }
  1918. if (QueueId != 0) {
  1919. output.WriteRawTag(16);
  1920. output.WriteInt32(QueueId);
  1921. }
  1922. if (CarNumber.Length != 0) {
  1923. output.WriteRawTag(26);
  1924. output.WriteString(CarNumber);
  1925. }
  1926. if (UnitId != 0) {
  1927. output.WriteRawTag(32);
  1928. output.WriteInt32(UnitId);
  1929. }
  1930. if (TerminalId != 0) {
  1931. output.WriteRawTag(40);
  1932. output.WriteInt32(TerminalId);
  1933. }
  1934. if (PrimaryKey.Length != 0) {
  1935. output.WriteRawTag(50);
  1936. output.WriteString(PrimaryKey);
  1937. }
  1938. if (actuallySpaceInfo_ != null) {
  1939. output.WriteRawTag(58);
  1940. output.WriteMessage(ActuallySpaceInfo);
  1941. }
  1942. if (actuallyMeasureInfo_ != null) {
  1943. output.WriteRawTag(66);
  1944. output.WriteMessage(ActuallyMeasureInfo);
  1945. }
  1946. if (ExportId != 0) {
  1947. output.WriteRawTag(72);
  1948. output.WriteInt32(ExportId);
  1949. }
  1950. if (_unknownFields != null) {
  1951. _unknownFields.WriteTo(ref output);
  1952. }
  1953. }
  1954. #endif
  1955. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1956. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1957. public int CalculateSize() {
  1958. int size = 0;
  1959. if (statu_ != null) {
  1960. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Statu);
  1961. }
  1962. if (QueueId != 0) {
  1963. size += 1 + pb::CodedOutputStream.ComputeInt32Size(QueueId);
  1964. }
  1965. if (CarNumber.Length != 0) {
  1966. size += 1 + pb::CodedOutputStream.ComputeStringSize(CarNumber);
  1967. }
  1968. if (UnitId != 0) {
  1969. size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnitId);
  1970. }
  1971. if (TerminalId != 0) {
  1972. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  1973. }
  1974. if (PrimaryKey.Length != 0) {
  1975. size += 1 + pb::CodedOutputStream.ComputeStringSize(PrimaryKey);
  1976. }
  1977. if (actuallySpaceInfo_ != null) {
  1978. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActuallySpaceInfo);
  1979. }
  1980. if (actuallyMeasureInfo_ != null) {
  1981. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActuallyMeasureInfo);
  1982. }
  1983. if (ExportId != 0) {
  1984. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExportId);
  1985. }
  1986. if (_unknownFields != null) {
  1987. size += _unknownFields.CalculateSize();
  1988. }
  1989. return size;
  1990. }
  1991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1992. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1993. public void MergeFrom(pick_table other) {
  1994. if (other == null) {
  1995. return;
  1996. }
  1997. if (other.statu_ != null) {
  1998. if (statu_ == null) {
  1999. Statu = new global::table_statu();
  2000. }
  2001. Statu.MergeFrom(other.Statu);
  2002. }
  2003. if (other.QueueId != 0) {
  2004. QueueId = other.QueueId;
  2005. }
  2006. if (other.CarNumber.Length != 0) {
  2007. CarNumber = other.CarNumber;
  2008. }
  2009. if (other.UnitId != 0) {
  2010. UnitId = other.UnitId;
  2011. }
  2012. if (other.TerminalId != 0) {
  2013. TerminalId = other.TerminalId;
  2014. }
  2015. if (other.PrimaryKey.Length != 0) {
  2016. PrimaryKey = other.PrimaryKey;
  2017. }
  2018. if (other.actuallySpaceInfo_ != null) {
  2019. if (actuallySpaceInfo_ == null) {
  2020. ActuallySpaceInfo = new global::parkspace_info();
  2021. }
  2022. ActuallySpaceInfo.MergeFrom(other.ActuallySpaceInfo);
  2023. }
  2024. if (other.actuallyMeasureInfo_ != null) {
  2025. if (actuallyMeasureInfo_ == null) {
  2026. ActuallyMeasureInfo = new global::measure_info();
  2027. }
  2028. ActuallyMeasureInfo.MergeFrom(other.ActuallyMeasureInfo);
  2029. }
  2030. if (other.ExportId != 0) {
  2031. ExportId = other.ExportId;
  2032. }
  2033. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2034. }
  2035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2036. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2037. public void MergeFrom(pb::CodedInputStream input) {
  2038. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2039. input.ReadRawMessage(this);
  2040. #else
  2041. uint tag;
  2042. while ((tag = input.ReadTag()) != 0) {
  2043. switch(tag) {
  2044. default:
  2045. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2046. break;
  2047. case 10: {
  2048. if (statu_ == null) {
  2049. Statu = new global::table_statu();
  2050. }
  2051. input.ReadMessage(Statu);
  2052. break;
  2053. }
  2054. case 16: {
  2055. QueueId = input.ReadInt32();
  2056. break;
  2057. }
  2058. case 26: {
  2059. CarNumber = input.ReadString();
  2060. break;
  2061. }
  2062. case 32: {
  2063. UnitId = input.ReadInt32();
  2064. break;
  2065. }
  2066. case 40: {
  2067. TerminalId = input.ReadInt32();
  2068. break;
  2069. }
  2070. case 50: {
  2071. PrimaryKey = input.ReadString();
  2072. break;
  2073. }
  2074. case 58: {
  2075. if (actuallySpaceInfo_ == null) {
  2076. ActuallySpaceInfo = new global::parkspace_info();
  2077. }
  2078. input.ReadMessage(ActuallySpaceInfo);
  2079. break;
  2080. }
  2081. case 66: {
  2082. if (actuallyMeasureInfo_ == null) {
  2083. ActuallyMeasureInfo = new global::measure_info();
  2084. }
  2085. input.ReadMessage(ActuallyMeasureInfo);
  2086. break;
  2087. }
  2088. case 72: {
  2089. ExportId = input.ReadInt32();
  2090. break;
  2091. }
  2092. }
  2093. }
  2094. #endif
  2095. }
  2096. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2098. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2099. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2100. uint tag;
  2101. while ((tag = input.ReadTag()) != 0) {
  2102. switch(tag) {
  2103. default:
  2104. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2105. break;
  2106. case 10: {
  2107. if (statu_ == null) {
  2108. Statu = new global::table_statu();
  2109. }
  2110. input.ReadMessage(Statu);
  2111. break;
  2112. }
  2113. case 16: {
  2114. QueueId = input.ReadInt32();
  2115. break;
  2116. }
  2117. case 26: {
  2118. CarNumber = input.ReadString();
  2119. break;
  2120. }
  2121. case 32: {
  2122. UnitId = input.ReadInt32();
  2123. break;
  2124. }
  2125. case 40: {
  2126. TerminalId = input.ReadInt32();
  2127. break;
  2128. }
  2129. case 50: {
  2130. PrimaryKey = input.ReadString();
  2131. break;
  2132. }
  2133. case 58: {
  2134. if (actuallySpaceInfo_ == null) {
  2135. ActuallySpaceInfo = new global::parkspace_info();
  2136. }
  2137. input.ReadMessage(ActuallySpaceInfo);
  2138. break;
  2139. }
  2140. case 66: {
  2141. if (actuallyMeasureInfo_ == null) {
  2142. ActuallyMeasureInfo = new global::measure_info();
  2143. }
  2144. input.ReadMessage(ActuallyMeasureInfo);
  2145. break;
  2146. }
  2147. case 72: {
  2148. ExportId = input.ReadInt32();
  2149. break;
  2150. }
  2151. }
  2152. }
  2153. }
  2154. #endif
  2155. }
  2156. /// <summary>
  2157. ///
  2158. ///单片机节点状态
  2159. /// </summary>
  2160. public sealed partial class out_mcpu_statu : pb::IMessage<out_mcpu_statu>
  2161. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2162. , pb::IBufferMessage
  2163. #endif
  2164. {
  2165. private static readonly pb::MessageParser<out_mcpu_statu> _parser = new pb::MessageParser<out_mcpu_statu>(() => new out_mcpu_statu());
  2166. private pb::UnknownFieldSet _unknownFields;
  2167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2168. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2169. public static pb::MessageParser<out_mcpu_statu> Parser { get { return _parser; } }
  2170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2171. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2172. public static pbr::MessageDescriptor Descriptor {
  2173. get { return global::MessageReflection.Descriptor.MessageTypes[5]; }
  2174. }
  2175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2176. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2177. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2178. get { return Descriptor; }
  2179. }
  2180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2181. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2182. public out_mcpu_statu() {
  2183. OnConstruction();
  2184. }
  2185. partial void OnConstruction();
  2186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2187. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2188. public out_mcpu_statu(out_mcpu_statu other) : this() {
  2189. doorStatu_ = other.doorStatu_;
  2190. outsideSafety_ = other.outsideSafety_;
  2191. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2192. }
  2193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2194. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2195. public out_mcpu_statu Clone() {
  2196. return new out_mcpu_statu(this);
  2197. }
  2198. /// <summary>Field number for the "door_statu" field.</summary>
  2199. public const int DoorStatuFieldNumber = 1;
  2200. private int doorStatu_;
  2201. /// <summary>
  2202. /// 0开,1关,2,正在开关中
  2203. /// </summary>
  2204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2205. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2206. public int DoorStatu {
  2207. get { return doorStatu_; }
  2208. set {
  2209. doorStatu_ = value;
  2210. }
  2211. }
  2212. /// <summary>Field number for the "outside_safety" field.</summary>
  2213. public const int OutsideSafetyFieldNumber = 2;
  2214. private bool outsideSafety_;
  2215. /// <summary>
  2216. ///0空闲,1有障碍
  2217. /// </summary>
  2218. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2219. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2220. public bool OutsideSafety {
  2221. get { return outsideSafety_; }
  2222. set {
  2223. outsideSafety_ = value;
  2224. }
  2225. }
  2226. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2227. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2228. public override bool Equals(object other) {
  2229. return Equals(other as out_mcpu_statu);
  2230. }
  2231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2232. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2233. public bool Equals(out_mcpu_statu other) {
  2234. if (ReferenceEquals(other, null)) {
  2235. return false;
  2236. }
  2237. if (ReferenceEquals(other, this)) {
  2238. return true;
  2239. }
  2240. if (DoorStatu != other.DoorStatu) return false;
  2241. if (OutsideSafety != other.OutsideSafety) return false;
  2242. return Equals(_unknownFields, other._unknownFields);
  2243. }
  2244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2245. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2246. public override int GetHashCode() {
  2247. int hash = 1;
  2248. if (DoorStatu != 0) hash ^= DoorStatu.GetHashCode();
  2249. if (OutsideSafety != false) hash ^= OutsideSafety.GetHashCode();
  2250. if (_unknownFields != null) {
  2251. hash ^= _unknownFields.GetHashCode();
  2252. }
  2253. return hash;
  2254. }
  2255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2256. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2257. public override string ToString() {
  2258. return pb::JsonFormatter.ToDiagnosticString(this);
  2259. }
  2260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2261. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2262. public void WriteTo(pb::CodedOutputStream output) {
  2263. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2264. output.WriteRawMessage(this);
  2265. #else
  2266. if (DoorStatu != 0) {
  2267. output.WriteRawTag(8);
  2268. output.WriteInt32(DoorStatu);
  2269. }
  2270. if (OutsideSafety != false) {
  2271. output.WriteRawTag(16);
  2272. output.WriteBool(OutsideSafety);
  2273. }
  2274. if (_unknownFields != null) {
  2275. _unknownFields.WriteTo(output);
  2276. }
  2277. #endif
  2278. }
  2279. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2281. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2282. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2283. if (DoorStatu != 0) {
  2284. output.WriteRawTag(8);
  2285. output.WriteInt32(DoorStatu);
  2286. }
  2287. if (OutsideSafety != false) {
  2288. output.WriteRawTag(16);
  2289. output.WriteBool(OutsideSafety);
  2290. }
  2291. if (_unknownFields != null) {
  2292. _unknownFields.WriteTo(ref output);
  2293. }
  2294. }
  2295. #endif
  2296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2297. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2298. public int CalculateSize() {
  2299. int size = 0;
  2300. if (DoorStatu != 0) {
  2301. size += 1 + pb::CodedOutputStream.ComputeInt32Size(DoorStatu);
  2302. }
  2303. if (OutsideSafety != false) {
  2304. size += 1 + 1;
  2305. }
  2306. if (_unknownFields != null) {
  2307. size += _unknownFields.CalculateSize();
  2308. }
  2309. return size;
  2310. }
  2311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2312. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2313. public void MergeFrom(out_mcpu_statu other) {
  2314. if (other == null) {
  2315. return;
  2316. }
  2317. if (other.DoorStatu != 0) {
  2318. DoorStatu = other.DoorStatu;
  2319. }
  2320. if (other.OutsideSafety != false) {
  2321. OutsideSafety = other.OutsideSafety;
  2322. }
  2323. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2324. }
  2325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2326. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2327. public void MergeFrom(pb::CodedInputStream input) {
  2328. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2329. input.ReadRawMessage(this);
  2330. #else
  2331. uint tag;
  2332. while ((tag = input.ReadTag()) != 0) {
  2333. switch(tag) {
  2334. default:
  2335. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2336. break;
  2337. case 8: {
  2338. DoorStatu = input.ReadInt32();
  2339. break;
  2340. }
  2341. case 16: {
  2342. OutsideSafety = input.ReadBool();
  2343. break;
  2344. }
  2345. }
  2346. }
  2347. #endif
  2348. }
  2349. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2351. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2352. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2353. uint tag;
  2354. while ((tag = input.ReadTag()) != 0) {
  2355. switch(tag) {
  2356. default:
  2357. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2358. break;
  2359. case 8: {
  2360. DoorStatu = input.ReadInt32();
  2361. break;
  2362. }
  2363. case 16: {
  2364. OutsideSafety = input.ReadBool();
  2365. break;
  2366. }
  2367. }
  2368. }
  2369. }
  2370. #endif
  2371. }
  2372. public sealed partial class in_mcpu_statu : pb::IMessage<in_mcpu_statu>
  2373. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2374. , pb::IBufferMessage
  2375. #endif
  2376. {
  2377. private static readonly pb::MessageParser<in_mcpu_statu> _parser = new pb::MessageParser<in_mcpu_statu>(() => new in_mcpu_statu());
  2378. private pb::UnknownFieldSet _unknownFields;
  2379. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2380. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2381. public static pb::MessageParser<in_mcpu_statu> Parser { get { return _parser; } }
  2382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2383. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2384. public static pbr::MessageDescriptor Descriptor {
  2385. get { return global::MessageReflection.Descriptor.MessageTypes[6]; }
  2386. }
  2387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2388. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2389. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2390. get { return Descriptor; }
  2391. }
  2392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2393. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2394. public in_mcpu_statu() {
  2395. OnConstruction();
  2396. }
  2397. partial void OnConstruction();
  2398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2399. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2400. public in_mcpu_statu(in_mcpu_statu other) : this() {
  2401. doorStatu_ = other.doorStatu_;
  2402. backIo_ = other.backIo_;
  2403. isOccupy_ = other.isOccupy_;
  2404. heighth_ = other.heighth_;
  2405. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2406. }
  2407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2408. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2409. public in_mcpu_statu Clone() {
  2410. return new in_mcpu_statu(this);
  2411. }
  2412. /// <summary>Field number for the "door_statu" field.</summary>
  2413. public const int DoorStatuFieldNumber = 1;
  2414. private int doorStatu_;
  2415. /// <summary>
  2416. /// 0开,1关,2,正在开关中
  2417. /// </summary>
  2418. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2419. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2420. public int DoorStatu {
  2421. get { return doorStatu_; }
  2422. set {
  2423. doorStatu_ = value;
  2424. }
  2425. }
  2426. /// <summary>Field number for the "back_io" field.</summary>
  2427. public const int BackIoFieldNumber = 2;
  2428. private int backIo_;
  2429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2430. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2431. public int BackIo {
  2432. get { return backIo_; }
  2433. set {
  2434. backIo_ = value;
  2435. }
  2436. }
  2437. /// <summary>Field number for the "is_occupy" field.</summary>
  2438. public const int IsOccupyFieldNumber = 3;
  2439. private int isOccupy_;
  2440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2441. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2442. public int IsOccupy {
  2443. get { return isOccupy_; }
  2444. set {
  2445. isOccupy_ = value;
  2446. }
  2447. }
  2448. /// <summary>Field number for the "heighth" field.</summary>
  2449. public const int HeighthFieldNumber = 4;
  2450. private int heighth_;
  2451. /// <summary>
  2452. ///1 未知,2 小车,3 suv ,4 大suv,5 无法停车
  2453. /// </summary>
  2454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2455. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2456. public int Heighth {
  2457. get { return heighth_; }
  2458. set {
  2459. heighth_ = value;
  2460. }
  2461. }
  2462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2463. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2464. public override bool Equals(object other) {
  2465. return Equals(other as in_mcpu_statu);
  2466. }
  2467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2468. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2469. public bool Equals(in_mcpu_statu other) {
  2470. if (ReferenceEquals(other, null)) {
  2471. return false;
  2472. }
  2473. if (ReferenceEquals(other, this)) {
  2474. return true;
  2475. }
  2476. if (DoorStatu != other.DoorStatu) return false;
  2477. if (BackIo != other.BackIo) return false;
  2478. if (IsOccupy != other.IsOccupy) return false;
  2479. if (Heighth != other.Heighth) return false;
  2480. return Equals(_unknownFields, other._unknownFields);
  2481. }
  2482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2483. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2484. public override int GetHashCode() {
  2485. int hash = 1;
  2486. if (DoorStatu != 0) hash ^= DoorStatu.GetHashCode();
  2487. if (BackIo != 0) hash ^= BackIo.GetHashCode();
  2488. if (IsOccupy != 0) hash ^= IsOccupy.GetHashCode();
  2489. if (Heighth != 0) hash ^= Heighth.GetHashCode();
  2490. if (_unknownFields != null) {
  2491. hash ^= _unknownFields.GetHashCode();
  2492. }
  2493. return hash;
  2494. }
  2495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2496. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2497. public override string ToString() {
  2498. return pb::JsonFormatter.ToDiagnosticString(this);
  2499. }
  2500. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2501. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2502. public void WriteTo(pb::CodedOutputStream output) {
  2503. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2504. output.WriteRawMessage(this);
  2505. #else
  2506. if (DoorStatu != 0) {
  2507. output.WriteRawTag(8);
  2508. output.WriteInt32(DoorStatu);
  2509. }
  2510. if (BackIo != 0) {
  2511. output.WriteRawTag(16);
  2512. output.WriteInt32(BackIo);
  2513. }
  2514. if (IsOccupy != 0) {
  2515. output.WriteRawTag(24);
  2516. output.WriteInt32(IsOccupy);
  2517. }
  2518. if (Heighth != 0) {
  2519. output.WriteRawTag(32);
  2520. output.WriteInt32(Heighth);
  2521. }
  2522. if (_unknownFields != null) {
  2523. _unknownFields.WriteTo(output);
  2524. }
  2525. #endif
  2526. }
  2527. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2529. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2530. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2531. if (DoorStatu != 0) {
  2532. output.WriteRawTag(8);
  2533. output.WriteInt32(DoorStatu);
  2534. }
  2535. if (BackIo != 0) {
  2536. output.WriteRawTag(16);
  2537. output.WriteInt32(BackIo);
  2538. }
  2539. if (IsOccupy != 0) {
  2540. output.WriteRawTag(24);
  2541. output.WriteInt32(IsOccupy);
  2542. }
  2543. if (Heighth != 0) {
  2544. output.WriteRawTag(32);
  2545. output.WriteInt32(Heighth);
  2546. }
  2547. if (_unknownFields != null) {
  2548. _unknownFields.WriteTo(ref output);
  2549. }
  2550. }
  2551. #endif
  2552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2553. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2554. public int CalculateSize() {
  2555. int size = 0;
  2556. if (DoorStatu != 0) {
  2557. size += 1 + pb::CodedOutputStream.ComputeInt32Size(DoorStatu);
  2558. }
  2559. if (BackIo != 0) {
  2560. size += 1 + pb::CodedOutputStream.ComputeInt32Size(BackIo);
  2561. }
  2562. if (IsOccupy != 0) {
  2563. size += 1 + pb::CodedOutputStream.ComputeInt32Size(IsOccupy);
  2564. }
  2565. if (Heighth != 0) {
  2566. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Heighth);
  2567. }
  2568. if (_unknownFields != null) {
  2569. size += _unknownFields.CalculateSize();
  2570. }
  2571. return size;
  2572. }
  2573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2574. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2575. public void MergeFrom(in_mcpu_statu other) {
  2576. if (other == null) {
  2577. return;
  2578. }
  2579. if (other.DoorStatu != 0) {
  2580. DoorStatu = other.DoorStatu;
  2581. }
  2582. if (other.BackIo != 0) {
  2583. BackIo = other.BackIo;
  2584. }
  2585. if (other.IsOccupy != 0) {
  2586. IsOccupy = other.IsOccupy;
  2587. }
  2588. if (other.Heighth != 0) {
  2589. Heighth = other.Heighth;
  2590. }
  2591. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2592. }
  2593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2594. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2595. public void MergeFrom(pb::CodedInputStream input) {
  2596. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2597. input.ReadRawMessage(this);
  2598. #else
  2599. uint tag;
  2600. while ((tag = input.ReadTag()) != 0) {
  2601. switch(tag) {
  2602. default:
  2603. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2604. break;
  2605. case 8: {
  2606. DoorStatu = input.ReadInt32();
  2607. break;
  2608. }
  2609. case 16: {
  2610. BackIo = input.ReadInt32();
  2611. break;
  2612. }
  2613. case 24: {
  2614. IsOccupy = input.ReadInt32();
  2615. break;
  2616. }
  2617. case 32: {
  2618. Heighth = input.ReadInt32();
  2619. break;
  2620. }
  2621. }
  2622. }
  2623. #endif
  2624. }
  2625. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2627. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2628. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2629. uint tag;
  2630. while ((tag = input.ReadTag()) != 0) {
  2631. switch(tag) {
  2632. default:
  2633. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2634. break;
  2635. case 8: {
  2636. DoorStatu = input.ReadInt32();
  2637. break;
  2638. }
  2639. case 16: {
  2640. BackIo = input.ReadInt32();
  2641. break;
  2642. }
  2643. case 24: {
  2644. IsOccupy = input.ReadInt32();
  2645. break;
  2646. }
  2647. case 32: {
  2648. Heighth = input.ReadInt32();
  2649. break;
  2650. }
  2651. }
  2652. }
  2653. }
  2654. #endif
  2655. }
  2656. /// <summary>
  2657. ///
  2658. ///搬运器状态消息
  2659. /// </summary>
  2660. public sealed partial class dispatch_node_statu : pb::IMessage<dispatch_node_statu>
  2661. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2662. , pb::IBufferMessage
  2663. #endif
  2664. {
  2665. private static readonly pb::MessageParser<dispatch_node_statu> _parser = new pb::MessageParser<dispatch_node_statu>(() => new dispatch_node_statu());
  2666. private pb::UnknownFieldSet _unknownFields;
  2667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2668. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2669. public static pb::MessageParser<dispatch_node_statu> Parser { get { return _parser; } }
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2671. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2672. public static pbr::MessageDescriptor Descriptor {
  2673. get { return global::MessageReflection.Descriptor.MessageTypes[7]; }
  2674. }
  2675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2676. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2677. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2678. get { return Descriptor; }
  2679. }
  2680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2681. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2682. public dispatch_node_statu() {
  2683. OnConstruction();
  2684. }
  2685. partial void OnConstruction();
  2686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2687. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2688. public dispatch_node_statu(dispatch_node_statu other) : this() {
  2689. statu_ = other.statu_;
  2690. idleStopFloor_ = other.idleStopFloor_;
  2691. runningPackInfo_ = other.runningPackInfo_ != null ? other.runningPackInfo_.Clone() : null;
  2692. runningPickInfo_ = other.runningPickInfo_ != null ? other.runningPickInfo_.Clone() : null;
  2693. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2694. }
  2695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2696. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2697. public dispatch_node_statu Clone() {
  2698. return new dispatch_node_statu(this);
  2699. }
  2700. /// <summary>Field number for the "statu" field.</summary>
  2701. public const int StatuFieldNumber = 1;
  2702. private global::CarrierStatu statu_ = global::CarrierStatu.EIdle;
  2703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2704. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2705. public global::CarrierStatu Statu {
  2706. get { return statu_; }
  2707. set {
  2708. statu_ = value;
  2709. }
  2710. }
  2711. /// <summary>Field number for the "idle_stop_floor" field.</summary>
  2712. public const int IdleStopFloorFieldNumber = 2;
  2713. private int idleStopFloor_;
  2714. /// <summary>
  2715. ///空闲时停留位置
  2716. /// </summary>
  2717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2718. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2719. public int IdleStopFloor {
  2720. get { return idleStopFloor_; }
  2721. set {
  2722. idleStopFloor_ = value;
  2723. }
  2724. }
  2725. /// <summary>Field number for the "running_pack_info" field.</summary>
  2726. public const int RunningPackInfoFieldNumber = 3;
  2727. private global::park_table runningPackInfo_;
  2728. /// <summary>
  2729. ///正在执行的停车表单
  2730. /// </summary>
  2731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2732. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2733. public global::park_table RunningPackInfo {
  2734. get { return runningPackInfo_; }
  2735. set {
  2736. runningPackInfo_ = value;
  2737. }
  2738. }
  2739. /// <summary>Field number for the "running_pick_info" field.</summary>
  2740. public const int RunningPickInfoFieldNumber = 4;
  2741. private global::pick_table runningPickInfo_;
  2742. /// <summary>
  2743. ///正在执行的取车表单
  2744. /// </summary>
  2745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2746. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2747. public global::pick_table RunningPickInfo {
  2748. get { return runningPickInfo_; }
  2749. set {
  2750. runningPickInfo_ = value;
  2751. }
  2752. }
  2753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2754. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2755. public override bool Equals(object other) {
  2756. return Equals(other as dispatch_node_statu);
  2757. }
  2758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2759. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2760. public bool Equals(dispatch_node_statu other) {
  2761. if (ReferenceEquals(other, null)) {
  2762. return false;
  2763. }
  2764. if (ReferenceEquals(other, this)) {
  2765. return true;
  2766. }
  2767. if (Statu != other.Statu) return false;
  2768. if (IdleStopFloor != other.IdleStopFloor) return false;
  2769. if (!object.Equals(RunningPackInfo, other.RunningPackInfo)) return false;
  2770. if (!object.Equals(RunningPickInfo, other.RunningPickInfo)) return false;
  2771. return Equals(_unknownFields, other._unknownFields);
  2772. }
  2773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2774. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2775. public override int GetHashCode() {
  2776. int hash = 1;
  2777. if (Statu != global::CarrierStatu.EIdle) hash ^= Statu.GetHashCode();
  2778. if (IdleStopFloor != 0) hash ^= IdleStopFloor.GetHashCode();
  2779. if (runningPackInfo_ != null) hash ^= RunningPackInfo.GetHashCode();
  2780. if (runningPickInfo_ != null) hash ^= RunningPickInfo.GetHashCode();
  2781. if (_unknownFields != null) {
  2782. hash ^= _unknownFields.GetHashCode();
  2783. }
  2784. return hash;
  2785. }
  2786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2787. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2788. public override string ToString() {
  2789. return pb::JsonFormatter.ToDiagnosticString(this);
  2790. }
  2791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2792. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2793. public void WriteTo(pb::CodedOutputStream output) {
  2794. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2795. output.WriteRawMessage(this);
  2796. #else
  2797. if (Statu != global::CarrierStatu.EIdle) {
  2798. output.WriteRawTag(8);
  2799. output.WriteEnum((int) Statu);
  2800. }
  2801. if (IdleStopFloor != 0) {
  2802. output.WriteRawTag(16);
  2803. output.WriteInt32(IdleStopFloor);
  2804. }
  2805. if (runningPackInfo_ != null) {
  2806. output.WriteRawTag(26);
  2807. output.WriteMessage(RunningPackInfo);
  2808. }
  2809. if (runningPickInfo_ != null) {
  2810. output.WriteRawTag(34);
  2811. output.WriteMessage(RunningPickInfo);
  2812. }
  2813. if (_unknownFields != null) {
  2814. _unknownFields.WriteTo(output);
  2815. }
  2816. #endif
  2817. }
  2818. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2820. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2821. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2822. if (Statu != global::CarrierStatu.EIdle) {
  2823. output.WriteRawTag(8);
  2824. output.WriteEnum((int) Statu);
  2825. }
  2826. if (IdleStopFloor != 0) {
  2827. output.WriteRawTag(16);
  2828. output.WriteInt32(IdleStopFloor);
  2829. }
  2830. if (runningPackInfo_ != null) {
  2831. output.WriteRawTag(26);
  2832. output.WriteMessage(RunningPackInfo);
  2833. }
  2834. if (runningPickInfo_ != null) {
  2835. output.WriteRawTag(34);
  2836. output.WriteMessage(RunningPickInfo);
  2837. }
  2838. if (_unknownFields != null) {
  2839. _unknownFields.WriteTo(ref output);
  2840. }
  2841. }
  2842. #endif
  2843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2844. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2845. public int CalculateSize() {
  2846. int size = 0;
  2847. if (Statu != global::CarrierStatu.EIdle) {
  2848. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Statu);
  2849. }
  2850. if (IdleStopFloor != 0) {
  2851. size += 1 + pb::CodedOutputStream.ComputeInt32Size(IdleStopFloor);
  2852. }
  2853. if (runningPackInfo_ != null) {
  2854. size += 1 + pb::CodedOutputStream.ComputeMessageSize(RunningPackInfo);
  2855. }
  2856. if (runningPickInfo_ != null) {
  2857. size += 1 + pb::CodedOutputStream.ComputeMessageSize(RunningPickInfo);
  2858. }
  2859. if (_unknownFields != null) {
  2860. size += _unknownFields.CalculateSize();
  2861. }
  2862. return size;
  2863. }
  2864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2865. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2866. public void MergeFrom(dispatch_node_statu other) {
  2867. if (other == null) {
  2868. return;
  2869. }
  2870. if (other.Statu != global::CarrierStatu.EIdle) {
  2871. Statu = other.Statu;
  2872. }
  2873. if (other.IdleStopFloor != 0) {
  2874. IdleStopFloor = other.IdleStopFloor;
  2875. }
  2876. if (other.runningPackInfo_ != null) {
  2877. if (runningPackInfo_ == null) {
  2878. RunningPackInfo = new global::park_table();
  2879. }
  2880. RunningPackInfo.MergeFrom(other.RunningPackInfo);
  2881. }
  2882. if (other.runningPickInfo_ != null) {
  2883. if (runningPickInfo_ == null) {
  2884. RunningPickInfo = new global::pick_table();
  2885. }
  2886. RunningPickInfo.MergeFrom(other.RunningPickInfo);
  2887. }
  2888. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2889. }
  2890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2891. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2892. public void MergeFrom(pb::CodedInputStream input) {
  2893. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2894. input.ReadRawMessage(this);
  2895. #else
  2896. uint tag;
  2897. while ((tag = input.ReadTag()) != 0) {
  2898. switch(tag) {
  2899. default:
  2900. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2901. break;
  2902. case 8: {
  2903. Statu = (global::CarrierStatu) input.ReadEnum();
  2904. break;
  2905. }
  2906. case 16: {
  2907. IdleStopFloor = input.ReadInt32();
  2908. break;
  2909. }
  2910. case 26: {
  2911. if (runningPackInfo_ == null) {
  2912. RunningPackInfo = new global::park_table();
  2913. }
  2914. input.ReadMessage(RunningPackInfo);
  2915. break;
  2916. }
  2917. case 34: {
  2918. if (runningPickInfo_ == null) {
  2919. RunningPickInfo = new global::pick_table();
  2920. }
  2921. input.ReadMessage(RunningPickInfo);
  2922. break;
  2923. }
  2924. }
  2925. }
  2926. #endif
  2927. }
  2928. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2930. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2931. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2932. uint tag;
  2933. while ((tag = input.ReadTag()) != 0) {
  2934. switch(tag) {
  2935. default:
  2936. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2937. break;
  2938. case 8: {
  2939. Statu = (global::CarrierStatu) input.ReadEnum();
  2940. break;
  2941. }
  2942. case 16: {
  2943. IdleStopFloor = input.ReadInt32();
  2944. break;
  2945. }
  2946. case 26: {
  2947. if (runningPackInfo_ == null) {
  2948. RunningPackInfo = new global::park_table();
  2949. }
  2950. input.ReadMessage(RunningPackInfo);
  2951. break;
  2952. }
  2953. case 34: {
  2954. if (runningPickInfo_ == null) {
  2955. RunningPickInfo = new global::pick_table();
  2956. }
  2957. input.ReadMessage(RunningPickInfo);
  2958. break;
  2959. }
  2960. }
  2961. }
  2962. }
  2963. #endif
  2964. }
  2965. #endregion
  2966. #endregion Designer generated code