MessageBase.cs 110 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: message_base.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Message {
  12. /// <summary>Holder for reflection information generated from message_base.proto</summary>
  13. public static partial class MessageBaseReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for message_base.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static MessageBaseReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "ChJtZXNzYWdlX2Jhc2UucHJvdG8SB21lc3NhZ2UitgEKCUJhc2VfaW5mbxIy",
  24. "Cghtc2dfdHlwZRgBIAIoDjIVLm1lc3NhZ2UuTWVzc2FnZV90eXBlOgllQmFz",
  25. "ZV9tc2cSFQoKdGltZW91dF9tcxgCIAEoBToBMBItCgZzZW5kZXIYAyACKA4y",
  26. "FS5tZXNzYWdlLkNvbW11bmljYXRvcjoGZUVtcHR5Ei8KCHJlY2VpdmVyGAQg",
  27. "AigOMhUubWVzc2FnZS5Db21tdW5pY2F0b3I6BmVFbXB0eSIxCghCYXNlX21z",
  28. "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbyJ2Cg1F",
  29. "cnJvcl9tYW5hZ2VyEhUKCmVycm9yX2NvZGUYASACKAU6ATASMQoLZXJyb3Jf",
  30. "bGV2ZWwYAiABKA4yFC5tZXNzYWdlLkVycm9yX2xldmVsOgZOT1JNQUwSGwoR",
  31. "ZXJyb3JfZGVzY3JpcHRpb24YAyABKAk6ACKfAgoSTG9jYXRlX2luZm9ybWF0",
  32. "aW9uEhMKCGxvY2F0ZV94GAEgASgCOgEwEhMKCGxvY2F0ZV95GAIgASgCOgEw",
  33. "EhcKDGxvY2F0ZV9hbmdsZRgDIAEoAjoBMBIYCg1sb2NhdGVfbGVuZ3RoGAQg",
  34. "ASgCOgEwEhcKDGxvY2F0ZV93aWR0aBgFIAEoAjoBMBIYCg1sb2NhdGVfaGVp",
  35. "Z2h0GAYgASgCOgEwEhwKEWxvY2F0ZV93aGVlbF9iYXNlGAcgASgCOgEwEh0K",
  36. "EmxvY2F0ZV93aGVlbF93aWR0aBgIIAEoAjoBMBIdCg5sb2NhdGVfY29ycmVj",
  37. "dBgJIAEoCDoFZmFsc2USHQoSbG9jYXRlX2Zyb250X3RoZXRhGAogASgCOgEw",
  38. "IpgBCghDYXJfaW5mbxIVCgpjYXJfbGVuZ3RoGAEgASgCOgEwEhQKCWNhcl93",
  39. "aWR0aBgCIAEoAjoBMBIVCgpjYXJfaGVpZ2h0GAMgASgCOgEwEhEKB2xpY2Vu",
  40. "c2UYBCABKAk6ABIZCg5jYXJfd2hlZWxfYmFzZRgFIAEoAjoBMBIaCg9jYXJf",
  41. "d2hlZWxfd2lkdGgYBiABKAI6ATAi/QQKDlBhcmtzcGFjZV9pbmZvEh0KFXBh",
  42. "cmtpbmdzcGFjZV9pbmRleF9pZBgBIAEoBRIyChFwYXJraW5nc3BhY2VfdHlw",
  43. "ZRgCIAEoDjIXLm1lc3NhZ2UuUGFya3NwYWNlX3R5cGUSHAoUcGFya2luZ3Nw",
  44. "YWNlX3VuaXRfaWQYAyABKAUSHQoVcGFya2luZ3NwYWNlX2xhYmVsX2lkGAQg",
  45. "ASgFEhwKFHBhcmtpbmdzcGFjZV9yb29tX2lkGAUgASgFEjIKFnBhcmtpbmdz",
  46. "cGFjZV9kaXJlY3Rpb24YBiABKA4yEi5tZXNzYWdlLkRpcmVjdGlvbhIdChVw",
  47. "YXJraW5nc3BhY2VfZmxvb3JfaWQYByABKAUSGgoScGFya2luZ3NwYWNlX3dp",
  48. "ZHRoGAggASgCEhsKE3BhcmtpbmdzcGFjZV9oZWlnaHQYCSABKAISNgoTcGFy",
  49. "a2luZ3NwYWNlX3N0YXR1cxgKIAEoDjIZLm1lc3NhZ2UuUGFya3NwYWNlX3N0",
  50. "YXR1cxIjCghjYXJfaW5mbxgLIAEoCzIRLm1lc3NhZ2UuQ2FyX2luZm8SEgoK",
  51. "ZW50cnlfdGltZRgMIAEoCRISCgpsZWF2ZV90aW1lGA0gASgJEi8KDnBhcmtz",
  52. "cGFjZV9wYXRoGA4gASgOMhcubWVzc2FnZS5QYXJrc3BhY2VfcGF0aBIaChJw",
  53. "YXRoX2VzdGltYXRlX3RpbWUYDyABKAISOgoXcGFya3NwYWNlX3N0YXR1c190",
  54. "YXJnZXQYECABKA4yGS5tZXNzYWdlLlBhcmtzcGFjZV9zdGF0dXMSIwoIY2Fy",
  55. "X3R5cGUYESABKA4yES5tZXNzYWdlLkNhcl90eXBlKuUKCgxNZXNzYWdlX3R5",
  56. "cGUSDQoJZUJhc2VfbXNnEAASEAoMZUNvbW1hbmRfbXNnEAESFgoSZUxvY2F0",
  57. "ZV9zdGF0dXNfbXNnEBESFwoTZUxvY2F0ZV9yZXF1ZXN0X21zZxASEhgKFGVM",
  58. "b2NhdGVfcmVzcG9uc2VfbXNnEBMSHAoYZUxvY2F0ZV9zaWZ0X3JlcXVlc3Rf",
  59. "bXNnEBQSHQoZZUxvY2F0ZV9zaWZ0X3Jlc3BvbnNlX21zZxAVEhgKFGVEaXNw",
  60. "YXRjaF9zdGF0dXNfbXNnECESGQoVZURpc3BhdGNoX3JlcXVlc3RfbXNnECIS",
  61. "GgoWZURpc3BhdGNoX3Jlc3BvbnNlX21zZxAjEiQKIGVQYXJrc3BhY2VfYWxs",
  62. "b2NhdGlvbl9zdGF0dXNfbXNnEDESJQohZVBhcmtzcGFjZV9hbGxvY2F0aW9u",
  63. "X3JlcXVlc3RfbXNnEDISJgoiZVBhcmtzcGFjZV9hbGxvY2F0aW9uX3Jlc3Bv",
  64. "bnNlX21zZxAzEiEKHWVQYXJrc3BhY2Vfc2VhcmNoX3JlcXVlc3RfbXNnEDQS",
  65. "IgoeZVBhcmtzcGFjZV9zZWFyY2hfcmVzcG9uc2VfbXNnEDUSIgoeZVBhcmtz",
  66. "cGFjZV9yZWxlYXNlX3JlcXVlc3RfbXNnEDYSIwofZVBhcmtzcGFjZV9yZWxl",
  67. "YXNlX3Jlc3BvbnNlX21zZxA3EicKI2VQYXJrc3BhY2VfZm9yY2VfdXBkYXRl",
  68. "X3JlcXVlc3RfbXNnEDgSKAokZVBhcmtzcGFjZV9mb3JjZV91cGRhdGVfcmVz",
  69. "cG9uc2VfbXNnEDkSKAokZVBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3JlcXVl",
  70. "c3RfbXNnEDoSKQolZVBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3Jlc3BvbnNl",
  71. "X21zZxA7EiIKHmVQYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX21zZxA8EisK",
  72. "J2VQYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX3Jlc3BvbnNlX21zZxA9Eh4K",
  73. "GmVTdG9yZV9jb21tYW5kX3JlcXVlc3RfbXNnEEESHwobZVN0b3JlX2NvbW1h",
  74. "bmRfcmVzcG9uc2VfbXNnEEISHwobZVBpY2t1cF9jb21tYW5kX3JlcXVlc3Rf",
  75. "bXNnEEMSIAocZVBpY2t1cF9jb21tYW5kX3Jlc3BvbnNlX21zZxBEEh8KGmVT",
  76. "dG9yaW5nX3Byb2Nlc3Nfc3RhdHVfbXNnEJABEh8KGmVQaWNraW5nX3Byb2Nl",
  77. "c3Nfc3RhdHVfbXNnEJEBEiIKHWVDZW50cmFsX2NvbnRyb2xsZXJfc3RhdHVf",
  78. "bXNnEKABEiMKHmVFbnRyYW5jZV9tYW51YWxfb3BlcmF0aW9uX21zZxCwARIi",
  79. "Ch1lUHJvY2Vzc19tYW51YWxfb3BlcmF0aW9uX21zZxCxARIfChplRGlzcGF0",
  80. "Y2hfcGxhbl9yZXF1ZXN0X21zZxDgARIgChtlRGlzcGF0Y2hfcGxhbl9yZXNw",
  81. "b25zZV9tc2cQ4QESIgodZURpc3BhdGNoX2NvbnRyb2xfcmVxdWVzdF9tc2cQ",
  82. "4gESIwoeZURpc3BhdGNoX2NvbnRyb2xfcmVzcG9uc2VfbXNnEOMBEiEKHGVE",
  83. "aXNwYXRjaF9tYW5hZ2VyX3N0YXR1c19tc2cQ6gESHwoaZURpc3BhdGNoX21h",
  84. "bmFnZXJfZGF0YV9tc2cQ6wESHwoaZUdyb3VuZF9kZXRlY3RfcmVxdWVzdF9t",
  85. "c2cQ8AESIAobZUdyb3VuZF9kZXRlY3RfcmVzcG9uc2VfbXNnEPEBEhcKEmVH",
  86. "cm91bmRfc3RhdHVzX21zZxDyASq5AQoMQ29tbXVuaWNhdG9yEgoKBmVFbXB0",
  87. "eRAAEgkKBWVNYWluEAESDgoJZVRlcm1pbm9yEIACEg8KCmVQYXJrc3BhY2UQ",
  88. "gAQSDgoJZU1lYXN1cmVyEIAGEhoKFWVNZWFzdXJlcl9zaWZ0X3NlcnZlchCB",
  89. "BhIWChFlRGlzcGF0Y2hfbWFuYWdlchCACBIWChFlRGlzcGF0Y2hfY29udHJv",
  90. "bBCBCBIVChBlR3JvdW5kX21lYXN1cmVyEIAeKioKDFByb2Nlc3NfdHlwZRIM",
  91. "CghlU3RvcmluZxABEgwKCGVQaWNraW5nEAIqZQoLRXJyb3JfbGV2ZWwSCgoG",
  92. "Tk9STUFMEAASFAoQTkVHTElHSUJMRV9FUlJPUhABEg8KC01JTk9SX0VSUk9S",
  93. "EAISDwoLTUFKT1JfRVJST1IQAxISCg5DUklUSUNBTF9FUlJPUhAEKqUBChBQ",
  94. "YXJrc3BhY2Vfc3RhdHVzEhwKGGVQYXJrc3BhY2Vfc3RhdHVzX3Vua25vdxAA",
  95. "EhQKEGVQYXJrc3BhY2VfZW1wdHkQARIXChNlUGFya3NwYWNlX29jY3VwaWVk",
  96. "EAISFwoTZVBhcmtzcGFjZV9yZXNlcnZlZBADEhUKEWVQYXJrc3BhY2VfbG9j",
  97. "a2VkEAQSFAoQZVBhcmtzcGFjZV9lcnJvchAFKj8KCURpcmVjdGlvbhIVChFl",
  98. "RGlyZWN0aW9uX3Vua25vdxAAEgwKCGVGb3J3YXJkEAESDQoJZUJhY2t3YXJk",
  99. "EAIqbAoOUGFya3NwYWNlX3BhdGgSDwoLVU5LTk9XX1BBVEgQABIQCgxPUFRJ",
  100. "TUFMX1BBVEgQARINCglMRUZUX1BBVEgQAhIOCgpSSUdIVF9QQVRIEAMSGAoU",
  101. "VEVNUE9SQVJZX0NBQ0hFX1BBVEgQBCptCg5QYXJrc3BhY2VfdHlwZRIZChVV",
  102. "TktOT1dfUEFSS1NQQUNFX1RZUEUQABIUChBNSU5fUEFSS0lOR1NQQUNFEAES",
  103. "FAoQTUlEX1BBUktJTkdTUEFDRRACEhQKEEJJR19QQVJLSU5HU1BBQ0UQAypG",
  104. "CghDYXJfdHlwZRITCg9VTktOT1dfQ0FSX1RZUEUQABILCgdNSU5fQ0FSEAES",
  105. "CwoHTUlEX0NBUhACEgsKB0JJR19DQVIQAyrdAgoJU3RlcF90eXBlEg8KC2VB",
  106. "bGxvY19zdGVwEAASEQoNZU1lYXN1cmVfc3RlcBABEhEKDWVDb21wYXJlX3N0",
  107. "ZXAQAhISCg5lRGlzcGF0Y2hfc3RlcBADEhEKDWVDb25maXJtX3N0ZXAQBBIQ",
  108. "CgxlU2VhcmNoX3N0ZXAQBRIOCgplV2FpdF9zdGVwEAYSEQoNZVJlbGVhc2Vf",
  109. "c3RlcBAHEg0KCWVDb21wbGV0ZRAIEhUKEWVCYWNrQ29uZmlybV9zdGVwEAkS",
  110. "FgoSZUJhY2tfY29tcGFyZV9zdGVwEAoSFQoRZUJhY2tNZWFzdXJlX3N0ZXAQ",
  111. "CxITCg9lQmFja0FsbG9jX3N0ZXAQDBISCg5lQmFja1dhaXRfc3RlcBANEhYK",
  112. "EmVCYWNrRGlzcGF0Y2hfc3RlcBAOEhQKEGVCYWNrU2VhcmNoX3N0ZXAQDxIR",
  113. "Cg1lQmFja0NvbXBsZXRlEBAqQwoKU3RlcF9zdGF0dRIMCghlV2FpdGluZxAA",
  114. "EgwKCGVXb3JraW5nEAESCgoGZUVycm9yEAISDQoJZUZpbmlzaGVkEAMq+AEK",
  115. "FERpc3BhdGNoX2RldmljZV90eXBlEgsKB1JPQk9UXzEQZRILCgdST0JPVF8y",
  116. "EGYSDgoJQ0FSUklFUl8xEMgBEg4KCUNBUlJJRVJfMhDPARIOCglDQVJSSUVS",
  117. "XzMQywESEQoMUEFTU0FHRVdBWV8wEKwCEhEKDFBBU1NBR0VXQVlfMRCtAhIR",
  118. "CgxQQVNTQUdFV0FZXzIQrgISEQoMUEFTU0FHRVdBWV8zEK8CEhEKDFBBU1NB",
  119. "R0VXQVlfNBCwAhIRCgxQQVNTQUdFV0FZXzUQsQISEQoMUEFTU0FHRVdBWV82",
  120. "ELICEhEKDFBBU1NBR0VXQVlfNxCzAg=="));
  121. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  122. new pbr::FileDescriptor[] { },
  123. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Message_type), typeof(global::Message.Communicator), typeof(global::Message.Process_type), typeof(global::Message.Error_level), typeof(global::Message.Parkspace_status), typeof(global::Message.Direction), typeof(global::Message.Parkspace_path), typeof(global::Message.Parkspace_type), typeof(global::Message.Car_type), typeof(global::Message.Step_type), typeof(global::Message.Step_statu), typeof(global::Message.Dispatch_device_type), }, null, new pbr::GeneratedClrTypeInfo[] {
  124. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Base_info), global::Message.Base_info.Parser, new[]{ "MsgType", "TimeoutMs", "Sender", "Receiver" }, null, null, null, null),
  125. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Base_msg), global::Message.Base_msg.Parser, new[]{ "BaseInfo" }, null, null, null, null),
  126. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Error_manager), global::Message.Error_manager.Parser, new[]{ "ErrorCode", "ErrorLevel", "ErrorDescription" }, null, null, null, null),
  127. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Locate_information), global::Message.Locate_information.Parser, new[]{ "LocateX", "LocateY", "LocateAngle", "LocateLength", "LocateWidth", "LocateHeight", "LocateWheelBase", "LocateWheelWidth", "LocateCorrect", "LocateFrontTheta" }, null, null, null, null),
  128. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Car_info), global::Message.Car_info.Parser, new[]{ "CarLength", "CarWidth", "CarHeight", "License", "CarWheelBase", "CarWheelWidth" }, null, null, null, null),
  129. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_info), global::Message.Parkspace_info.Parser, new[]{ "ParkingspaceIndexId", "ParkingspaceType", "ParkingspaceUnitId", "ParkingspaceLabelId", "ParkingspaceRoomId", "ParkingspaceDirection", "ParkingspaceFloorId", "ParkingspaceWidth", "ParkingspaceHeight", "ParkingspaceStatus", "CarInfo", "EntryTime", "LeaveTime", "ParkspacePath", "PathEstimateTime", "ParkspaceStatusTarget", "CarType" }, null, null, null, null)
  130. }));
  131. }
  132. #endregion
  133. }
  134. #region Enums
  135. /// <summary>
  136. ///消息类型定义;每个在网络上传输的消息必须含有这个属性
  137. /// </summary>
  138. public enum Message_type {
  139. [pbr::OriginalName("eBase_msg")] EBaseMsg = 0,
  140. /// <summary>
  141. ///指令消息
  142. /// </summary>
  143. [pbr::OriginalName("eCommand_msg")] ECommandMsg = 1,
  144. /// <summary>
  145. ///定位模块状态消息
  146. /// </summary>
  147. [pbr::OriginalName("eLocate_status_msg")] ELocateStatusMsg = 17,
  148. /// <summary>
  149. ///定位请求消息
  150. /// </summary>
  151. [pbr::OriginalName("eLocate_request_msg")] ELocateRequestMsg = 18,
  152. /// <summary>
  153. ///定位反馈消息
  154. /// </summary>
  155. [pbr::OriginalName("eLocate_response_msg")] ELocateResponseMsg = 19,
  156. /// <summary>
  157. ///预测算法请求消息
  158. /// </summary>
  159. [pbr::OriginalName("eLocate_sift_request_msg")] ELocateSiftRequestMsg = 20,
  160. /// <summary>
  161. ///预测算法反馈消息
  162. /// </summary>
  163. [pbr::OriginalName("eLocate_sift_response_msg")] ELocateSiftResponseMsg = 21,
  164. /// <summary>
  165. ///调度模块硬件状态消息
  166. /// </summary>
  167. [pbr::OriginalName("eDispatch_status_msg")] EDispatchStatusMsg = 33,
  168. /// <summary>
  169. ///请求调度消息
  170. /// </summary>
  171. [pbr::OriginalName("eDispatch_request_msg")] EDispatchRequestMsg = 34,
  172. /// <summary>
  173. ///调度结果反馈消息
  174. /// </summary>
  175. [pbr::OriginalName("eDispatch_response_msg")] EDispatchResponseMsg = 35,
  176. /// <summary>
  177. ///车位分配模块状态消息,包括车位信息
  178. /// </summary>
  179. [pbr::OriginalName("eParkspace_allocation_status_msg")] EParkspaceAllocationStatusMsg = 49,
  180. /// <summary>
  181. ///请求分配车位消息
  182. /// </summary>
  183. [pbr::OriginalName("eParkspace_allocation_request_msg")] EParkspaceAllocationRequestMsg = 50,
  184. /// <summary>
  185. ///分配车位结果反馈消息
  186. /// </summary>
  187. [pbr::OriginalName("eParkspace_allocation_response_msg")] EParkspaceAllocationResponseMsg = 51,
  188. /// <summary>
  189. ///查询车位请求消息
  190. /// </summary>
  191. [pbr::OriginalName("eParkspace_search_request_msg")] EParkspaceSearchRequestMsg = 52,
  192. /// <summary>
  193. ///查询车位反馈消息
  194. /// </summary>
  195. [pbr::OriginalName("eParkspace_search_response_msg")] EParkspaceSearchResponseMsg = 53,
  196. /// <summary>
  197. ///释放车位请求消息
  198. /// </summary>
  199. [pbr::OriginalName("eParkspace_release_request_msg")] EParkspaceReleaseRequestMsg = 54,
  200. /// <summary>
  201. ///释放车位反馈消息
  202. /// </summary>
  203. [pbr::OriginalName("eParkspace_release_response_msg")] EParkspaceReleaseResponseMsg = 55,
  204. /// <summary>
  205. ///手动修改车位消息
  206. /// </summary>
  207. [pbr::OriginalName("eParkspace_force_update_request_msg")] EParkspaceForceUpdateRequestMsg = 56,
  208. /// <summary>
  209. ///手动修改车位反馈消息
  210. /// </summary>
  211. [pbr::OriginalName("eParkspace_force_update_response_msg")] EParkspaceForceUpdateResponseMsg = 57,
  212. /// <summary>
  213. ///确认分配车位请求消息
  214. /// </summary>
  215. [pbr::OriginalName("eParkspace_confirm_alloc_request_msg")] EParkspaceConfirmAllocRequestMsg = 58,
  216. /// <summary>
  217. ///确认分配车位反馈消息
  218. /// </summary>
  219. [pbr::OriginalName("eParkspace_confirm_alloc_response_msg")] EParkspaceConfirmAllocResponseMsg = 59,
  220. /// <summary>
  221. ///车位分配模块车位数据消息
  222. /// </summary>
  223. [pbr::OriginalName("eParkspace_allocation_data_msg")] EParkspaceAllocationDataMsg = 60,
  224. /// <summary>
  225. ///车位数据反馈消息
  226. /// </summary>
  227. [pbr::OriginalName("eParkspace_allocation_data_response_msg")] EParkspaceAllocationDataResponseMsg = 61,
  228. /// <summary>
  229. ///终端停车请求消息
  230. /// </summary>
  231. [pbr::OriginalName("eStore_command_request_msg")] EStoreCommandRequestMsg = 65,
  232. /// <summary>
  233. ///停车请求反馈消息
  234. /// </summary>
  235. [pbr::OriginalName("eStore_command_response_msg")] EStoreCommandResponseMsg = 66,
  236. /// <summary>
  237. ///取车请求消息
  238. /// </summary>
  239. [pbr::OriginalName("ePickup_command_request_msg")] EPickupCommandRequestMsg = 67,
  240. /// <summary>
  241. ///取车请求反馈消息
  242. /// </summary>
  243. [pbr::OriginalName("ePickup_command_response_msg")] EPickupCommandResponseMsg = 68,
  244. /// <summary>
  245. ///停车指令进度条消息
  246. /// </summary>
  247. [pbr::OriginalName("eStoring_process_statu_msg")] EStoringProcessStatuMsg = 144,
  248. /// <summary>
  249. ///取车指令进度消息
  250. /// </summary>
  251. [pbr::OriginalName("ePicking_process_statu_msg")] EPickingProcessStatuMsg = 145,
  252. /// <summary>
  253. ///中控系统状态消息
  254. /// </summary>
  255. [pbr::OriginalName("eCentral_controller_statu_msg")] ECentralControllerStatuMsg = 160,
  256. /// <summary>
  257. ///针对出入口状态操作的手动消息
  258. /// </summary>
  259. [pbr::OriginalName("eEntrance_manual_operation_msg")] EEntranceManualOperationMsg = 176,
  260. /// <summary>
  261. ///针对流程的手动消息
  262. /// </summary>
  263. [pbr::OriginalName("eProcess_manual_operation_msg")] EProcessManualOperationMsg = 177,
  264. /// <summary>
  265. ///调度总规划的请求(用于启动整个调度算法)(调度管理->调度算法)
  266. /// </summary>
  267. [pbr::OriginalName("eDispatch_plan_request_msg")] EDispatchPlanRequestMsg = 224,
  268. /// <summary>
  269. ///调度总规划的答复(调度算法->调度管理)
  270. /// </summary>
  271. [pbr::OriginalName("eDispatch_plan_response_msg")] EDispatchPlanResponseMsg = 225,
  272. /// <summary>
  273. ///调度控制的任务请求(调度算法->调度管理)
  274. /// </summary>
  275. [pbr::OriginalName("eDispatch_control_request_msg")] EDispatchControlRequestMsg = 226,
  276. /// <summary>
  277. ///调度控制的任务答复(调度管理->调度算法)
  278. /// </summary>
  279. [pbr::OriginalName("eDispatch_control_response_msg")] EDispatchControlResponseMsg = 227,
  280. /// <summary>
  281. ///调度管理的设备状态消息(调度底下所有硬件设备状态的汇总)
  282. /// </summary>
  283. [pbr::OriginalName("eDispatch_manager_status_msg")] EDispatchManagerStatusMsg = 234,
  284. /// <summary>
  285. ///调度管理的设备详细的数据信息
  286. /// </summary>
  287. [pbr::OriginalName("eDispatch_manager_data_msg")] EDispatchManagerDataMsg = 235,
  288. /// <summary>
  289. ///地面雷达测量请求消息
  290. /// </summary>
  291. [pbr::OriginalName("eGround_detect_request_msg")] EGroundDetectRequestMsg = 240,
  292. /// <summary>
  293. ///地面雷达测量反馈消息
  294. /// </summary>
  295. [pbr::OriginalName("eGround_detect_response_msg")] EGroundDetectResponseMsg = 241,
  296. /// <summary>
  297. ///地面雷达状态消息
  298. /// </summary>
  299. [pbr::OriginalName("eGround_status_msg")] EGroundStatusMsg = 242,
  300. }
  301. /// <summary>
  302. ///通讯单元
  303. /// </summary>
  304. public enum Communicator {
  305. [pbr::OriginalName("eEmpty")] EEmpty = 0,
  306. /// <summary>
  307. ///主流程
  308. /// </summary>
  309. [pbr::OriginalName("eMain")] EMain = 1,
  310. [pbr::OriginalName("eTerminor")] ETerminor = 256,
  311. /// <summary>
  312. ///车位表
  313. /// </summary>
  314. [pbr::OriginalName("eParkspace")] EParkspace = 512,
  315. /// <summary>
  316. ///测量单元
  317. /// </summary>
  318. [pbr::OriginalName("eMeasurer")] EMeasurer = 768,
  319. /// <summary>
  320. ///测量单元的服务器
  321. /// </summary>
  322. [pbr::OriginalName("eMeasurer_sift_server")] EMeasurerSiftServer = 769,
  323. /// <summary>
  324. ///调度机构
  325. /// </summary>
  326. [pbr::OriginalName("eDispatch_manager")] EDispatchManager = 1024,
  327. /// <summary>
  328. ///调度机构
  329. /// </summary>
  330. [pbr::OriginalName("eDispatch_control")] EDispatchControl = 1025,
  331. /// <summary>
  332. ///地面测量单元
  333. /// </summary>
  334. [pbr::OriginalName("eGround_measurer")] EGroundMeasurer = 3840,
  335. }
  336. /// <summary>
  337. /// 事件,停车或者取车
  338. /// </summary>
  339. public enum Process_type {
  340. [pbr::OriginalName("eStoring")] EStoring = 1,
  341. [pbr::OriginalName("ePicking")] EPicking = 2,
  342. }
  343. /// <summary>
  344. ///错误等级,用来做故障处理
  345. /// </summary>
  346. public enum Error_level {
  347. /// <summary>
  348. /// 正常,没有错误,默认值0
  349. /// </summary>
  350. [pbr::OriginalName("NORMAL")] Normal = 0,
  351. /// <summary>
  352. /// 轻微故障;可忽略的故障,NEGLIGIBLE_ERROR
  353. /// </summary>
  354. [pbr::OriginalName("NEGLIGIBLE_ERROR")] NegligibleError = 1,
  355. /// <summary>
  356. /// 一般故障,MINOR_ERROR
  357. /// </summary>
  358. [pbr::OriginalName("MINOR_ERROR")] MinorError = 2,
  359. /// <summary>
  360. /// 严重故障,MAJOR_ERROR
  361. /// </summary>
  362. [pbr::OriginalName("MAJOR_ERROR")] MajorError = 3,
  363. /// <summary>
  364. /// 致命故障,CRITICAL_ERROR
  365. /// </summary>
  366. [pbr::OriginalName("CRITICAL_ERROR")] CriticalError = 4,
  367. }
  368. /// <summary>
  369. ///车位状态枚举
  370. /// </summary>
  371. public enum Parkspace_status {
  372. [pbr::OriginalName("eParkspace_status_unknow")] EParkspaceStatusUnknow = 0,
  373. /// <summary>
  374. ///空闲,可分配
  375. /// </summary>
  376. [pbr::OriginalName("eParkspace_empty")] EParkspaceEmpty = 1,
  377. /// <summary>
  378. ///被占用,不可分配
  379. /// </summary>
  380. [pbr::OriginalName("eParkspace_occupied")] EParkspaceOccupied = 2,
  381. /// <summary>
  382. ///被预约,预约车辆可分配
  383. /// </summary>
  384. [pbr::OriginalName("eParkspace_reserved")] EParkspaceReserved = 3,
  385. /// <summary>
  386. ///临时锁定,不可分配
  387. /// </summary>
  388. [pbr::OriginalName("eParkspace_locked")] EParkspaceLocked = 4,
  389. /// <summary>
  390. ///车位机械结构或硬件故障
  391. /// </summary>
  392. [pbr::OriginalName("eParkspace_error")] EParkspaceError = 5,
  393. }
  394. /// <summary>
  395. ///车位朝向, 小号朝前朝南, 大号朝后朝北
  396. /// </summary>
  397. public enum Direction {
  398. [pbr::OriginalName("eDirection_unknow")] EDirectionUnknow = 0,
  399. /// <summary>
  400. ///小号朝前朝南
  401. /// </summary>
  402. [pbr::OriginalName("eForward")] EForward = 1,
  403. /// <summary>
  404. ///大号朝后朝北
  405. /// </summary>
  406. [pbr::OriginalName("eBackward")] EBackward = 2,
  407. }
  408. /// <summary>
  409. ///车位分配路线(根据中跑车的路线来定)
  410. /// </summary>
  411. public enum Parkspace_path {
  412. [pbr::OriginalName("UNKNOW_PATH")] UnknowPath = 0,
  413. [pbr::OriginalName("OPTIMAL_PATH")] OptimalPath = 1,
  414. [pbr::OriginalName("LEFT_PATH")] LeftPath = 2,
  415. [pbr::OriginalName("RIGHT_PATH")] RightPath = 3,
  416. [pbr::OriginalName("TEMPORARY_CACHE_PATH")] TemporaryCachePath = 4,
  417. }
  418. /// <summary>
  419. ///车位类型
  420. /// </summary>
  421. public enum Parkspace_type {
  422. [pbr::OriginalName("UNKNOW_PARKSPACE_TYPE")] UnknowParkspaceType = 0,
  423. /// <summary>
  424. ///小车位
  425. /// </summary>
  426. [pbr::OriginalName("MIN_PARKINGSPACE")] MinParkingspace = 1,
  427. /// <summary>
  428. ///中车位
  429. /// </summary>
  430. [pbr::OriginalName("MID_PARKINGSPACE")] MidParkingspace = 2,
  431. /// <summary>
  432. ///大车位
  433. /// </summary>
  434. [pbr::OriginalName("BIG_PARKINGSPACE")] BigParkingspace = 3,
  435. }
  436. /// <summary>
  437. ///汽车类型
  438. /// </summary>
  439. public enum Car_type {
  440. [pbr::OriginalName("UNKNOW_CAR_TYPE")] UnknowCarType = 0,
  441. /// <summary>
  442. ///小车
  443. /// </summary>
  444. [pbr::OriginalName("MIN_CAR")] MinCar = 1,
  445. /// <summary>
  446. ///中车
  447. /// </summary>
  448. [pbr::OriginalName("MID_CAR")] MidCar = 2,
  449. /// <summary>
  450. ///大车
  451. /// </summary>
  452. [pbr::OriginalName("BIG_CAR")] BigCar = 3,
  453. }
  454. /// <summary>
  455. ///
  456. ///流程中的步骤类型, 例如:停车流程包含5个步骤 , 分配车位-测量-检验结果-搬运-更新车位表
  457. /// </summary>
  458. public enum Step_type {
  459. [pbr::OriginalName("eAlloc_step")] EAllocStep = 0,
  460. [pbr::OriginalName("eMeasure_step")] EMeasureStep = 1,
  461. [pbr::OriginalName("eCompare_step")] ECompareStep = 2,
  462. [pbr::OriginalName("eDispatch_step")] EDispatchStep = 3,
  463. [pbr::OriginalName("eConfirm_step")] EConfirmStep = 4,
  464. /// <summary>
  465. ///查询数据库
  466. /// </summary>
  467. [pbr::OriginalName("eSearch_step")] ESearchStep = 5,
  468. /// <summary>
  469. ///等待车辆离开
  470. /// </summary>
  471. [pbr::OriginalName("eWait_step")] EWaitStep = 6,
  472. /// <summary>
  473. ///释放车位
  474. /// </summary>
  475. [pbr::OriginalName("eRelease_step")] EReleaseStep = 7,
  476. /// <summary>
  477. ///完成
  478. /// </summary>
  479. [pbr::OriginalName("eComplete")] EComplete = 8,
  480. [pbr::OriginalName("eBackConfirm_step")] EBackConfirmStep = 9,
  481. [pbr::OriginalName("eBack_compare_step")] EBackCompareStep = 10,
  482. [pbr::OriginalName("eBackMeasure_step")] EBackMeasureStep = 11,
  483. [pbr::OriginalName("eBackAlloc_step")] EBackAllocStep = 12,
  484. [pbr::OriginalName("eBackWait_step")] EBackWaitStep = 13,
  485. [pbr::OriginalName("eBackDispatch_step")] EBackDispatchStep = 14,
  486. [pbr::OriginalName("eBackSearch_step")] EBackSearchStep = 15,
  487. [pbr::OriginalName("eBackComplete")] EBackComplete = 16,
  488. }
  489. /// <summary>
  490. ///步骤状态,每个步骤有四中可能状态 ,等待中-执行中-完成或者错误 四个状态
  491. /// </summary>
  492. public enum Step_statu {
  493. /// <summary>
  494. ///完成/空闲
  495. /// </summary>
  496. [pbr::OriginalName("eWaiting")] EWaiting = 0,
  497. [pbr::OriginalName("eWorking")] EWorking = 1,
  498. [pbr::OriginalName("eError")] EError = 2,
  499. [pbr::OriginalName("eFinished")] EFinished = 3,
  500. }
  501. /// <summary>
  502. ///调度设备的类型
  503. /// </summary>
  504. public enum Dispatch_device_type {
  505. /// <summary>
  506. ///一号出口的专用机器手(只能负责1号出口的取车)(目前没有安装,暂时不考虑)
  507. /// </summary>
  508. [pbr::OriginalName("ROBOT_1")] Robot1 = 101,
  509. /// <summary>
  510. ///中间的大型机器手 (可以负责1~6号出入口的停车和取车)
  511. /// </summary>
  512. [pbr::OriginalName("ROBOT_2")] Robot2 = 102,
  513. /// <summary>
  514. ///左侧0号电梯井的搬运器(升降电梯 中跑车 小跑车 三合一为搬运器)
  515. /// </summary>
  516. [pbr::OriginalName("CARRIER_1")] Carrier1 = 200,
  517. /// <summary>
  518. ///右侧7号电梯井的搬运器(升降电梯 中跑车 小跑车 三合一为搬运器)
  519. /// </summary>
  520. [pbr::OriginalName("CARRIER_2")] Carrier2 = 207,
  521. /// <summary>
  522. ///中间3楼的搬运器(中跑车 小跑车 二合一为搬运器)(没有电梯, 只能在3楼活动)
  523. /// </summary>
  524. [pbr::OriginalName("CARRIER_3")] Carrier3 = 203,
  525. /// <summary>
  526. ///0号出口(在左侧电梯井, 只能取车)(暂时不存在)
  527. /// </summary>
  528. [pbr::OriginalName("PASSAGEWAY_0")] Passageway0 = 300,
  529. /// <summary>
  530. ///1号出入口
  531. /// </summary>
  532. [pbr::OriginalName("PASSAGEWAY_1")] Passageway1 = 301,
  533. /// <summary>
  534. ///2号出入口
  535. /// </summary>
  536. [pbr::OriginalName("PASSAGEWAY_2")] Passageway2 = 302,
  537. /// <summary>
  538. ///3号出入口
  539. /// </summary>
  540. [pbr::OriginalName("PASSAGEWAY_3")] Passageway3 = 303,
  541. /// <summary>
  542. ///4号出入口
  543. /// </summary>
  544. [pbr::OriginalName("PASSAGEWAY_4")] Passageway4 = 304,
  545. /// <summary>
  546. ///5号出入口
  547. /// </summary>
  548. [pbr::OriginalName("PASSAGEWAY_5")] Passageway5 = 305,
  549. /// <summary>
  550. ///6号出入口
  551. /// </summary>
  552. [pbr::OriginalName("PASSAGEWAY_6")] Passageway6 = 306,
  553. /// <summary>
  554. ///7号出口(在右侧电梯井, 只能取车)
  555. /// </summary>
  556. [pbr::OriginalName("PASSAGEWAY_7")] Passageway7 = 307,
  557. }
  558. #endregion
  559. #region Messages
  560. /// <summary>
  561. /////base message 用于解析未知类型的消息
  562. /// </summary>
  563. public sealed partial class Base_info : pb::IMessage<Base_info> {
  564. private static readonly pb::MessageParser<Base_info> _parser = new pb::MessageParser<Base_info>(() => new Base_info());
  565. private pb::UnknownFieldSet _unknownFields;
  566. private int _hasBits0;
  567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  568. public static pb::MessageParser<Base_info> Parser { get { return _parser; } }
  569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  570. public static pbr::MessageDescriptor Descriptor {
  571. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[0]; }
  572. }
  573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  574. pbr::MessageDescriptor pb::IMessage.Descriptor {
  575. get { return Descriptor; }
  576. }
  577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  578. public Base_info() {
  579. OnConstruction();
  580. }
  581. partial void OnConstruction();
  582. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  583. public Base_info(Base_info other) : this() {
  584. _hasBits0 = other._hasBits0;
  585. msgType_ = other.msgType_;
  586. timeoutMs_ = other.timeoutMs_;
  587. sender_ = other.sender_;
  588. receiver_ = other.receiver_;
  589. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  590. }
  591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  592. public Base_info Clone() {
  593. return new Base_info(this);
  594. }
  595. /// <summary>Field number for the "msg_type" field.</summary>
  596. public const int MsgTypeFieldNumber = 1;
  597. private readonly static global::Message.Message_type MsgTypeDefaultValue = global::Message.Message_type.EBaseMsg;
  598. private global::Message.Message_type msgType_;
  599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  600. public global::Message.Message_type MsgType {
  601. get { if ((_hasBits0 & 1) != 0) { return msgType_; } else { return MsgTypeDefaultValue; } }
  602. set {
  603. _hasBits0 |= 1;
  604. msgType_ = value;
  605. }
  606. }
  607. /// <summary>Gets whether the "msg_type" field is set</summary>
  608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  609. public bool HasMsgType {
  610. get { return (_hasBits0 & 1) != 0; }
  611. }
  612. /// <summary>Clears the value of the "msg_type" field</summary>
  613. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  614. public void ClearMsgType() {
  615. _hasBits0 &= ~1;
  616. }
  617. /// <summary>Field number for the "timeout_ms" field.</summary>
  618. public const int TimeoutMsFieldNumber = 2;
  619. private readonly static int TimeoutMsDefaultValue = 0;
  620. private int timeoutMs_;
  621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  622. public int TimeoutMs {
  623. get { if ((_hasBits0 & 2) != 0) { return timeoutMs_; } else { return TimeoutMsDefaultValue; } }
  624. set {
  625. _hasBits0 |= 2;
  626. timeoutMs_ = value;
  627. }
  628. }
  629. /// <summary>Gets whether the "timeout_ms" field is set</summary>
  630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  631. public bool HasTimeoutMs {
  632. get { return (_hasBits0 & 2) != 0; }
  633. }
  634. /// <summary>Clears the value of the "timeout_ms" field</summary>
  635. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  636. public void ClearTimeoutMs() {
  637. _hasBits0 &= ~2;
  638. }
  639. /// <summary>Field number for the "sender" field.</summary>
  640. public const int SenderFieldNumber = 3;
  641. private readonly static global::Message.Communicator SenderDefaultValue = global::Message.Communicator.EEmpty;
  642. private global::Message.Communicator sender_;
  643. /// <summary>
  644. ///发送者
  645. /// </summary>
  646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  647. public global::Message.Communicator Sender {
  648. get { if ((_hasBits0 & 4) != 0) { return sender_; } else { return SenderDefaultValue; } }
  649. set {
  650. _hasBits0 |= 4;
  651. sender_ = value;
  652. }
  653. }
  654. /// <summary>Gets whether the "sender" field is set</summary>
  655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  656. public bool HasSender {
  657. get { return (_hasBits0 & 4) != 0; }
  658. }
  659. /// <summary>Clears the value of the "sender" field</summary>
  660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  661. public void ClearSender() {
  662. _hasBits0 &= ~4;
  663. }
  664. /// <summary>Field number for the "receiver" field.</summary>
  665. public const int ReceiverFieldNumber = 4;
  666. private readonly static global::Message.Communicator ReceiverDefaultValue = global::Message.Communicator.EEmpty;
  667. private global::Message.Communicator receiver_;
  668. /// <summary>
  669. ///接收者
  670. /// </summary>
  671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  672. public global::Message.Communicator Receiver {
  673. get { if ((_hasBits0 & 8) != 0) { return receiver_; } else { return ReceiverDefaultValue; } }
  674. set {
  675. _hasBits0 |= 8;
  676. receiver_ = value;
  677. }
  678. }
  679. /// <summary>Gets whether the "receiver" field is set</summary>
  680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  681. public bool HasReceiver {
  682. get { return (_hasBits0 & 8) != 0; }
  683. }
  684. /// <summary>Clears the value of the "receiver" field</summary>
  685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  686. public void ClearReceiver() {
  687. _hasBits0 &= ~8;
  688. }
  689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  690. public override bool Equals(object other) {
  691. return Equals(other as Base_info);
  692. }
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. public bool Equals(Base_info other) {
  695. if (ReferenceEquals(other, null)) {
  696. return false;
  697. }
  698. if (ReferenceEquals(other, this)) {
  699. return true;
  700. }
  701. if (MsgType != other.MsgType) return false;
  702. if (TimeoutMs != other.TimeoutMs) return false;
  703. if (Sender != other.Sender) return false;
  704. if (Receiver != other.Receiver) return false;
  705. return Equals(_unknownFields, other._unknownFields);
  706. }
  707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  708. public override int GetHashCode() {
  709. int hash = 1;
  710. if (HasMsgType) hash ^= MsgType.GetHashCode();
  711. if (HasTimeoutMs) hash ^= TimeoutMs.GetHashCode();
  712. if (HasSender) hash ^= Sender.GetHashCode();
  713. if (HasReceiver) hash ^= Receiver.GetHashCode();
  714. if (_unknownFields != null) {
  715. hash ^= _unknownFields.GetHashCode();
  716. }
  717. return hash;
  718. }
  719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  720. public override string ToString() {
  721. return pb::JsonFormatter.ToDiagnosticString(this);
  722. }
  723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  724. public void WriteTo(pb::CodedOutputStream output) {
  725. if (HasMsgType) {
  726. output.WriteRawTag(8);
  727. output.WriteEnum((int) MsgType);
  728. }
  729. if (HasTimeoutMs) {
  730. output.WriteRawTag(16);
  731. output.WriteInt32(TimeoutMs);
  732. }
  733. if (HasSender) {
  734. output.WriteRawTag(24);
  735. output.WriteEnum((int) Sender);
  736. }
  737. if (HasReceiver) {
  738. output.WriteRawTag(32);
  739. output.WriteEnum((int) Receiver);
  740. }
  741. if (_unknownFields != null) {
  742. _unknownFields.WriteTo(output);
  743. }
  744. }
  745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  746. public int CalculateSize() {
  747. int size = 0;
  748. if (HasMsgType) {
  749. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MsgType);
  750. }
  751. if (HasTimeoutMs) {
  752. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeoutMs);
  753. }
  754. if (HasSender) {
  755. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Sender);
  756. }
  757. if (HasReceiver) {
  758. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Receiver);
  759. }
  760. if (_unknownFields != null) {
  761. size += _unknownFields.CalculateSize();
  762. }
  763. return size;
  764. }
  765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  766. public void MergeFrom(Base_info other) {
  767. if (other == null) {
  768. return;
  769. }
  770. if (other.HasMsgType) {
  771. MsgType = other.MsgType;
  772. }
  773. if (other.HasTimeoutMs) {
  774. TimeoutMs = other.TimeoutMs;
  775. }
  776. if (other.HasSender) {
  777. Sender = other.Sender;
  778. }
  779. if (other.HasReceiver) {
  780. Receiver = other.Receiver;
  781. }
  782. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  783. }
  784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  785. public void MergeFrom(pb::CodedInputStream input) {
  786. uint tag;
  787. while ((tag = input.ReadTag()) != 0) {
  788. switch(tag) {
  789. default:
  790. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  791. break;
  792. case 8: {
  793. MsgType = (global::Message.Message_type) input.ReadEnum();
  794. break;
  795. }
  796. case 16: {
  797. TimeoutMs = input.ReadInt32();
  798. break;
  799. }
  800. case 24: {
  801. Sender = (global::Message.Communicator) input.ReadEnum();
  802. break;
  803. }
  804. case 32: {
  805. Receiver = (global::Message.Communicator) input.ReadEnum();
  806. break;
  807. }
  808. }
  809. }
  810. }
  811. }
  812. public sealed partial class Base_msg : pb::IMessage<Base_msg> {
  813. private static readonly pb::MessageParser<Base_msg> _parser = new pb::MessageParser<Base_msg>(() => new Base_msg());
  814. private pb::UnknownFieldSet _unknownFields;
  815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  816. public static pb::MessageParser<Base_msg> Parser { get { return _parser; } }
  817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  818. public static pbr::MessageDescriptor Descriptor {
  819. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[1]; }
  820. }
  821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  822. pbr::MessageDescriptor pb::IMessage.Descriptor {
  823. get { return Descriptor; }
  824. }
  825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  826. public Base_msg() {
  827. OnConstruction();
  828. }
  829. partial void OnConstruction();
  830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  831. public Base_msg(Base_msg other) : this() {
  832. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  833. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  834. }
  835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  836. public Base_msg Clone() {
  837. return new Base_msg(this);
  838. }
  839. /// <summary>Field number for the "base_info" field.</summary>
  840. public const int BaseInfoFieldNumber = 1;
  841. private global::Message.Base_info baseInfo_;
  842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  843. public global::Message.Base_info BaseInfo {
  844. get { return baseInfo_; }
  845. set {
  846. baseInfo_ = value;
  847. }
  848. }
  849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  850. public override bool Equals(object other) {
  851. return Equals(other as Base_msg);
  852. }
  853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  854. public bool Equals(Base_msg other) {
  855. if (ReferenceEquals(other, null)) {
  856. return false;
  857. }
  858. if (ReferenceEquals(other, this)) {
  859. return true;
  860. }
  861. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  862. return Equals(_unknownFields, other._unknownFields);
  863. }
  864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  865. public override int GetHashCode() {
  866. int hash = 1;
  867. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  868. if (_unknownFields != null) {
  869. hash ^= _unknownFields.GetHashCode();
  870. }
  871. return hash;
  872. }
  873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  874. public override string ToString() {
  875. return pb::JsonFormatter.ToDiagnosticString(this);
  876. }
  877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  878. public void WriteTo(pb::CodedOutputStream output) {
  879. if (baseInfo_ != null) {
  880. output.WriteRawTag(10);
  881. output.WriteMessage(BaseInfo);
  882. }
  883. if (_unknownFields != null) {
  884. _unknownFields.WriteTo(output);
  885. }
  886. }
  887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  888. public int CalculateSize() {
  889. int size = 0;
  890. if (baseInfo_ != null) {
  891. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  892. }
  893. if (_unknownFields != null) {
  894. size += _unknownFields.CalculateSize();
  895. }
  896. return size;
  897. }
  898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  899. public void MergeFrom(Base_msg other) {
  900. if (other == null) {
  901. return;
  902. }
  903. if (other.baseInfo_ != null) {
  904. if (baseInfo_ == null) {
  905. BaseInfo = new global::Message.Base_info();
  906. }
  907. BaseInfo.MergeFrom(other.BaseInfo);
  908. }
  909. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  910. }
  911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  912. public void MergeFrom(pb::CodedInputStream input) {
  913. uint tag;
  914. while ((tag = input.ReadTag()) != 0) {
  915. switch(tag) {
  916. default:
  917. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  918. break;
  919. case 10: {
  920. if (baseInfo_ == null) {
  921. BaseInfo = new global::Message.Base_info();
  922. }
  923. input.ReadMessage(BaseInfo);
  924. break;
  925. }
  926. }
  927. }
  928. }
  929. }
  930. public sealed partial class Error_manager : pb::IMessage<Error_manager> {
  931. private static readonly pb::MessageParser<Error_manager> _parser = new pb::MessageParser<Error_manager>(() => new Error_manager());
  932. private pb::UnknownFieldSet _unknownFields;
  933. private int _hasBits0;
  934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  935. public static pb::MessageParser<Error_manager> Parser { get { return _parser; } }
  936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  937. public static pbr::MessageDescriptor Descriptor {
  938. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[2]; }
  939. }
  940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  941. pbr::MessageDescriptor pb::IMessage.Descriptor {
  942. get { return Descriptor; }
  943. }
  944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  945. public Error_manager() {
  946. OnConstruction();
  947. }
  948. partial void OnConstruction();
  949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  950. public Error_manager(Error_manager other) : this() {
  951. _hasBits0 = other._hasBits0;
  952. errorCode_ = other.errorCode_;
  953. errorLevel_ = other.errorLevel_;
  954. errorDescription_ = other.errorDescription_;
  955. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  956. }
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  958. public Error_manager Clone() {
  959. return new Error_manager(this);
  960. }
  961. /// <summary>Field number for the "error_code" field.</summary>
  962. public const int ErrorCodeFieldNumber = 1;
  963. private readonly static int ErrorCodeDefaultValue = 0;
  964. private int errorCode_;
  965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  966. public int ErrorCode {
  967. get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } }
  968. set {
  969. _hasBits0 |= 1;
  970. errorCode_ = value;
  971. }
  972. }
  973. /// <summary>Gets whether the "error_code" field is set</summary>
  974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  975. public bool HasErrorCode {
  976. get { return (_hasBits0 & 1) != 0; }
  977. }
  978. /// <summary>Clears the value of the "error_code" field</summary>
  979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  980. public void ClearErrorCode() {
  981. _hasBits0 &= ~1;
  982. }
  983. /// <summary>Field number for the "error_level" field.</summary>
  984. public const int ErrorLevelFieldNumber = 2;
  985. private readonly static global::Message.Error_level ErrorLevelDefaultValue = global::Message.Error_level.Normal;
  986. private global::Message.Error_level errorLevel_;
  987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  988. public global::Message.Error_level ErrorLevel {
  989. get { if ((_hasBits0 & 2) != 0) { return errorLevel_; } else { return ErrorLevelDefaultValue; } }
  990. set {
  991. _hasBits0 |= 2;
  992. errorLevel_ = value;
  993. }
  994. }
  995. /// <summary>Gets whether the "error_level" field is set</summary>
  996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  997. public bool HasErrorLevel {
  998. get { return (_hasBits0 & 2) != 0; }
  999. }
  1000. /// <summary>Clears the value of the "error_level" field</summary>
  1001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1002. public void ClearErrorLevel() {
  1003. _hasBits0 &= ~2;
  1004. }
  1005. /// <summary>Field number for the "error_description" field.</summary>
  1006. public const int ErrorDescriptionFieldNumber = 3;
  1007. private readonly static string ErrorDescriptionDefaultValue = "";
  1008. private string errorDescription_;
  1009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1010. public string ErrorDescription {
  1011. get { return errorDescription_ ?? ErrorDescriptionDefaultValue; }
  1012. set {
  1013. errorDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1014. }
  1015. }
  1016. /// <summary>Gets whether the "error_description" field is set</summary>
  1017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1018. public bool HasErrorDescription {
  1019. get { return errorDescription_ != null; }
  1020. }
  1021. /// <summary>Clears the value of the "error_description" field</summary>
  1022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1023. public void ClearErrorDescription() {
  1024. errorDescription_ = null;
  1025. }
  1026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1027. public override bool Equals(object other) {
  1028. return Equals(other as Error_manager);
  1029. }
  1030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1031. public bool Equals(Error_manager other) {
  1032. if (ReferenceEquals(other, null)) {
  1033. return false;
  1034. }
  1035. if (ReferenceEquals(other, this)) {
  1036. return true;
  1037. }
  1038. if (ErrorCode != other.ErrorCode) return false;
  1039. if (ErrorLevel != other.ErrorLevel) return false;
  1040. if (ErrorDescription != other.ErrorDescription) return false;
  1041. return Equals(_unknownFields, other._unknownFields);
  1042. }
  1043. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1044. public override int GetHashCode() {
  1045. int hash = 1;
  1046. if (HasErrorCode) hash ^= ErrorCode.GetHashCode();
  1047. if (HasErrorLevel) hash ^= ErrorLevel.GetHashCode();
  1048. if (HasErrorDescription) hash ^= ErrorDescription.GetHashCode();
  1049. if (_unknownFields != null) {
  1050. hash ^= _unknownFields.GetHashCode();
  1051. }
  1052. return hash;
  1053. }
  1054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1055. public override string ToString() {
  1056. return pb::JsonFormatter.ToDiagnosticString(this);
  1057. }
  1058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1059. public void WriteTo(pb::CodedOutputStream output) {
  1060. if (HasErrorCode) {
  1061. output.WriteRawTag(8);
  1062. output.WriteInt32(ErrorCode);
  1063. }
  1064. if (HasErrorLevel) {
  1065. output.WriteRawTag(16);
  1066. output.WriteEnum((int) ErrorLevel);
  1067. }
  1068. if (HasErrorDescription) {
  1069. output.WriteRawTag(26);
  1070. output.WriteString(ErrorDescription);
  1071. }
  1072. if (_unknownFields != null) {
  1073. _unknownFields.WriteTo(output);
  1074. }
  1075. }
  1076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1077. public int CalculateSize() {
  1078. int size = 0;
  1079. if (HasErrorCode) {
  1080. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ErrorCode);
  1081. }
  1082. if (HasErrorLevel) {
  1083. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorLevel);
  1084. }
  1085. if (HasErrorDescription) {
  1086. size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorDescription);
  1087. }
  1088. if (_unknownFields != null) {
  1089. size += _unknownFields.CalculateSize();
  1090. }
  1091. return size;
  1092. }
  1093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1094. public void MergeFrom(Error_manager other) {
  1095. if (other == null) {
  1096. return;
  1097. }
  1098. if (other.HasErrorCode) {
  1099. ErrorCode = other.ErrorCode;
  1100. }
  1101. if (other.HasErrorLevel) {
  1102. ErrorLevel = other.ErrorLevel;
  1103. }
  1104. if (other.HasErrorDescription) {
  1105. ErrorDescription = other.ErrorDescription;
  1106. }
  1107. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1108. }
  1109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1110. public void MergeFrom(pb::CodedInputStream input) {
  1111. uint tag;
  1112. while ((tag = input.ReadTag()) != 0) {
  1113. switch(tag) {
  1114. default:
  1115. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1116. break;
  1117. case 8: {
  1118. ErrorCode = input.ReadInt32();
  1119. break;
  1120. }
  1121. case 16: {
  1122. ErrorLevel = (global::Message.Error_level) input.ReadEnum();
  1123. break;
  1124. }
  1125. case 26: {
  1126. ErrorDescription = input.ReadString();
  1127. break;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. }
  1133. /// <summary>
  1134. ///测量结果结构体
  1135. /// </summary>
  1136. public sealed partial class Locate_information : pb::IMessage<Locate_information> {
  1137. private static readonly pb::MessageParser<Locate_information> _parser = new pb::MessageParser<Locate_information>(() => new Locate_information());
  1138. private pb::UnknownFieldSet _unknownFields;
  1139. private int _hasBits0;
  1140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1141. public static pb::MessageParser<Locate_information> Parser { get { return _parser; } }
  1142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1143. public static pbr::MessageDescriptor Descriptor {
  1144. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[3]; }
  1145. }
  1146. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1147. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1148. get { return Descriptor; }
  1149. }
  1150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1151. public Locate_information() {
  1152. OnConstruction();
  1153. }
  1154. partial void OnConstruction();
  1155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1156. public Locate_information(Locate_information other) : this() {
  1157. _hasBits0 = other._hasBits0;
  1158. locateX_ = other.locateX_;
  1159. locateY_ = other.locateY_;
  1160. locateAngle_ = other.locateAngle_;
  1161. locateLength_ = other.locateLength_;
  1162. locateWidth_ = other.locateWidth_;
  1163. locateHeight_ = other.locateHeight_;
  1164. locateWheelBase_ = other.locateWheelBase_;
  1165. locateWheelWidth_ = other.locateWheelWidth_;
  1166. locateCorrect_ = other.locateCorrect_;
  1167. locateFrontTheta_ = other.locateFrontTheta_;
  1168. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1169. }
  1170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1171. public Locate_information Clone() {
  1172. return new Locate_information(this);
  1173. }
  1174. /// <summary>Field number for the "locate_x" field.</summary>
  1175. public const int LocateXFieldNumber = 1;
  1176. private readonly static float LocateXDefaultValue = 0F;
  1177. private float locateX_;
  1178. /// <summary>
  1179. ///整车的中心点x值; 四轮的中心
  1180. /// </summary>
  1181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1182. public float LocateX {
  1183. get { if ((_hasBits0 & 1) != 0) { return locateX_; } else { return LocateXDefaultValue; } }
  1184. set {
  1185. _hasBits0 |= 1;
  1186. locateX_ = value;
  1187. }
  1188. }
  1189. /// <summary>Gets whether the "locate_x" field is set</summary>
  1190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1191. public bool HasLocateX {
  1192. get { return (_hasBits0 & 1) != 0; }
  1193. }
  1194. /// <summary>Clears the value of the "locate_x" field</summary>
  1195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1196. public void ClearLocateX() {
  1197. _hasBits0 &= ~1;
  1198. }
  1199. /// <summary>Field number for the "locate_y" field.</summary>
  1200. public const int LocateYFieldNumber = 2;
  1201. private readonly static float LocateYDefaultValue = 0F;
  1202. private float locateY_;
  1203. /// <summary>
  1204. ///整车的中心点y值; 四轮的中心
  1205. /// </summary>
  1206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1207. public float LocateY {
  1208. get { if ((_hasBits0 & 2) != 0) { return locateY_; } else { return LocateYDefaultValue; } }
  1209. set {
  1210. _hasBits0 |= 2;
  1211. locateY_ = value;
  1212. }
  1213. }
  1214. /// <summary>Gets whether the "locate_y" field is set</summary>
  1215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1216. public bool HasLocateY {
  1217. get { return (_hasBits0 & 2) != 0; }
  1218. }
  1219. /// <summary>Clears the value of the "locate_y" field</summary>
  1220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1221. public void ClearLocateY() {
  1222. _hasBits0 &= ~2;
  1223. }
  1224. /// <summary>Field number for the "locate_angle" field.</summary>
  1225. public const int LocateAngleFieldNumber = 3;
  1226. private readonly static float LocateAngleDefaultValue = 0F;
  1227. private float locateAngle_;
  1228. /// <summary>
  1229. ///整车的旋转角; 四轮的旋转角
  1230. /// </summary>
  1231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1232. public float LocateAngle {
  1233. get { if ((_hasBits0 & 4) != 0) { return locateAngle_; } else { return LocateAngleDefaultValue; } }
  1234. set {
  1235. _hasBits0 |= 4;
  1236. locateAngle_ = value;
  1237. }
  1238. }
  1239. /// <summary>Gets whether the "locate_angle" field is set</summary>
  1240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1241. public bool HasLocateAngle {
  1242. get { return (_hasBits0 & 4) != 0; }
  1243. }
  1244. /// <summary>Clears the value of the "locate_angle" field</summary>
  1245. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1246. public void ClearLocateAngle() {
  1247. _hasBits0 &= ~4;
  1248. }
  1249. /// <summary>Field number for the "locate_length" field.</summary>
  1250. public const int LocateLengthFieldNumber = 4;
  1251. private readonly static float LocateLengthDefaultValue = 0F;
  1252. private float locateLength_;
  1253. /// <summary>
  1254. ///整车的长度; 用于规避碰撞
  1255. /// </summary>
  1256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1257. public float LocateLength {
  1258. get { if ((_hasBits0 & 8) != 0) { return locateLength_; } else { return LocateLengthDefaultValue; } }
  1259. set {
  1260. _hasBits0 |= 8;
  1261. locateLength_ = value;
  1262. }
  1263. }
  1264. /// <summary>Gets whether the "locate_length" field is set</summary>
  1265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1266. public bool HasLocateLength {
  1267. get { return (_hasBits0 & 8) != 0; }
  1268. }
  1269. /// <summary>Clears the value of the "locate_length" field</summary>
  1270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1271. public void ClearLocateLength() {
  1272. _hasBits0 &= ~8;
  1273. }
  1274. /// <summary>Field number for the "locate_width" field.</summary>
  1275. public const int LocateWidthFieldNumber = 5;
  1276. private readonly static float LocateWidthDefaultValue = 0F;
  1277. private float locateWidth_;
  1278. /// <summary>
  1279. ///整车的宽度; 用于规避碰撞
  1280. /// </summary>
  1281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1282. public float LocateWidth {
  1283. get { if ((_hasBits0 & 16) != 0) { return locateWidth_; } else { return LocateWidthDefaultValue; } }
  1284. set {
  1285. _hasBits0 |= 16;
  1286. locateWidth_ = value;
  1287. }
  1288. }
  1289. /// <summary>Gets whether the "locate_width" field is set</summary>
  1290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1291. public bool HasLocateWidth {
  1292. get { return (_hasBits0 & 16) != 0; }
  1293. }
  1294. /// <summary>Clears the value of the "locate_width" field</summary>
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. public void ClearLocateWidth() {
  1297. _hasBits0 &= ~16;
  1298. }
  1299. /// <summary>Field number for the "locate_height" field.</summary>
  1300. public const int LocateHeightFieldNumber = 6;
  1301. private readonly static float LocateHeightDefaultValue = 0F;
  1302. private float locateHeight_;
  1303. /// <summary>
  1304. ///整车的高度; 用于规避碰撞
  1305. /// </summary>
  1306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1307. public float LocateHeight {
  1308. get { if ((_hasBits0 & 32) != 0) { return locateHeight_; } else { return LocateHeightDefaultValue; } }
  1309. set {
  1310. _hasBits0 |= 32;
  1311. locateHeight_ = value;
  1312. }
  1313. }
  1314. /// <summary>Gets whether the "locate_height" field is set</summary>
  1315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1316. public bool HasLocateHeight {
  1317. get { return (_hasBits0 & 32) != 0; }
  1318. }
  1319. /// <summary>Clears the value of the "locate_height" field</summary>
  1320. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1321. public void ClearLocateHeight() {
  1322. _hasBits0 &= ~32;
  1323. }
  1324. /// <summary>Field number for the "locate_wheel_base" field.</summary>
  1325. public const int LocateWheelBaseFieldNumber = 7;
  1326. private readonly static float LocateWheelBaseDefaultValue = 0F;
  1327. private float locateWheelBase_;
  1328. /// <summary>
  1329. ///整车的轮距; 前后轮的距离; 用于机器人或agv的抓车
  1330. /// </summary>
  1331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1332. public float LocateWheelBase {
  1333. get { if ((_hasBits0 & 64) != 0) { return locateWheelBase_; } else { return LocateWheelBaseDefaultValue; } }
  1334. set {
  1335. _hasBits0 |= 64;
  1336. locateWheelBase_ = value;
  1337. }
  1338. }
  1339. /// <summary>Gets whether the "locate_wheel_base" field is set</summary>
  1340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1341. public bool HasLocateWheelBase {
  1342. get { return (_hasBits0 & 64) != 0; }
  1343. }
  1344. /// <summary>Clears the value of the "locate_wheel_base" field</summary>
  1345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1346. public void ClearLocateWheelBase() {
  1347. _hasBits0 &= ~64;
  1348. }
  1349. /// <summary>Field number for the "locate_wheel_width" field.</summary>
  1350. public const int LocateWheelWidthFieldNumber = 8;
  1351. private readonly static float LocateWheelWidthDefaultValue = 0F;
  1352. private float locateWheelWidth_;
  1353. /// <summary>
  1354. ///整车的轮距; 左右轮的距离; 用于机器人或agv的抓车
  1355. /// </summary>
  1356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1357. public float LocateWheelWidth {
  1358. get { if ((_hasBits0 & 128) != 0) { return locateWheelWidth_; } else { return LocateWheelWidthDefaultValue; } }
  1359. set {
  1360. _hasBits0 |= 128;
  1361. locateWheelWidth_ = value;
  1362. }
  1363. }
  1364. /// <summary>Gets whether the "locate_wheel_width" field is set</summary>
  1365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1366. public bool HasLocateWheelWidth {
  1367. get { return (_hasBits0 & 128) != 0; }
  1368. }
  1369. /// <summary>Clears the value of the "locate_wheel_width" field</summary>
  1370. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1371. public void ClearLocateWheelWidth() {
  1372. _hasBits0 &= ~128;
  1373. }
  1374. /// <summary>Field number for the "locate_correct" field.</summary>
  1375. public const int LocateCorrectFieldNumber = 9;
  1376. private readonly static bool LocateCorrectDefaultValue = false;
  1377. private bool locateCorrect_;
  1378. /// <summary>
  1379. ///整车的校准标记位
  1380. /// </summary>
  1381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1382. public bool LocateCorrect {
  1383. get { if ((_hasBits0 & 256) != 0) { return locateCorrect_; } else { return LocateCorrectDefaultValue; } }
  1384. set {
  1385. _hasBits0 |= 256;
  1386. locateCorrect_ = value;
  1387. }
  1388. }
  1389. /// <summary>Gets whether the "locate_correct" field is set</summary>
  1390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1391. public bool HasLocateCorrect {
  1392. get { return (_hasBits0 & 256) != 0; }
  1393. }
  1394. /// <summary>Clears the value of the "locate_correct" field</summary>
  1395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1396. public void ClearLocateCorrect() {
  1397. _hasBits0 &= ~256;
  1398. }
  1399. /// <summary>Field number for the "locate_front_theta" field.</summary>
  1400. public const int LocateFrontThetaFieldNumber = 10;
  1401. private readonly static float LocateFrontThetaDefaultValue = 0F;
  1402. private float locateFrontTheta_;
  1403. /// <summary>
  1404. ///整车的前轮的旋转角
  1405. /// </summary>
  1406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1407. public float LocateFrontTheta {
  1408. get { if ((_hasBits0 & 512) != 0) { return locateFrontTheta_; } else { return LocateFrontThetaDefaultValue; } }
  1409. set {
  1410. _hasBits0 |= 512;
  1411. locateFrontTheta_ = value;
  1412. }
  1413. }
  1414. /// <summary>Gets whether the "locate_front_theta" field is set</summary>
  1415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1416. public bool HasLocateFrontTheta {
  1417. get { return (_hasBits0 & 512) != 0; }
  1418. }
  1419. /// <summary>Clears the value of the "locate_front_theta" field</summary>
  1420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1421. public void ClearLocateFrontTheta() {
  1422. _hasBits0 &= ~512;
  1423. }
  1424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1425. public override bool Equals(object other) {
  1426. return Equals(other as Locate_information);
  1427. }
  1428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1429. public bool Equals(Locate_information other) {
  1430. if (ReferenceEquals(other, null)) {
  1431. return false;
  1432. }
  1433. if (ReferenceEquals(other, this)) {
  1434. return true;
  1435. }
  1436. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateX, other.LocateX)) return false;
  1437. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateY, other.LocateY)) return false;
  1438. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateAngle, other.LocateAngle)) return false;
  1439. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateLength, other.LocateLength)) return false;
  1440. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWidth, other.LocateWidth)) return false;
  1441. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateHeight, other.LocateHeight)) return false;
  1442. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWheelBase, other.LocateWheelBase)) return false;
  1443. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWheelWidth, other.LocateWheelWidth)) return false;
  1444. if (LocateCorrect != other.LocateCorrect) return false;
  1445. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateFrontTheta, other.LocateFrontTheta)) return false;
  1446. return Equals(_unknownFields, other._unknownFields);
  1447. }
  1448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1449. public override int GetHashCode() {
  1450. int hash = 1;
  1451. if (HasLocateX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateX);
  1452. if (HasLocateY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateY);
  1453. if (HasLocateAngle) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateAngle);
  1454. if (HasLocateLength) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateLength);
  1455. if (HasLocateWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWidth);
  1456. if (HasLocateHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateHeight);
  1457. if (HasLocateWheelBase) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWheelBase);
  1458. if (HasLocateWheelWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWheelWidth);
  1459. if (HasLocateCorrect) hash ^= LocateCorrect.GetHashCode();
  1460. if (HasLocateFrontTheta) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateFrontTheta);
  1461. if (_unknownFields != null) {
  1462. hash ^= _unknownFields.GetHashCode();
  1463. }
  1464. return hash;
  1465. }
  1466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1467. public override string ToString() {
  1468. return pb::JsonFormatter.ToDiagnosticString(this);
  1469. }
  1470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1471. public void WriteTo(pb::CodedOutputStream output) {
  1472. if (HasLocateX) {
  1473. output.WriteRawTag(13);
  1474. output.WriteFloat(LocateX);
  1475. }
  1476. if (HasLocateY) {
  1477. output.WriteRawTag(21);
  1478. output.WriteFloat(LocateY);
  1479. }
  1480. if (HasLocateAngle) {
  1481. output.WriteRawTag(29);
  1482. output.WriteFloat(LocateAngle);
  1483. }
  1484. if (HasLocateLength) {
  1485. output.WriteRawTag(37);
  1486. output.WriteFloat(LocateLength);
  1487. }
  1488. if (HasLocateWidth) {
  1489. output.WriteRawTag(45);
  1490. output.WriteFloat(LocateWidth);
  1491. }
  1492. if (HasLocateHeight) {
  1493. output.WriteRawTag(53);
  1494. output.WriteFloat(LocateHeight);
  1495. }
  1496. if (HasLocateWheelBase) {
  1497. output.WriteRawTag(61);
  1498. output.WriteFloat(LocateWheelBase);
  1499. }
  1500. if (HasLocateWheelWidth) {
  1501. output.WriteRawTag(69);
  1502. output.WriteFloat(LocateWheelWidth);
  1503. }
  1504. if (HasLocateCorrect) {
  1505. output.WriteRawTag(72);
  1506. output.WriteBool(LocateCorrect);
  1507. }
  1508. if (HasLocateFrontTheta) {
  1509. output.WriteRawTag(85);
  1510. output.WriteFloat(LocateFrontTheta);
  1511. }
  1512. if (_unknownFields != null) {
  1513. _unknownFields.WriteTo(output);
  1514. }
  1515. }
  1516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1517. public int CalculateSize() {
  1518. int size = 0;
  1519. if (HasLocateX) {
  1520. size += 1 + 4;
  1521. }
  1522. if (HasLocateY) {
  1523. size += 1 + 4;
  1524. }
  1525. if (HasLocateAngle) {
  1526. size += 1 + 4;
  1527. }
  1528. if (HasLocateLength) {
  1529. size += 1 + 4;
  1530. }
  1531. if (HasLocateWidth) {
  1532. size += 1 + 4;
  1533. }
  1534. if (HasLocateHeight) {
  1535. size += 1 + 4;
  1536. }
  1537. if (HasLocateWheelBase) {
  1538. size += 1 + 4;
  1539. }
  1540. if (HasLocateWheelWidth) {
  1541. size += 1 + 4;
  1542. }
  1543. if (HasLocateCorrect) {
  1544. size += 1 + 1;
  1545. }
  1546. if (HasLocateFrontTheta) {
  1547. size += 1 + 4;
  1548. }
  1549. if (_unknownFields != null) {
  1550. size += _unknownFields.CalculateSize();
  1551. }
  1552. return size;
  1553. }
  1554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1555. public void MergeFrom(Locate_information other) {
  1556. if (other == null) {
  1557. return;
  1558. }
  1559. if (other.HasLocateX) {
  1560. LocateX = other.LocateX;
  1561. }
  1562. if (other.HasLocateY) {
  1563. LocateY = other.LocateY;
  1564. }
  1565. if (other.HasLocateAngle) {
  1566. LocateAngle = other.LocateAngle;
  1567. }
  1568. if (other.HasLocateLength) {
  1569. LocateLength = other.LocateLength;
  1570. }
  1571. if (other.HasLocateWidth) {
  1572. LocateWidth = other.LocateWidth;
  1573. }
  1574. if (other.HasLocateHeight) {
  1575. LocateHeight = other.LocateHeight;
  1576. }
  1577. if (other.HasLocateWheelBase) {
  1578. LocateWheelBase = other.LocateWheelBase;
  1579. }
  1580. if (other.HasLocateWheelWidth) {
  1581. LocateWheelWidth = other.LocateWheelWidth;
  1582. }
  1583. if (other.HasLocateCorrect) {
  1584. LocateCorrect = other.LocateCorrect;
  1585. }
  1586. if (other.HasLocateFrontTheta) {
  1587. LocateFrontTheta = other.LocateFrontTheta;
  1588. }
  1589. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1590. }
  1591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1592. public void MergeFrom(pb::CodedInputStream input) {
  1593. uint tag;
  1594. while ((tag = input.ReadTag()) != 0) {
  1595. switch(tag) {
  1596. default:
  1597. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1598. break;
  1599. case 13: {
  1600. LocateX = input.ReadFloat();
  1601. break;
  1602. }
  1603. case 21: {
  1604. LocateY = input.ReadFloat();
  1605. break;
  1606. }
  1607. case 29: {
  1608. LocateAngle = input.ReadFloat();
  1609. break;
  1610. }
  1611. case 37: {
  1612. LocateLength = input.ReadFloat();
  1613. break;
  1614. }
  1615. case 45: {
  1616. LocateWidth = input.ReadFloat();
  1617. break;
  1618. }
  1619. case 53: {
  1620. LocateHeight = input.ReadFloat();
  1621. break;
  1622. }
  1623. case 61: {
  1624. LocateWheelBase = input.ReadFloat();
  1625. break;
  1626. }
  1627. case 69: {
  1628. LocateWheelWidth = input.ReadFloat();
  1629. break;
  1630. }
  1631. case 72: {
  1632. LocateCorrect = input.ReadBool();
  1633. break;
  1634. }
  1635. case 85: {
  1636. LocateFrontTheta = input.ReadFloat();
  1637. break;
  1638. }
  1639. }
  1640. }
  1641. }
  1642. }
  1643. /// <summary>
  1644. ///车辆基本信息
  1645. /// </summary>
  1646. public sealed partial class Car_info : pb::IMessage<Car_info> {
  1647. private static readonly pb::MessageParser<Car_info> _parser = new pb::MessageParser<Car_info>(() => new Car_info());
  1648. private pb::UnknownFieldSet _unknownFields;
  1649. private int _hasBits0;
  1650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1651. public static pb::MessageParser<Car_info> Parser { get { return _parser; } }
  1652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1653. public static pbr::MessageDescriptor Descriptor {
  1654. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[4]; }
  1655. }
  1656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1657. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1658. get { return Descriptor; }
  1659. }
  1660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1661. public Car_info() {
  1662. OnConstruction();
  1663. }
  1664. partial void OnConstruction();
  1665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1666. public Car_info(Car_info other) : this() {
  1667. _hasBits0 = other._hasBits0;
  1668. carLength_ = other.carLength_;
  1669. carWidth_ = other.carWidth_;
  1670. carHeight_ = other.carHeight_;
  1671. license_ = other.license_;
  1672. carWheelBase_ = other.carWheelBase_;
  1673. carWheelWidth_ = other.carWheelWidth_;
  1674. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1675. }
  1676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1677. public Car_info Clone() {
  1678. return new Car_info(this);
  1679. }
  1680. /// <summary>Field number for the "car_length" field.</summary>
  1681. public const int CarLengthFieldNumber = 1;
  1682. private readonly static float CarLengthDefaultValue = 0F;
  1683. private float carLength_;
  1684. /// <summary>
  1685. ///车长
  1686. /// </summary>
  1687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1688. public float CarLength {
  1689. get { if ((_hasBits0 & 1) != 0) { return carLength_; } else { return CarLengthDefaultValue; } }
  1690. set {
  1691. _hasBits0 |= 1;
  1692. carLength_ = value;
  1693. }
  1694. }
  1695. /// <summary>Gets whether the "car_length" field is set</summary>
  1696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1697. public bool HasCarLength {
  1698. get { return (_hasBits0 & 1) != 0; }
  1699. }
  1700. /// <summary>Clears the value of the "car_length" field</summary>
  1701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1702. public void ClearCarLength() {
  1703. _hasBits0 &= ~1;
  1704. }
  1705. /// <summary>Field number for the "car_width" field.</summary>
  1706. public const int CarWidthFieldNumber = 2;
  1707. private readonly static float CarWidthDefaultValue = 0F;
  1708. private float carWidth_;
  1709. /// <summary>
  1710. ///车宽
  1711. /// </summary>
  1712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1713. public float CarWidth {
  1714. get { if ((_hasBits0 & 2) != 0) { return carWidth_; } else { return CarWidthDefaultValue; } }
  1715. set {
  1716. _hasBits0 |= 2;
  1717. carWidth_ = value;
  1718. }
  1719. }
  1720. /// <summary>Gets whether the "car_width" field is set</summary>
  1721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1722. public bool HasCarWidth {
  1723. get { return (_hasBits0 & 2) != 0; }
  1724. }
  1725. /// <summary>Clears the value of the "car_width" field</summary>
  1726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1727. public void ClearCarWidth() {
  1728. _hasBits0 &= ~2;
  1729. }
  1730. /// <summary>Field number for the "car_height" field.</summary>
  1731. public const int CarHeightFieldNumber = 3;
  1732. private readonly static float CarHeightDefaultValue = 0F;
  1733. private float carHeight_;
  1734. /// <summary>
  1735. ///车高
  1736. /// </summary>
  1737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1738. public float CarHeight {
  1739. get { if ((_hasBits0 & 4) != 0) { return carHeight_; } else { return CarHeightDefaultValue; } }
  1740. set {
  1741. _hasBits0 |= 4;
  1742. carHeight_ = value;
  1743. }
  1744. }
  1745. /// <summary>Gets whether the "car_height" field is set</summary>
  1746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1747. public bool HasCarHeight {
  1748. get { return (_hasBits0 & 4) != 0; }
  1749. }
  1750. /// <summary>Clears the value of the "car_height" field</summary>
  1751. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1752. public void ClearCarHeight() {
  1753. _hasBits0 &= ~4;
  1754. }
  1755. /// <summary>Field number for the "license" field.</summary>
  1756. public const int LicenseFieldNumber = 4;
  1757. private readonly static string LicenseDefaultValue = "";
  1758. private string license_;
  1759. /// <summary>
  1760. ///车辆凭证号
  1761. /// </summary>
  1762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1763. public string License {
  1764. get { return license_ ?? LicenseDefaultValue; }
  1765. set {
  1766. license_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1767. }
  1768. }
  1769. /// <summary>Gets whether the "license" field is set</summary>
  1770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1771. public bool HasLicense {
  1772. get { return license_ != null; }
  1773. }
  1774. /// <summary>Clears the value of the "license" field</summary>
  1775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1776. public void ClearLicense() {
  1777. license_ = null;
  1778. }
  1779. /// <summary>Field number for the "car_wheel_base" field.</summary>
  1780. public const int CarWheelBaseFieldNumber = 5;
  1781. private readonly static float CarWheelBaseDefaultValue = 0F;
  1782. private float carWheelBase_;
  1783. /// <summary>
  1784. ///整车的轮距; 前后轮的距离; 用于机器人或agv的抓车
  1785. /// </summary>
  1786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1787. public float CarWheelBase {
  1788. get { if ((_hasBits0 & 8) != 0) { return carWheelBase_; } else { return CarWheelBaseDefaultValue; } }
  1789. set {
  1790. _hasBits0 |= 8;
  1791. carWheelBase_ = value;
  1792. }
  1793. }
  1794. /// <summary>Gets whether the "car_wheel_base" field is set</summary>
  1795. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1796. public bool HasCarWheelBase {
  1797. get { return (_hasBits0 & 8) != 0; }
  1798. }
  1799. /// <summary>Clears the value of the "car_wheel_base" field</summary>
  1800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1801. public void ClearCarWheelBase() {
  1802. _hasBits0 &= ~8;
  1803. }
  1804. /// <summary>Field number for the "car_wheel_width" field.</summary>
  1805. public const int CarWheelWidthFieldNumber = 6;
  1806. private readonly static float CarWheelWidthDefaultValue = 0F;
  1807. private float carWheelWidth_;
  1808. /// <summary>
  1809. ///整车的轮距; 左右轮的距离; 用于机器人或agv的抓车
  1810. /// </summary>
  1811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1812. public float CarWheelWidth {
  1813. get { if ((_hasBits0 & 16) != 0) { return carWheelWidth_; } else { return CarWheelWidthDefaultValue; } }
  1814. set {
  1815. _hasBits0 |= 16;
  1816. carWheelWidth_ = value;
  1817. }
  1818. }
  1819. /// <summary>Gets whether the "car_wheel_width" field is set</summary>
  1820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1821. public bool HasCarWheelWidth {
  1822. get { return (_hasBits0 & 16) != 0; }
  1823. }
  1824. /// <summary>Clears the value of the "car_wheel_width" field</summary>
  1825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1826. public void ClearCarWheelWidth() {
  1827. _hasBits0 &= ~16;
  1828. }
  1829. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1830. public override bool Equals(object other) {
  1831. return Equals(other as Car_info);
  1832. }
  1833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1834. public bool Equals(Car_info other) {
  1835. if (ReferenceEquals(other, null)) {
  1836. return false;
  1837. }
  1838. if (ReferenceEquals(other, this)) {
  1839. return true;
  1840. }
  1841. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarLength, other.CarLength)) return false;
  1842. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWidth, other.CarWidth)) return false;
  1843. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarHeight, other.CarHeight)) return false;
  1844. if (License != other.License) return false;
  1845. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWheelBase, other.CarWheelBase)) return false;
  1846. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWheelWidth, other.CarWheelWidth)) return false;
  1847. return Equals(_unknownFields, other._unknownFields);
  1848. }
  1849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1850. public override int GetHashCode() {
  1851. int hash = 1;
  1852. if (HasCarLength) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarLength);
  1853. if (HasCarWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWidth);
  1854. if (HasCarHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarHeight);
  1855. if (HasLicense) hash ^= License.GetHashCode();
  1856. if (HasCarWheelBase) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWheelBase);
  1857. if (HasCarWheelWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWheelWidth);
  1858. if (_unknownFields != null) {
  1859. hash ^= _unknownFields.GetHashCode();
  1860. }
  1861. return hash;
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1864. public override string ToString() {
  1865. return pb::JsonFormatter.ToDiagnosticString(this);
  1866. }
  1867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1868. public void WriteTo(pb::CodedOutputStream output) {
  1869. if (HasCarLength) {
  1870. output.WriteRawTag(13);
  1871. output.WriteFloat(CarLength);
  1872. }
  1873. if (HasCarWidth) {
  1874. output.WriteRawTag(21);
  1875. output.WriteFloat(CarWidth);
  1876. }
  1877. if (HasCarHeight) {
  1878. output.WriteRawTag(29);
  1879. output.WriteFloat(CarHeight);
  1880. }
  1881. if (HasLicense) {
  1882. output.WriteRawTag(34);
  1883. output.WriteString(License);
  1884. }
  1885. if (HasCarWheelBase) {
  1886. output.WriteRawTag(45);
  1887. output.WriteFloat(CarWheelBase);
  1888. }
  1889. if (HasCarWheelWidth) {
  1890. output.WriteRawTag(53);
  1891. output.WriteFloat(CarWheelWidth);
  1892. }
  1893. if (_unknownFields != null) {
  1894. _unknownFields.WriteTo(output);
  1895. }
  1896. }
  1897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1898. public int CalculateSize() {
  1899. int size = 0;
  1900. if (HasCarLength) {
  1901. size += 1 + 4;
  1902. }
  1903. if (HasCarWidth) {
  1904. size += 1 + 4;
  1905. }
  1906. if (HasCarHeight) {
  1907. size += 1 + 4;
  1908. }
  1909. if (HasLicense) {
  1910. size += 1 + pb::CodedOutputStream.ComputeStringSize(License);
  1911. }
  1912. if (HasCarWheelBase) {
  1913. size += 1 + 4;
  1914. }
  1915. if (HasCarWheelWidth) {
  1916. size += 1 + 4;
  1917. }
  1918. if (_unknownFields != null) {
  1919. size += _unknownFields.CalculateSize();
  1920. }
  1921. return size;
  1922. }
  1923. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1924. public void MergeFrom(Car_info other) {
  1925. if (other == null) {
  1926. return;
  1927. }
  1928. if (other.HasCarLength) {
  1929. CarLength = other.CarLength;
  1930. }
  1931. if (other.HasCarWidth) {
  1932. CarWidth = other.CarWidth;
  1933. }
  1934. if (other.HasCarHeight) {
  1935. CarHeight = other.CarHeight;
  1936. }
  1937. if (other.HasLicense) {
  1938. License = other.License;
  1939. }
  1940. if (other.HasCarWheelBase) {
  1941. CarWheelBase = other.CarWheelBase;
  1942. }
  1943. if (other.HasCarWheelWidth) {
  1944. CarWheelWidth = other.CarWheelWidth;
  1945. }
  1946. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1947. }
  1948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1949. public void MergeFrom(pb::CodedInputStream input) {
  1950. uint tag;
  1951. while ((tag = input.ReadTag()) != 0) {
  1952. switch(tag) {
  1953. default:
  1954. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1955. break;
  1956. case 13: {
  1957. CarLength = input.ReadFloat();
  1958. break;
  1959. }
  1960. case 21: {
  1961. CarWidth = input.ReadFloat();
  1962. break;
  1963. }
  1964. case 29: {
  1965. CarHeight = input.ReadFloat();
  1966. break;
  1967. }
  1968. case 34: {
  1969. License = input.ReadString();
  1970. break;
  1971. }
  1972. case 45: {
  1973. CarWheelBase = input.ReadFloat();
  1974. break;
  1975. }
  1976. case 53: {
  1977. CarWheelWidth = input.ReadFloat();
  1978. break;
  1979. }
  1980. }
  1981. }
  1982. }
  1983. }
  1984. /// <summary>
  1985. ///单个车位基本信息与状态信息,车位信息以及车位上的车辆信息
  1986. /// </summary>
  1987. public sealed partial class Parkspace_info : pb::IMessage<Parkspace_info> {
  1988. private static readonly pb::MessageParser<Parkspace_info> _parser = new pb::MessageParser<Parkspace_info>(() => new Parkspace_info());
  1989. private pb::UnknownFieldSet _unknownFields;
  1990. private int _hasBits0;
  1991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1992. public static pb::MessageParser<Parkspace_info> Parser { get { return _parser; } }
  1993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1994. public static pbr::MessageDescriptor Descriptor {
  1995. get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[5]; }
  1996. }
  1997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1998. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1999. get { return Descriptor; }
  2000. }
  2001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2002. public Parkspace_info() {
  2003. OnConstruction();
  2004. }
  2005. partial void OnConstruction();
  2006. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2007. public Parkspace_info(Parkspace_info other) : this() {
  2008. _hasBits0 = other._hasBits0;
  2009. parkingspaceIndexId_ = other.parkingspaceIndexId_;
  2010. parkingspaceType_ = other.parkingspaceType_;
  2011. parkingspaceUnitId_ = other.parkingspaceUnitId_;
  2012. parkingspaceLabelId_ = other.parkingspaceLabelId_;
  2013. parkingspaceRoomId_ = other.parkingspaceRoomId_;
  2014. parkingspaceDirection_ = other.parkingspaceDirection_;
  2015. parkingspaceFloorId_ = other.parkingspaceFloorId_;
  2016. parkingspaceWidth_ = other.parkingspaceWidth_;
  2017. parkingspaceHeight_ = other.parkingspaceHeight_;
  2018. parkingspaceStatus_ = other.parkingspaceStatus_;
  2019. carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
  2020. entryTime_ = other.entryTime_;
  2021. leaveTime_ = other.leaveTime_;
  2022. parkspacePath_ = other.parkspacePath_;
  2023. pathEstimateTime_ = other.pathEstimateTime_;
  2024. parkspaceStatusTarget_ = other.parkspaceStatusTarget_;
  2025. carType_ = other.carType_;
  2026. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2027. }
  2028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2029. public Parkspace_info Clone() {
  2030. return new Parkspace_info(this);
  2031. }
  2032. /// <summary>Field number for the "parkingspace_index_id" field.</summary>
  2033. public const int ParkingspaceIndexIdFieldNumber = 1;
  2034. private readonly static int ParkingspaceIndexIdDefaultValue = 0;
  2035. private int parkingspaceIndexId_;
  2036. /// <summary>
  2037. ///车位ID
  2038. /// </summary>
  2039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2040. public int ParkingspaceIndexId {
  2041. get { if ((_hasBits0 & 1) != 0) { return parkingspaceIndexId_; } else { return ParkingspaceIndexIdDefaultValue; } }
  2042. set {
  2043. _hasBits0 |= 1;
  2044. parkingspaceIndexId_ = value;
  2045. }
  2046. }
  2047. /// <summary>Gets whether the "parkingspace_index_id" field is set</summary>
  2048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2049. public bool HasParkingspaceIndexId {
  2050. get { return (_hasBits0 & 1) != 0; }
  2051. }
  2052. /// <summary>Clears the value of the "parkingspace_index_id" field</summary>
  2053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2054. public void ClearParkingspaceIndexId() {
  2055. _hasBits0 &= ~1;
  2056. }
  2057. /// <summary>Field number for the "parkingspace_type" field.</summary>
  2058. public const int ParkingspaceTypeFieldNumber = 2;
  2059. private readonly static global::Message.Parkspace_type ParkingspaceTypeDefaultValue = global::Message.Parkspace_type.UnknowParkspaceType;
  2060. private global::Message.Parkspace_type parkingspaceType_;
  2061. /// <summary>
  2062. ///车位类型
  2063. /// </summary>
  2064. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2065. public global::Message.Parkspace_type ParkingspaceType {
  2066. get { if ((_hasBits0 & 2) != 0) { return parkingspaceType_; } else { return ParkingspaceTypeDefaultValue; } }
  2067. set {
  2068. _hasBits0 |= 2;
  2069. parkingspaceType_ = value;
  2070. }
  2071. }
  2072. /// <summary>Gets whether the "parkingspace_type" field is set</summary>
  2073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2074. public bool HasParkingspaceType {
  2075. get { return (_hasBits0 & 2) != 0; }
  2076. }
  2077. /// <summary>Clears the value of the "parkingspace_type" field</summary>
  2078. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2079. public void ClearParkingspaceType() {
  2080. _hasBits0 &= ~2;
  2081. }
  2082. /// <summary>Field number for the "parkingspace_unit_id" field.</summary>
  2083. public const int ParkingspaceUnitIdFieldNumber = 3;
  2084. private readonly static int ParkingspaceUnitIdDefaultValue = 0;
  2085. private int parkingspaceUnitId_;
  2086. /// <summary>
  2087. ///车位单元号
  2088. /// </summary>
  2089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2090. public int ParkingspaceUnitId {
  2091. get { if ((_hasBits0 & 4) != 0) { return parkingspaceUnitId_; } else { return ParkingspaceUnitIdDefaultValue; } }
  2092. set {
  2093. _hasBits0 |= 4;
  2094. parkingspaceUnitId_ = value;
  2095. }
  2096. }
  2097. /// <summary>Gets whether the "parkingspace_unit_id" field is set</summary>
  2098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2099. public bool HasParkingspaceUnitId {
  2100. get { return (_hasBits0 & 4) != 0; }
  2101. }
  2102. /// <summary>Clears the value of the "parkingspace_unit_id" field</summary>
  2103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2104. public void ClearParkingspaceUnitId() {
  2105. _hasBits0 &= ~4;
  2106. }
  2107. /// <summary>Field number for the "parkingspace_label_id" field.</summary>
  2108. public const int ParkingspaceLabelIdFieldNumber = 4;
  2109. private readonly static int ParkingspaceLabelIdDefaultValue = 0;
  2110. private int parkingspaceLabelId_;
  2111. /// <summary>
  2112. ///车位单元内部ID
  2113. /// </summary>
  2114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2115. public int ParkingspaceLabelId {
  2116. get { if ((_hasBits0 & 8) != 0) { return parkingspaceLabelId_; } else { return ParkingspaceLabelIdDefaultValue; } }
  2117. set {
  2118. _hasBits0 |= 8;
  2119. parkingspaceLabelId_ = value;
  2120. }
  2121. }
  2122. /// <summary>Gets whether the "parkingspace_label_id" field is set</summary>
  2123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2124. public bool HasParkingspaceLabelId {
  2125. get { return (_hasBits0 & 8) != 0; }
  2126. }
  2127. /// <summary>Clears the value of the "parkingspace_label_id" field</summary>
  2128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2129. public void ClearParkingspaceLabelId() {
  2130. _hasBits0 &= ~8;
  2131. }
  2132. /// <summary>Field number for the "parkingspace_room_id" field.</summary>
  2133. public const int ParkingspaceRoomIdFieldNumber = 5;
  2134. private readonly static int ParkingspaceRoomIdDefaultValue = 0;
  2135. private int parkingspaceRoomId_;
  2136. /// <summary>
  2137. ///同层编号
  2138. /// </summary>
  2139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2140. public int ParkingspaceRoomId {
  2141. get { if ((_hasBits0 & 16) != 0) { return parkingspaceRoomId_; } else { return ParkingspaceRoomIdDefaultValue; } }
  2142. set {
  2143. _hasBits0 |= 16;
  2144. parkingspaceRoomId_ = value;
  2145. }
  2146. }
  2147. /// <summary>Gets whether the "parkingspace_room_id" field is set</summary>
  2148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2149. public bool HasParkingspaceRoomId {
  2150. get { return (_hasBits0 & 16) != 0; }
  2151. }
  2152. /// <summary>Clears the value of the "parkingspace_room_id" field</summary>
  2153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2154. public void ClearParkingspaceRoomId() {
  2155. _hasBits0 &= ~16;
  2156. }
  2157. /// <summary>Field number for the "parkingspace_direction" field.</summary>
  2158. public const int ParkingspaceDirectionFieldNumber = 6;
  2159. private readonly static global::Message.Direction ParkingspaceDirectionDefaultValue = global::Message.Direction.EDirectionUnknow;
  2160. private global::Message.Direction parkingspaceDirection_;
  2161. /// <summary>
  2162. ///前后
  2163. /// </summary>
  2164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2165. public global::Message.Direction ParkingspaceDirection {
  2166. get { if ((_hasBits0 & 32) != 0) { return parkingspaceDirection_; } else { return ParkingspaceDirectionDefaultValue; } }
  2167. set {
  2168. _hasBits0 |= 32;
  2169. parkingspaceDirection_ = value;
  2170. }
  2171. }
  2172. /// <summary>Gets whether the "parkingspace_direction" field is set</summary>
  2173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2174. public bool HasParkingspaceDirection {
  2175. get { return (_hasBits0 & 32) != 0; }
  2176. }
  2177. /// <summary>Clears the value of the "parkingspace_direction" field</summary>
  2178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2179. public void ClearParkingspaceDirection() {
  2180. _hasBits0 &= ~32;
  2181. }
  2182. /// <summary>Field number for the "parkingspace_floor_id" field.</summary>
  2183. public const int ParkingspaceFloorIdFieldNumber = 7;
  2184. private readonly static int ParkingspaceFloorIdDefaultValue = 0;
  2185. private int parkingspaceFloorId_;
  2186. /// <summary>
  2187. ///楼层
  2188. /// </summary>
  2189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2190. public int ParkingspaceFloorId {
  2191. get { if ((_hasBits0 & 64) != 0) { return parkingspaceFloorId_; } else { return ParkingspaceFloorIdDefaultValue; } }
  2192. set {
  2193. _hasBits0 |= 64;
  2194. parkingspaceFloorId_ = value;
  2195. }
  2196. }
  2197. /// <summary>Gets whether the "parkingspace_floor_id" field is set</summary>
  2198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2199. public bool HasParkingspaceFloorId {
  2200. get { return (_hasBits0 & 64) != 0; }
  2201. }
  2202. /// <summary>Clears the value of the "parkingspace_floor_id" field</summary>
  2203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2204. public void ClearParkingspaceFloorId() {
  2205. _hasBits0 &= ~64;
  2206. }
  2207. /// <summary>Field number for the "parkingspace_width" field.</summary>
  2208. public const int ParkingspaceWidthFieldNumber = 8;
  2209. private readonly static float ParkingspaceWidthDefaultValue = 0F;
  2210. private float parkingspaceWidth_;
  2211. /// <summary>
  2212. ///车位宽
  2213. /// </summary>
  2214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2215. public float ParkingspaceWidth {
  2216. get { if ((_hasBits0 & 128) != 0) { return parkingspaceWidth_; } else { return ParkingspaceWidthDefaultValue; } }
  2217. set {
  2218. _hasBits0 |= 128;
  2219. parkingspaceWidth_ = value;
  2220. }
  2221. }
  2222. /// <summary>Gets whether the "parkingspace_width" field is set</summary>
  2223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2224. public bool HasParkingspaceWidth {
  2225. get { return (_hasBits0 & 128) != 0; }
  2226. }
  2227. /// <summary>Clears the value of the "parkingspace_width" field</summary>
  2228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2229. public void ClearParkingspaceWidth() {
  2230. _hasBits0 &= ~128;
  2231. }
  2232. /// <summary>Field number for the "parkingspace_height" field.</summary>
  2233. public const int ParkingspaceHeightFieldNumber = 9;
  2234. private readonly static float ParkingspaceHeightDefaultValue = 0F;
  2235. private float parkingspaceHeight_;
  2236. /// <summary>
  2237. ///车位高
  2238. /// </summary>
  2239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2240. public float ParkingspaceHeight {
  2241. get { if ((_hasBits0 & 256) != 0) { return parkingspaceHeight_; } else { return ParkingspaceHeightDefaultValue; } }
  2242. set {
  2243. _hasBits0 |= 256;
  2244. parkingspaceHeight_ = value;
  2245. }
  2246. }
  2247. /// <summary>Gets whether the "parkingspace_height" field is set</summary>
  2248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2249. public bool HasParkingspaceHeight {
  2250. get { return (_hasBits0 & 256) != 0; }
  2251. }
  2252. /// <summary>Clears the value of the "parkingspace_height" field</summary>
  2253. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2254. public void ClearParkingspaceHeight() {
  2255. _hasBits0 &= ~256;
  2256. }
  2257. /// <summary>Field number for the "parkingspace_status" field.</summary>
  2258. public const int ParkingspaceStatusFieldNumber = 10;
  2259. private readonly static global::Message.Parkspace_status ParkingspaceStatusDefaultValue = global::Message.Parkspace_status.EParkspaceStatusUnknow;
  2260. private global::Message.Parkspace_status parkingspaceStatus_;
  2261. /// <summary>
  2262. ///车位当前状态
  2263. /// </summary>
  2264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2265. public global::Message.Parkspace_status ParkingspaceStatus {
  2266. get { if ((_hasBits0 & 512) != 0) { return parkingspaceStatus_; } else { return ParkingspaceStatusDefaultValue; } }
  2267. set {
  2268. _hasBits0 |= 512;
  2269. parkingspaceStatus_ = value;
  2270. }
  2271. }
  2272. /// <summary>Gets whether the "parkingspace_status" field is set</summary>
  2273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2274. public bool HasParkingspaceStatus {
  2275. get { return (_hasBits0 & 512) != 0; }
  2276. }
  2277. /// <summary>Clears the value of the "parkingspace_status" field</summary>
  2278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2279. public void ClearParkingspaceStatus() {
  2280. _hasBits0 &= ~512;
  2281. }
  2282. /// <summary>Field number for the "car_info" field.</summary>
  2283. public const int CarInfoFieldNumber = 11;
  2284. private global::Message.Car_info carInfo_;
  2285. /// <summary>
  2286. ///车辆信息
  2287. /// </summary>
  2288. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2289. public global::Message.Car_info CarInfo {
  2290. get { return carInfo_; }
  2291. set {
  2292. carInfo_ = value;
  2293. }
  2294. }
  2295. /// <summary>Field number for the "entry_time" field.</summary>
  2296. public const int EntryTimeFieldNumber = 12;
  2297. private readonly static string EntryTimeDefaultValue = "";
  2298. private string entryTime_;
  2299. /// <summary>
  2300. ///入场时间
  2301. /// </summary>
  2302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2303. public string EntryTime {
  2304. get { return entryTime_ ?? EntryTimeDefaultValue; }
  2305. set {
  2306. entryTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2307. }
  2308. }
  2309. /// <summary>Gets whether the "entry_time" field is set</summary>
  2310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2311. public bool HasEntryTime {
  2312. get { return entryTime_ != null; }
  2313. }
  2314. /// <summary>Clears the value of the "entry_time" field</summary>
  2315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2316. public void ClearEntryTime() {
  2317. entryTime_ = null;
  2318. }
  2319. /// <summary>Field number for the "leave_time" field.</summary>
  2320. public const int LeaveTimeFieldNumber = 13;
  2321. private readonly static string LeaveTimeDefaultValue = "";
  2322. private string leaveTime_;
  2323. /// <summary>
  2324. ///离场时间
  2325. /// </summary>
  2326. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2327. public string LeaveTime {
  2328. get { return leaveTime_ ?? LeaveTimeDefaultValue; }
  2329. set {
  2330. leaveTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2331. }
  2332. }
  2333. /// <summary>Gets whether the "leave_time" field is set</summary>
  2334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2335. public bool HasLeaveTime {
  2336. get { return leaveTime_ != null; }
  2337. }
  2338. /// <summary>Clears the value of the "leave_time" field</summary>
  2339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2340. public void ClearLeaveTime() {
  2341. leaveTime_ = null;
  2342. }
  2343. /// <summary>Field number for the "parkspace_path" field.</summary>
  2344. public const int ParkspacePathFieldNumber = 14;
  2345. private readonly static global::Message.Parkspace_path ParkspacePathDefaultValue = global::Message.Parkspace_path.UnknowPath;
  2346. private global::Message.Parkspace_path parkspacePath_;
  2347. /// <summary>
  2348. /// 车位分配路线
  2349. /// </summary>
  2350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2351. public global::Message.Parkspace_path ParkspacePath {
  2352. get { if ((_hasBits0 & 1024) != 0) { return parkspacePath_; } else { return ParkspacePathDefaultValue; } }
  2353. set {
  2354. _hasBits0 |= 1024;
  2355. parkspacePath_ = value;
  2356. }
  2357. }
  2358. /// <summary>Gets whether the "parkspace_path" field is set</summary>
  2359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2360. public bool HasParkspacePath {
  2361. get { return (_hasBits0 & 1024) != 0; }
  2362. }
  2363. /// <summary>Clears the value of the "parkspace_path" field</summary>
  2364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2365. public void ClearParkspacePath() {
  2366. _hasBits0 &= ~1024;
  2367. }
  2368. /// <summary>Field number for the "path_estimate_time" field.</summary>
  2369. public const int PathEstimateTimeFieldNumber = 15;
  2370. private readonly static float PathEstimateTimeDefaultValue = 0F;
  2371. private float pathEstimateTime_;
  2372. /// <summary>
  2373. ///车位分配路线 time(s)
  2374. /// </summary>
  2375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2376. public float PathEstimateTime {
  2377. get { if ((_hasBits0 & 2048) != 0) { return pathEstimateTime_; } else { return PathEstimateTimeDefaultValue; } }
  2378. set {
  2379. _hasBits0 |= 2048;
  2380. pathEstimateTime_ = value;
  2381. }
  2382. }
  2383. /// <summary>Gets whether the "path_estimate_time" field is set</summary>
  2384. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2385. public bool HasPathEstimateTime {
  2386. get { return (_hasBits0 & 2048) != 0; }
  2387. }
  2388. /// <summary>Clears the value of the "path_estimate_time" field</summary>
  2389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2390. public void ClearPathEstimateTime() {
  2391. _hasBits0 &= ~2048;
  2392. }
  2393. /// <summary>Field number for the "parkspace_status_target" field.</summary>
  2394. public const int ParkspaceStatusTargetFieldNumber = 16;
  2395. private readonly static global::Message.Parkspace_status ParkspaceStatusTargetDefaultValue = global::Message.Parkspace_status.EParkspaceStatusUnknow;
  2396. private global::Message.Parkspace_status parkspaceStatusTarget_;
  2397. /// <summary>
  2398. ///车位目标状态
  2399. /// </summary>
  2400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2401. public global::Message.Parkspace_status ParkspaceStatusTarget {
  2402. get { if ((_hasBits0 & 4096) != 0) { return parkspaceStatusTarget_; } else { return ParkspaceStatusTargetDefaultValue; } }
  2403. set {
  2404. _hasBits0 |= 4096;
  2405. parkspaceStatusTarget_ = value;
  2406. }
  2407. }
  2408. /// <summary>Gets whether the "parkspace_status_target" field is set</summary>
  2409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2410. public bool HasParkspaceStatusTarget {
  2411. get { return (_hasBits0 & 4096) != 0; }
  2412. }
  2413. /// <summary>Clears the value of the "parkspace_status_target" field</summary>
  2414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2415. public void ClearParkspaceStatusTarget() {
  2416. _hasBits0 &= ~4096;
  2417. }
  2418. /// <summary>Field number for the "car_type" field.</summary>
  2419. public const int CarTypeFieldNumber = 17;
  2420. private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
  2421. private global::Message.Car_type carType_;
  2422. /// <summary>
  2423. ///车辆类型
  2424. /// </summary>
  2425. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2426. public global::Message.Car_type CarType {
  2427. get { if ((_hasBits0 & 8192) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
  2428. set {
  2429. _hasBits0 |= 8192;
  2430. carType_ = value;
  2431. }
  2432. }
  2433. /// <summary>Gets whether the "car_type" field is set</summary>
  2434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2435. public bool HasCarType {
  2436. get { return (_hasBits0 & 8192) != 0; }
  2437. }
  2438. /// <summary>Clears the value of the "car_type" field</summary>
  2439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2440. public void ClearCarType() {
  2441. _hasBits0 &= ~8192;
  2442. }
  2443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2444. public override bool Equals(object other) {
  2445. return Equals(other as Parkspace_info);
  2446. }
  2447. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2448. public bool Equals(Parkspace_info other) {
  2449. if (ReferenceEquals(other, null)) {
  2450. return false;
  2451. }
  2452. if (ReferenceEquals(other, this)) {
  2453. return true;
  2454. }
  2455. if (ParkingspaceIndexId != other.ParkingspaceIndexId) return false;
  2456. if (ParkingspaceType != other.ParkingspaceType) return false;
  2457. if (ParkingspaceUnitId != other.ParkingspaceUnitId) return false;
  2458. if (ParkingspaceLabelId != other.ParkingspaceLabelId) return false;
  2459. if (ParkingspaceRoomId != other.ParkingspaceRoomId) return false;
  2460. if (ParkingspaceDirection != other.ParkingspaceDirection) return false;
  2461. if (ParkingspaceFloorId != other.ParkingspaceFloorId) return false;
  2462. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ParkingspaceWidth, other.ParkingspaceWidth)) return false;
  2463. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ParkingspaceHeight, other.ParkingspaceHeight)) return false;
  2464. if (ParkingspaceStatus != other.ParkingspaceStatus) return false;
  2465. if (!object.Equals(CarInfo, other.CarInfo)) return false;
  2466. if (EntryTime != other.EntryTime) return false;
  2467. if (LeaveTime != other.LeaveTime) return false;
  2468. if (ParkspacePath != other.ParkspacePath) return false;
  2469. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PathEstimateTime, other.PathEstimateTime)) return false;
  2470. if (ParkspaceStatusTarget != other.ParkspaceStatusTarget) return false;
  2471. if (CarType != other.CarType) return false;
  2472. return Equals(_unknownFields, other._unknownFields);
  2473. }
  2474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2475. public override int GetHashCode() {
  2476. int hash = 1;
  2477. if (HasParkingspaceIndexId) hash ^= ParkingspaceIndexId.GetHashCode();
  2478. if (HasParkingspaceType) hash ^= ParkingspaceType.GetHashCode();
  2479. if (HasParkingspaceUnitId) hash ^= ParkingspaceUnitId.GetHashCode();
  2480. if (HasParkingspaceLabelId) hash ^= ParkingspaceLabelId.GetHashCode();
  2481. if (HasParkingspaceRoomId) hash ^= ParkingspaceRoomId.GetHashCode();
  2482. if (HasParkingspaceDirection) hash ^= ParkingspaceDirection.GetHashCode();
  2483. if (HasParkingspaceFloorId) hash ^= ParkingspaceFloorId.GetHashCode();
  2484. if (HasParkingspaceWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ParkingspaceWidth);
  2485. if (HasParkingspaceHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ParkingspaceHeight);
  2486. if (HasParkingspaceStatus) hash ^= ParkingspaceStatus.GetHashCode();
  2487. if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
  2488. if (HasEntryTime) hash ^= EntryTime.GetHashCode();
  2489. if (HasLeaveTime) hash ^= LeaveTime.GetHashCode();
  2490. if (HasParkspacePath) hash ^= ParkspacePath.GetHashCode();
  2491. if (HasPathEstimateTime) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PathEstimateTime);
  2492. if (HasParkspaceStatusTarget) hash ^= ParkspaceStatusTarget.GetHashCode();
  2493. if (HasCarType) hash ^= CarType.GetHashCode();
  2494. if (_unknownFields != null) {
  2495. hash ^= _unknownFields.GetHashCode();
  2496. }
  2497. return hash;
  2498. }
  2499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2500. public override string ToString() {
  2501. return pb::JsonFormatter.ToDiagnosticString(this);
  2502. }
  2503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2504. public void WriteTo(pb::CodedOutputStream output) {
  2505. if (HasParkingspaceIndexId) {
  2506. output.WriteRawTag(8);
  2507. output.WriteInt32(ParkingspaceIndexId);
  2508. }
  2509. if (HasParkingspaceType) {
  2510. output.WriteRawTag(16);
  2511. output.WriteEnum((int) ParkingspaceType);
  2512. }
  2513. if (HasParkingspaceUnitId) {
  2514. output.WriteRawTag(24);
  2515. output.WriteInt32(ParkingspaceUnitId);
  2516. }
  2517. if (HasParkingspaceLabelId) {
  2518. output.WriteRawTag(32);
  2519. output.WriteInt32(ParkingspaceLabelId);
  2520. }
  2521. if (HasParkingspaceRoomId) {
  2522. output.WriteRawTag(40);
  2523. output.WriteInt32(ParkingspaceRoomId);
  2524. }
  2525. if (HasParkingspaceDirection) {
  2526. output.WriteRawTag(48);
  2527. output.WriteEnum((int) ParkingspaceDirection);
  2528. }
  2529. if (HasParkingspaceFloorId) {
  2530. output.WriteRawTag(56);
  2531. output.WriteInt32(ParkingspaceFloorId);
  2532. }
  2533. if (HasParkingspaceWidth) {
  2534. output.WriteRawTag(69);
  2535. output.WriteFloat(ParkingspaceWidth);
  2536. }
  2537. if (HasParkingspaceHeight) {
  2538. output.WriteRawTag(77);
  2539. output.WriteFloat(ParkingspaceHeight);
  2540. }
  2541. if (HasParkingspaceStatus) {
  2542. output.WriteRawTag(80);
  2543. output.WriteEnum((int) ParkingspaceStatus);
  2544. }
  2545. if (carInfo_ != null) {
  2546. output.WriteRawTag(90);
  2547. output.WriteMessage(CarInfo);
  2548. }
  2549. if (HasEntryTime) {
  2550. output.WriteRawTag(98);
  2551. output.WriteString(EntryTime);
  2552. }
  2553. if (HasLeaveTime) {
  2554. output.WriteRawTag(106);
  2555. output.WriteString(LeaveTime);
  2556. }
  2557. if (HasParkspacePath) {
  2558. output.WriteRawTag(112);
  2559. output.WriteEnum((int) ParkspacePath);
  2560. }
  2561. if (HasPathEstimateTime) {
  2562. output.WriteRawTag(125);
  2563. output.WriteFloat(PathEstimateTime);
  2564. }
  2565. if (HasParkspaceStatusTarget) {
  2566. output.WriteRawTag(128, 1);
  2567. output.WriteEnum((int) ParkspaceStatusTarget);
  2568. }
  2569. if (HasCarType) {
  2570. output.WriteRawTag(136, 1);
  2571. output.WriteEnum((int) CarType);
  2572. }
  2573. if (_unknownFields != null) {
  2574. _unknownFields.WriteTo(output);
  2575. }
  2576. }
  2577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2578. public int CalculateSize() {
  2579. int size = 0;
  2580. if (HasParkingspaceIndexId) {
  2581. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceIndexId);
  2582. }
  2583. if (HasParkingspaceType) {
  2584. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceType);
  2585. }
  2586. if (HasParkingspaceUnitId) {
  2587. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceUnitId);
  2588. }
  2589. if (HasParkingspaceLabelId) {
  2590. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceLabelId);
  2591. }
  2592. if (HasParkingspaceRoomId) {
  2593. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceRoomId);
  2594. }
  2595. if (HasParkingspaceDirection) {
  2596. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceDirection);
  2597. }
  2598. if (HasParkingspaceFloorId) {
  2599. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceFloorId);
  2600. }
  2601. if (HasParkingspaceWidth) {
  2602. size += 1 + 4;
  2603. }
  2604. if (HasParkingspaceHeight) {
  2605. size += 1 + 4;
  2606. }
  2607. if (HasParkingspaceStatus) {
  2608. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceStatus);
  2609. }
  2610. if (carInfo_ != null) {
  2611. size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
  2612. }
  2613. if (HasEntryTime) {
  2614. size += 1 + pb::CodedOutputStream.ComputeStringSize(EntryTime);
  2615. }
  2616. if (HasLeaveTime) {
  2617. size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTime);
  2618. }
  2619. if (HasParkspacePath) {
  2620. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspacePath);
  2621. }
  2622. if (HasPathEstimateTime) {
  2623. size += 1 + 4;
  2624. }
  2625. if (HasParkspaceStatusTarget) {
  2626. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceStatusTarget);
  2627. }
  2628. if (HasCarType) {
  2629. size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
  2630. }
  2631. if (_unknownFields != null) {
  2632. size += _unknownFields.CalculateSize();
  2633. }
  2634. return size;
  2635. }
  2636. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2637. public void MergeFrom(Parkspace_info other) {
  2638. if (other == null) {
  2639. return;
  2640. }
  2641. if (other.HasParkingspaceIndexId) {
  2642. ParkingspaceIndexId = other.ParkingspaceIndexId;
  2643. }
  2644. if (other.HasParkingspaceType) {
  2645. ParkingspaceType = other.ParkingspaceType;
  2646. }
  2647. if (other.HasParkingspaceUnitId) {
  2648. ParkingspaceUnitId = other.ParkingspaceUnitId;
  2649. }
  2650. if (other.HasParkingspaceLabelId) {
  2651. ParkingspaceLabelId = other.ParkingspaceLabelId;
  2652. }
  2653. if (other.HasParkingspaceRoomId) {
  2654. ParkingspaceRoomId = other.ParkingspaceRoomId;
  2655. }
  2656. if (other.HasParkingspaceDirection) {
  2657. ParkingspaceDirection = other.ParkingspaceDirection;
  2658. }
  2659. if (other.HasParkingspaceFloorId) {
  2660. ParkingspaceFloorId = other.ParkingspaceFloorId;
  2661. }
  2662. if (other.HasParkingspaceWidth) {
  2663. ParkingspaceWidth = other.ParkingspaceWidth;
  2664. }
  2665. if (other.HasParkingspaceHeight) {
  2666. ParkingspaceHeight = other.ParkingspaceHeight;
  2667. }
  2668. if (other.HasParkingspaceStatus) {
  2669. ParkingspaceStatus = other.ParkingspaceStatus;
  2670. }
  2671. if (other.carInfo_ != null) {
  2672. if (carInfo_ == null) {
  2673. CarInfo = new global::Message.Car_info();
  2674. }
  2675. CarInfo.MergeFrom(other.CarInfo);
  2676. }
  2677. if (other.HasEntryTime) {
  2678. EntryTime = other.EntryTime;
  2679. }
  2680. if (other.HasLeaveTime) {
  2681. LeaveTime = other.LeaveTime;
  2682. }
  2683. if (other.HasParkspacePath) {
  2684. ParkspacePath = other.ParkspacePath;
  2685. }
  2686. if (other.HasPathEstimateTime) {
  2687. PathEstimateTime = other.PathEstimateTime;
  2688. }
  2689. if (other.HasParkspaceStatusTarget) {
  2690. ParkspaceStatusTarget = other.ParkspaceStatusTarget;
  2691. }
  2692. if (other.HasCarType) {
  2693. CarType = other.CarType;
  2694. }
  2695. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2696. }
  2697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2698. public void MergeFrom(pb::CodedInputStream input) {
  2699. uint tag;
  2700. while ((tag = input.ReadTag()) != 0) {
  2701. switch(tag) {
  2702. default:
  2703. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2704. break;
  2705. case 8: {
  2706. ParkingspaceIndexId = input.ReadInt32();
  2707. break;
  2708. }
  2709. case 16: {
  2710. ParkingspaceType = (global::Message.Parkspace_type) input.ReadEnum();
  2711. break;
  2712. }
  2713. case 24: {
  2714. ParkingspaceUnitId = input.ReadInt32();
  2715. break;
  2716. }
  2717. case 32: {
  2718. ParkingspaceLabelId = input.ReadInt32();
  2719. break;
  2720. }
  2721. case 40: {
  2722. ParkingspaceRoomId = input.ReadInt32();
  2723. break;
  2724. }
  2725. case 48: {
  2726. ParkingspaceDirection = (global::Message.Direction) input.ReadEnum();
  2727. break;
  2728. }
  2729. case 56: {
  2730. ParkingspaceFloorId = input.ReadInt32();
  2731. break;
  2732. }
  2733. case 69: {
  2734. ParkingspaceWidth = input.ReadFloat();
  2735. break;
  2736. }
  2737. case 77: {
  2738. ParkingspaceHeight = input.ReadFloat();
  2739. break;
  2740. }
  2741. case 80: {
  2742. ParkingspaceStatus = (global::Message.Parkspace_status) input.ReadEnum();
  2743. break;
  2744. }
  2745. case 90: {
  2746. if (carInfo_ == null) {
  2747. CarInfo = new global::Message.Car_info();
  2748. }
  2749. input.ReadMessage(CarInfo);
  2750. break;
  2751. }
  2752. case 98: {
  2753. EntryTime = input.ReadString();
  2754. break;
  2755. }
  2756. case 106: {
  2757. LeaveTime = input.ReadString();
  2758. break;
  2759. }
  2760. case 112: {
  2761. ParkspacePath = (global::Message.Parkspace_path) input.ReadEnum();
  2762. break;
  2763. }
  2764. case 125: {
  2765. PathEstimateTime = input.ReadFloat();
  2766. break;
  2767. }
  2768. case 128: {
  2769. ParkspaceStatusTarget = (global::Message.Parkspace_status) input.ReadEnum();
  2770. break;
  2771. }
  2772. case 136: {
  2773. CarType = (global::Message.Car_type) input.ReadEnum();
  2774. break;
  2775. }
  2776. }
  2777. }
  2778. }
  2779. }
  2780. #endregion
  2781. }
  2782. #endregion Designer generated code