ParkspaceAllocationMessage.cs 128 KB

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