12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: message_base.proto
- // </auto-generated>
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Message {
- /// <summary>Holder for reflection information generated from message_base.proto</summary>
- public static partial class MessageBaseReflection {
- #region Descriptor
- /// <summary>File descriptor for message_base.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
- static MessageBaseReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChJtZXNzYWdlX2Jhc2UucHJvdG8SB21lc3NhZ2UitgEKCUJhc2VfaW5mbxIy",
- "Cghtc2dfdHlwZRgBIAIoDjIVLm1lc3NhZ2UuTWVzc2FnZV90eXBlOgllQmFz",
- "ZV9tc2cSFQoKdGltZW91dF9tcxgCIAEoBToBMBItCgZzZW5kZXIYAyACKA4y",
- "FS5tZXNzYWdlLkNvbW11bmljYXRvcjoGZUVtcHR5Ei8KCHJlY2VpdmVyGAQg",
- "AigOMhUubWVzc2FnZS5Db21tdW5pY2F0b3I6BmVFbXB0eSIxCghCYXNlX21z",
- "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbyJ2Cg1F",
- "cnJvcl9tYW5hZ2VyEhUKCmVycm9yX2NvZGUYASACKAU6ATASMQoLZXJyb3Jf",
- "bGV2ZWwYAiABKA4yFC5tZXNzYWdlLkVycm9yX2xldmVsOgZOT1JNQUwSGwoR",
- "ZXJyb3JfZGVzY3JpcHRpb24YAyABKAk6ACKfAgoSTG9jYXRlX2luZm9ybWF0",
- "aW9uEhMKCGxvY2F0ZV94GAEgASgCOgEwEhMKCGxvY2F0ZV95GAIgASgCOgEw",
- "EhcKDGxvY2F0ZV9hbmdsZRgDIAEoAjoBMBIYCg1sb2NhdGVfbGVuZ3RoGAQg",
- "ASgCOgEwEhcKDGxvY2F0ZV93aWR0aBgFIAEoAjoBMBIYCg1sb2NhdGVfaGVp",
- "Z2h0GAYgASgCOgEwEhwKEWxvY2F0ZV93aGVlbF9iYXNlGAcgASgCOgEwEh0K",
- "EmxvY2F0ZV93aGVlbF93aWR0aBgIIAEoAjoBMBIdCg5sb2NhdGVfY29ycmVj",
- "dBgJIAEoCDoFZmFsc2USHQoSbG9jYXRlX2Zyb250X3RoZXRhGAogASgCOgEw",
- "IpgBCghDYXJfaW5mbxIVCgpjYXJfbGVuZ3RoGAEgASgCOgEwEhQKCWNhcl93",
- "aWR0aBgCIAEoAjoBMBIVCgpjYXJfaGVpZ2h0GAMgASgCOgEwEhEKB2xpY2Vu",
- "c2UYBCABKAk6ABIZCg5jYXJfd2hlZWxfYmFzZRgFIAEoAjoBMBIaCg9jYXJf",
- "d2hlZWxfd2lkdGgYBiABKAI6ATAi/QQKDlBhcmtzcGFjZV9pbmZvEh0KFXBh",
- "cmtpbmdzcGFjZV9pbmRleF9pZBgBIAEoBRIyChFwYXJraW5nc3BhY2VfdHlw",
- "ZRgCIAEoDjIXLm1lc3NhZ2UuUGFya3NwYWNlX3R5cGUSHAoUcGFya2luZ3Nw",
- "YWNlX3VuaXRfaWQYAyABKAUSHQoVcGFya2luZ3NwYWNlX2xhYmVsX2lkGAQg",
- "ASgFEhwKFHBhcmtpbmdzcGFjZV9yb29tX2lkGAUgASgFEjIKFnBhcmtpbmdz",
- "cGFjZV9kaXJlY3Rpb24YBiABKA4yEi5tZXNzYWdlLkRpcmVjdGlvbhIdChVw",
- "YXJraW5nc3BhY2VfZmxvb3JfaWQYByABKAUSGgoScGFya2luZ3NwYWNlX3dp",
- "ZHRoGAggASgCEhsKE3BhcmtpbmdzcGFjZV9oZWlnaHQYCSABKAISNgoTcGFy",
- "a2luZ3NwYWNlX3N0YXR1cxgKIAEoDjIZLm1lc3NhZ2UuUGFya3NwYWNlX3N0",
- "YXR1cxIjCghjYXJfaW5mbxgLIAEoCzIRLm1lc3NhZ2UuQ2FyX2luZm8SEgoK",
- "ZW50cnlfdGltZRgMIAEoCRISCgpsZWF2ZV90aW1lGA0gASgJEi8KDnBhcmtz",
- "cGFjZV9wYXRoGA4gASgOMhcubWVzc2FnZS5QYXJrc3BhY2VfcGF0aBIaChJw",
- "YXRoX2VzdGltYXRlX3RpbWUYDyABKAISOgoXcGFya3NwYWNlX3N0YXR1c190",
- "YXJnZXQYECABKA4yGS5tZXNzYWdlLlBhcmtzcGFjZV9zdGF0dXMSIwoIY2Fy",
- "X3R5cGUYESABKA4yES5tZXNzYWdlLkNhcl90eXBlKuUKCgxNZXNzYWdlX3R5",
- "cGUSDQoJZUJhc2VfbXNnEAASEAoMZUNvbW1hbmRfbXNnEAESFgoSZUxvY2F0",
- "ZV9zdGF0dXNfbXNnEBESFwoTZUxvY2F0ZV9yZXF1ZXN0X21zZxASEhgKFGVM",
- "b2NhdGVfcmVzcG9uc2VfbXNnEBMSHAoYZUxvY2F0ZV9zaWZ0X3JlcXVlc3Rf",
- "bXNnEBQSHQoZZUxvY2F0ZV9zaWZ0X3Jlc3BvbnNlX21zZxAVEhgKFGVEaXNw",
- "YXRjaF9zdGF0dXNfbXNnECESGQoVZURpc3BhdGNoX3JlcXVlc3RfbXNnECIS",
- "GgoWZURpc3BhdGNoX3Jlc3BvbnNlX21zZxAjEiQKIGVQYXJrc3BhY2VfYWxs",
- "b2NhdGlvbl9zdGF0dXNfbXNnEDESJQohZVBhcmtzcGFjZV9hbGxvY2F0aW9u",
- "X3JlcXVlc3RfbXNnEDISJgoiZVBhcmtzcGFjZV9hbGxvY2F0aW9uX3Jlc3Bv",
- "bnNlX21zZxAzEiEKHWVQYXJrc3BhY2Vfc2VhcmNoX3JlcXVlc3RfbXNnEDQS",
- "IgoeZVBhcmtzcGFjZV9zZWFyY2hfcmVzcG9uc2VfbXNnEDUSIgoeZVBhcmtz",
- "cGFjZV9yZWxlYXNlX3JlcXVlc3RfbXNnEDYSIwofZVBhcmtzcGFjZV9yZWxl",
- "YXNlX3Jlc3BvbnNlX21zZxA3EicKI2VQYXJrc3BhY2VfZm9yY2VfdXBkYXRl",
- "X3JlcXVlc3RfbXNnEDgSKAokZVBhcmtzcGFjZV9mb3JjZV91cGRhdGVfcmVz",
- "cG9uc2VfbXNnEDkSKAokZVBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3JlcXVl",
- "c3RfbXNnEDoSKQolZVBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3Jlc3BvbnNl",
- "X21zZxA7EiIKHmVQYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX21zZxA8EisK",
- "J2VQYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX3Jlc3BvbnNlX21zZxA9Eh4K",
- "GmVTdG9yZV9jb21tYW5kX3JlcXVlc3RfbXNnEEESHwobZVN0b3JlX2NvbW1h",
- "bmRfcmVzcG9uc2VfbXNnEEISHwobZVBpY2t1cF9jb21tYW5kX3JlcXVlc3Rf",
- "bXNnEEMSIAocZVBpY2t1cF9jb21tYW5kX3Jlc3BvbnNlX21zZxBEEh8KGmVT",
- "dG9yaW5nX3Byb2Nlc3Nfc3RhdHVfbXNnEJABEh8KGmVQaWNraW5nX3Byb2Nl",
- "c3Nfc3RhdHVfbXNnEJEBEiIKHWVDZW50cmFsX2NvbnRyb2xsZXJfc3RhdHVf",
- "bXNnEKABEiMKHmVFbnRyYW5jZV9tYW51YWxfb3BlcmF0aW9uX21zZxCwARIi",
- "Ch1lUHJvY2Vzc19tYW51YWxfb3BlcmF0aW9uX21zZxCxARIfChplRGlzcGF0",
- "Y2hfcGxhbl9yZXF1ZXN0X21zZxDgARIgChtlRGlzcGF0Y2hfcGxhbl9yZXNw",
- "b25zZV9tc2cQ4QESIgodZURpc3BhdGNoX2NvbnRyb2xfcmVxdWVzdF9tc2cQ",
- "4gESIwoeZURpc3BhdGNoX2NvbnRyb2xfcmVzcG9uc2VfbXNnEOMBEiEKHGVE",
- "aXNwYXRjaF9tYW5hZ2VyX3N0YXR1c19tc2cQ6gESHwoaZURpc3BhdGNoX21h",
- "bmFnZXJfZGF0YV9tc2cQ6wESHwoaZUdyb3VuZF9kZXRlY3RfcmVxdWVzdF9t",
- "c2cQ8AESIAobZUdyb3VuZF9kZXRlY3RfcmVzcG9uc2VfbXNnEPEBEhcKEmVH",
- "cm91bmRfc3RhdHVzX21zZxDyASq5AQoMQ29tbXVuaWNhdG9yEgoKBmVFbXB0",
- "eRAAEgkKBWVNYWluEAESDgoJZVRlcm1pbm9yEIACEg8KCmVQYXJrc3BhY2UQ",
- "gAQSDgoJZU1lYXN1cmVyEIAGEhoKFWVNZWFzdXJlcl9zaWZ0X3NlcnZlchCB",
- "BhIWChFlRGlzcGF0Y2hfbWFuYWdlchCACBIWChFlRGlzcGF0Y2hfY29udHJv",
- "bBCBCBIVChBlR3JvdW5kX21lYXN1cmVyEIAeKioKDFByb2Nlc3NfdHlwZRIM",
- "CghlU3RvcmluZxABEgwKCGVQaWNraW5nEAIqZQoLRXJyb3JfbGV2ZWwSCgoG",
- "Tk9STUFMEAASFAoQTkVHTElHSUJMRV9FUlJPUhABEg8KC01JTk9SX0VSUk9S",
- "EAISDwoLTUFKT1JfRVJST1IQAxISCg5DUklUSUNBTF9FUlJPUhAEKqUBChBQ",
- "YXJrc3BhY2Vfc3RhdHVzEhwKGGVQYXJrc3BhY2Vfc3RhdHVzX3Vua25vdxAA",
- "EhQKEGVQYXJrc3BhY2VfZW1wdHkQARIXChNlUGFya3NwYWNlX29jY3VwaWVk",
- "EAISFwoTZVBhcmtzcGFjZV9yZXNlcnZlZBADEhUKEWVQYXJrc3BhY2VfbG9j",
- "a2VkEAQSFAoQZVBhcmtzcGFjZV9lcnJvchAFKj8KCURpcmVjdGlvbhIVChFl",
- "RGlyZWN0aW9uX3Vua25vdxAAEgwKCGVGb3J3YXJkEAESDQoJZUJhY2t3YXJk",
- "EAIqbAoOUGFya3NwYWNlX3BhdGgSDwoLVU5LTk9XX1BBVEgQABIQCgxPUFRJ",
- "TUFMX1BBVEgQARINCglMRUZUX1BBVEgQAhIOCgpSSUdIVF9QQVRIEAMSGAoU",
- "VEVNUE9SQVJZX0NBQ0hFX1BBVEgQBCptCg5QYXJrc3BhY2VfdHlwZRIZChVV",
- "TktOT1dfUEFSS1NQQUNFX1RZUEUQABIUChBNSU5fUEFSS0lOR1NQQUNFEAES",
- "FAoQTUlEX1BBUktJTkdTUEFDRRACEhQKEEJJR19QQVJLSU5HU1BBQ0UQAypG",
- "CghDYXJfdHlwZRITCg9VTktOT1dfQ0FSX1RZUEUQABILCgdNSU5fQ0FSEAES",
- "CwoHTUlEX0NBUhACEgsKB0JJR19DQVIQAyrdAgoJU3RlcF90eXBlEg8KC2VB",
- "bGxvY19zdGVwEAASEQoNZU1lYXN1cmVfc3RlcBABEhEKDWVDb21wYXJlX3N0",
- "ZXAQAhISCg5lRGlzcGF0Y2hfc3RlcBADEhEKDWVDb25maXJtX3N0ZXAQBBIQ",
- "CgxlU2VhcmNoX3N0ZXAQBRIOCgplV2FpdF9zdGVwEAYSEQoNZVJlbGVhc2Vf",
- "c3RlcBAHEg0KCWVDb21wbGV0ZRAIEhUKEWVCYWNrQ29uZmlybV9zdGVwEAkS",
- "FgoSZUJhY2tfY29tcGFyZV9zdGVwEAoSFQoRZUJhY2tNZWFzdXJlX3N0ZXAQ",
- "CxITCg9lQmFja0FsbG9jX3N0ZXAQDBISCg5lQmFja1dhaXRfc3RlcBANEhYK",
- "EmVCYWNrRGlzcGF0Y2hfc3RlcBAOEhQKEGVCYWNrU2VhcmNoX3N0ZXAQDxIR",
- "Cg1lQmFja0NvbXBsZXRlEBAqQwoKU3RlcF9zdGF0dRIMCghlV2FpdGluZxAA",
- "EgwKCGVXb3JraW5nEAESCgoGZUVycm9yEAISDQoJZUZpbmlzaGVkEAMq+AEK",
- "FERpc3BhdGNoX2RldmljZV90eXBlEgsKB1JPQk9UXzEQZRILCgdST0JPVF8y",
- "EGYSDgoJQ0FSUklFUl8xEMgBEg4KCUNBUlJJRVJfMhDPARIOCglDQVJSSUVS",
- "XzMQywESEQoMUEFTU0FHRVdBWV8wEKwCEhEKDFBBU1NBR0VXQVlfMRCtAhIR",
- "CgxQQVNTQUdFV0FZXzIQrgISEQoMUEFTU0FHRVdBWV8zEK8CEhEKDFBBU1NB",
- "R0VXQVlfNBCwAhIRCgxQQVNTQUdFV0FZXzUQsQISEQoMUEFTU0FHRVdBWV82",
- "ELICEhEKDFBBU1NBR0VXQVlfNxCzAg=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Message_type), typeof(global::Message.Communicator), typeof(global::Message.Process_type), typeof(global::Message.Error_level), typeof(global::Message.Parkspace_status), typeof(global::Message.Direction), typeof(global::Message.Parkspace_path), typeof(global::Message.Parkspace_type), typeof(global::Message.Car_type), typeof(global::Message.Step_type), typeof(global::Message.Step_statu), typeof(global::Message.Dispatch_device_type), }, null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Base_info), global::Message.Base_info.Parser, new[]{ "MsgType", "TimeoutMs", "Sender", "Receiver" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Base_msg), global::Message.Base_msg.Parser, new[]{ "BaseInfo" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Error_manager), global::Message.Error_manager.Parser, new[]{ "ErrorCode", "ErrorLevel", "ErrorDescription" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Locate_information), global::Message.Locate_information.Parser, new[]{ "LocateX", "LocateY", "LocateAngle", "LocateLength", "LocateWidth", "LocateHeight", "LocateWheelBase", "LocateWheelWidth", "LocateCorrect", "LocateFrontTheta" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Car_info), global::Message.Car_info.Parser, new[]{ "CarLength", "CarWidth", "CarHeight", "License", "CarWheelBase", "CarWheelWidth" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_info), global::Message.Parkspace_info.Parser, new[]{ "ParkingspaceIndexId", "ParkingspaceType", "ParkingspaceUnitId", "ParkingspaceLabelId", "ParkingspaceRoomId", "ParkingspaceDirection", "ParkingspaceFloorId", "ParkingspaceWidth", "ParkingspaceHeight", "ParkingspaceStatus", "CarInfo", "EntryTime", "LeaveTime", "ParkspacePath", "PathEstimateTime", "ParkspaceStatusTarget", "CarType" }, null, null, null, null)
- }));
- }
- #endregion
- }
- #region Enums
- /// <summary>
- ///消息类型定义;每个在网络上传输的消息必须含有这个属性
- /// </summary>
- public enum Message_type {
- [pbr::OriginalName("eBase_msg")] EBaseMsg = 0,
- /// <summary>
- ///指令消息
- /// </summary>
- [pbr::OriginalName("eCommand_msg")] ECommandMsg = 1,
- /// <summary>
- ///定位模块状态消息
- /// </summary>
- [pbr::OriginalName("eLocate_status_msg")] ELocateStatusMsg = 17,
- /// <summary>
- ///定位请求消息
- /// </summary>
- [pbr::OriginalName("eLocate_request_msg")] ELocateRequestMsg = 18,
- /// <summary>
- ///定位反馈消息
- /// </summary>
- [pbr::OriginalName("eLocate_response_msg")] ELocateResponseMsg = 19,
- /// <summary>
- ///预测算法请求消息
- /// </summary>
- [pbr::OriginalName("eLocate_sift_request_msg")] ELocateSiftRequestMsg = 20,
- /// <summary>
- ///预测算法反馈消息
- /// </summary>
- [pbr::OriginalName("eLocate_sift_response_msg")] ELocateSiftResponseMsg = 21,
- /// <summary>
- ///调度模块硬件状态消息
- /// </summary>
- [pbr::OriginalName("eDispatch_status_msg")] EDispatchStatusMsg = 33,
- /// <summary>
- ///请求调度消息
- /// </summary>
- [pbr::OriginalName("eDispatch_request_msg")] EDispatchRequestMsg = 34,
- /// <summary>
- ///调度结果反馈消息
- /// </summary>
- [pbr::OriginalName("eDispatch_response_msg")] EDispatchResponseMsg = 35,
- /// <summary>
- ///车位分配模块状态消息,包括车位信息
- /// </summary>
- [pbr::OriginalName("eParkspace_allocation_status_msg")] EParkspaceAllocationStatusMsg = 49,
- /// <summary>
- ///请求分配车位消息
- /// </summary>
- [pbr::OriginalName("eParkspace_allocation_request_msg")] EParkspaceAllocationRequestMsg = 50,
- /// <summary>
- ///分配车位结果反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_allocation_response_msg")] EParkspaceAllocationResponseMsg = 51,
- /// <summary>
- ///查询车位请求消息
- /// </summary>
- [pbr::OriginalName("eParkspace_search_request_msg")] EParkspaceSearchRequestMsg = 52,
- /// <summary>
- ///查询车位反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_search_response_msg")] EParkspaceSearchResponseMsg = 53,
- /// <summary>
- ///释放车位请求消息
- /// </summary>
- [pbr::OriginalName("eParkspace_release_request_msg")] EParkspaceReleaseRequestMsg = 54,
- /// <summary>
- ///释放车位反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_release_response_msg")] EParkspaceReleaseResponseMsg = 55,
- /// <summary>
- ///手动修改车位消息
- /// </summary>
- [pbr::OriginalName("eParkspace_force_update_request_msg")] EParkspaceForceUpdateRequestMsg = 56,
- /// <summary>
- ///手动修改车位反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_force_update_response_msg")] EParkspaceForceUpdateResponseMsg = 57,
- /// <summary>
- ///确认分配车位请求消息
- /// </summary>
- [pbr::OriginalName("eParkspace_confirm_alloc_request_msg")] EParkspaceConfirmAllocRequestMsg = 58,
- /// <summary>
- ///确认分配车位反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_confirm_alloc_response_msg")] EParkspaceConfirmAllocResponseMsg = 59,
- /// <summary>
- ///车位分配模块车位数据消息
- /// </summary>
- [pbr::OriginalName("eParkspace_allocation_data_msg")] EParkspaceAllocationDataMsg = 60,
- /// <summary>
- ///车位数据反馈消息
- /// </summary>
- [pbr::OriginalName("eParkspace_allocation_data_response_msg")] EParkspaceAllocationDataResponseMsg = 61,
- /// <summary>
- ///终端停车请求消息
- /// </summary>
- [pbr::OriginalName("eStore_command_request_msg")] EStoreCommandRequestMsg = 65,
- /// <summary>
- ///停车请求反馈消息
- /// </summary>
- [pbr::OriginalName("eStore_command_response_msg")] EStoreCommandResponseMsg = 66,
- /// <summary>
- ///取车请求消息
- /// </summary>
- [pbr::OriginalName("ePickup_command_request_msg")] EPickupCommandRequestMsg = 67,
- /// <summary>
- ///取车请求反馈消息
- /// </summary>
- [pbr::OriginalName("ePickup_command_response_msg")] EPickupCommandResponseMsg = 68,
- /// <summary>
- ///停车指令进度条消息
- /// </summary>
- [pbr::OriginalName("eStoring_process_statu_msg")] EStoringProcessStatuMsg = 144,
- /// <summary>
- ///取车指令进度消息
- /// </summary>
- [pbr::OriginalName("ePicking_process_statu_msg")] EPickingProcessStatuMsg = 145,
- /// <summary>
- ///中控系统状态消息
- /// </summary>
- [pbr::OriginalName("eCentral_controller_statu_msg")] ECentralControllerStatuMsg = 160,
- /// <summary>
- ///针对出入口状态操作的手动消息
- /// </summary>
- [pbr::OriginalName("eEntrance_manual_operation_msg")] EEntranceManualOperationMsg = 176,
- /// <summary>
- ///针对流程的手动消息
- /// </summary>
- [pbr::OriginalName("eProcess_manual_operation_msg")] EProcessManualOperationMsg = 177,
- /// <summary>
- ///调度总规划的请求(用于启动整个调度算法)(调度管理->调度算法)
- /// </summary>
- [pbr::OriginalName("eDispatch_plan_request_msg")] EDispatchPlanRequestMsg = 224,
- /// <summary>
- ///调度总规划的答复(调度算法->调度管理)
- /// </summary>
- [pbr::OriginalName("eDispatch_plan_response_msg")] EDispatchPlanResponseMsg = 225,
- /// <summary>
- ///调度控制的任务请求(调度算法->调度管理)
- /// </summary>
- [pbr::OriginalName("eDispatch_control_request_msg")] EDispatchControlRequestMsg = 226,
- /// <summary>
- ///调度控制的任务答复(调度管理->调度算法)
- /// </summary>
- [pbr::OriginalName("eDispatch_control_response_msg")] EDispatchControlResponseMsg = 227,
- /// <summary>
- ///调度管理的设备状态消息(调度底下所有硬件设备状态的汇总)
- /// </summary>
- [pbr::OriginalName("eDispatch_manager_status_msg")] EDispatchManagerStatusMsg = 234,
- /// <summary>
- ///调度管理的设备详细的数据信息
- /// </summary>
- [pbr::OriginalName("eDispatch_manager_data_msg")] EDispatchManagerDataMsg = 235,
- /// <summary>
- ///地面雷达测量请求消息
- /// </summary>
- [pbr::OriginalName("eGround_detect_request_msg")] EGroundDetectRequestMsg = 240,
- /// <summary>
- ///地面雷达测量反馈消息
- /// </summary>
- [pbr::OriginalName("eGround_detect_response_msg")] EGroundDetectResponseMsg = 241,
- /// <summary>
- ///地面雷达状态消息
- /// </summary>
- [pbr::OriginalName("eGround_status_msg")] EGroundStatusMsg = 242,
- }
- /// <summary>
- ///通讯单元
- /// </summary>
- public enum Communicator {
- [pbr::OriginalName("eEmpty")] EEmpty = 0,
- /// <summary>
- ///主流程
- /// </summary>
- [pbr::OriginalName("eMain")] EMain = 1,
- [pbr::OriginalName("eTerminor")] ETerminor = 256,
- /// <summary>
- ///车位表
- /// </summary>
- [pbr::OriginalName("eParkspace")] EParkspace = 512,
- /// <summary>
- ///测量单元
- /// </summary>
- [pbr::OriginalName("eMeasurer")] EMeasurer = 768,
- /// <summary>
- ///测量单元的服务器
- /// </summary>
- [pbr::OriginalName("eMeasurer_sift_server")] EMeasurerSiftServer = 769,
- /// <summary>
- ///调度机构
- /// </summary>
- [pbr::OriginalName("eDispatch_manager")] EDispatchManager = 1024,
- /// <summary>
- ///调度机构
- /// </summary>
- [pbr::OriginalName("eDispatch_control")] EDispatchControl = 1025,
- /// <summary>
- ///地面测量单元
- /// </summary>
- [pbr::OriginalName("eGround_measurer")] EGroundMeasurer = 3840,
- }
- /// <summary>
- /// 事件,停车或者取车
- /// </summary>
- public enum Process_type {
- [pbr::OriginalName("eStoring")] EStoring = 1,
- [pbr::OriginalName("ePicking")] EPicking = 2,
- }
- /// <summary>
- ///错误等级,用来做故障处理
- /// </summary>
- public enum Error_level {
- /// <summary>
- /// 正常,没有错误,默认值0
- /// </summary>
- [pbr::OriginalName("NORMAL")] Normal = 0,
- /// <summary>
- /// 轻微故障;可忽略的故障,NEGLIGIBLE_ERROR
- /// </summary>
- [pbr::OriginalName("NEGLIGIBLE_ERROR")] NegligibleError = 1,
- /// <summary>
- /// 一般故障,MINOR_ERROR
- /// </summary>
- [pbr::OriginalName("MINOR_ERROR")] MinorError = 2,
- /// <summary>
- /// 严重故障,MAJOR_ERROR
- /// </summary>
- [pbr::OriginalName("MAJOR_ERROR")] MajorError = 3,
- /// <summary>
- /// 致命故障,CRITICAL_ERROR
- /// </summary>
- [pbr::OriginalName("CRITICAL_ERROR")] CriticalError = 4,
- }
- /// <summary>
- ///车位状态枚举
- /// </summary>
- public enum Parkspace_status {
- [pbr::OriginalName("eParkspace_status_unknow")] EParkspaceStatusUnknow = 0,
- /// <summary>
- ///空闲,可分配
- /// </summary>
- [pbr::OriginalName("eParkspace_empty")] EParkspaceEmpty = 1,
- /// <summary>
- ///被占用,不可分配
- /// </summary>
- [pbr::OriginalName("eParkspace_occupied")] EParkspaceOccupied = 2,
- /// <summary>
- ///被预约,预约车辆可分配
- /// </summary>
- [pbr::OriginalName("eParkspace_reserved")] EParkspaceReserved = 3,
- /// <summary>
- ///临时锁定,不可分配
- /// </summary>
- [pbr::OriginalName("eParkspace_locked")] EParkspaceLocked = 4,
- /// <summary>
- ///车位机械结构或硬件故障
- /// </summary>
- [pbr::OriginalName("eParkspace_error")] EParkspaceError = 5,
- }
- /// <summary>
- ///车位朝向, 小号朝前朝南, 大号朝后朝北
- /// </summary>
- public enum Direction {
- [pbr::OriginalName("eDirection_unknow")] EDirectionUnknow = 0,
- /// <summary>
- ///小号朝前朝南
- /// </summary>
- [pbr::OriginalName("eForward")] EForward = 1,
- /// <summary>
- ///大号朝后朝北
- /// </summary>
- [pbr::OriginalName("eBackward")] EBackward = 2,
- }
- /// <summary>
- ///车位分配路线(根据中跑车的路线来定)
- /// </summary>
- public enum Parkspace_path {
- [pbr::OriginalName("UNKNOW_PATH")] UnknowPath = 0,
- [pbr::OriginalName("OPTIMAL_PATH")] OptimalPath = 1,
- [pbr::OriginalName("LEFT_PATH")] LeftPath = 2,
- [pbr::OriginalName("RIGHT_PATH")] RightPath = 3,
- [pbr::OriginalName("TEMPORARY_CACHE_PATH")] TemporaryCachePath = 4,
- }
- /// <summary>
- ///车位类型
- /// </summary>
- public enum Parkspace_type {
- [pbr::OriginalName("UNKNOW_PARKSPACE_TYPE")] UnknowParkspaceType = 0,
- /// <summary>
- ///小车位
- /// </summary>
- [pbr::OriginalName("MIN_PARKINGSPACE")] MinParkingspace = 1,
- /// <summary>
- ///中车位
- /// </summary>
- [pbr::OriginalName("MID_PARKINGSPACE")] MidParkingspace = 2,
- /// <summary>
- ///大车位
- /// </summary>
- [pbr::OriginalName("BIG_PARKINGSPACE")] BigParkingspace = 3,
- }
- /// <summary>
- ///汽车类型
- /// </summary>
- public enum Car_type {
- [pbr::OriginalName("UNKNOW_CAR_TYPE")] UnknowCarType = 0,
- /// <summary>
- ///小车
- /// </summary>
- [pbr::OriginalName("MIN_CAR")] MinCar = 1,
- /// <summary>
- ///中车
- /// </summary>
- [pbr::OriginalName("MID_CAR")] MidCar = 2,
- /// <summary>
- ///大车
- /// </summary>
- [pbr::OriginalName("BIG_CAR")] BigCar = 3,
- }
- /// <summary>
- ///
- ///流程中的步骤类型, 例如:停车流程包含5个步骤 , 分配车位-测量-检验结果-搬运-更新车位表
- /// </summary>
- public enum Step_type {
- [pbr::OriginalName("eAlloc_step")] EAllocStep = 0,
- [pbr::OriginalName("eMeasure_step")] EMeasureStep = 1,
- [pbr::OriginalName("eCompare_step")] ECompareStep = 2,
- [pbr::OriginalName("eDispatch_step")] EDispatchStep = 3,
- [pbr::OriginalName("eConfirm_step")] EConfirmStep = 4,
- /// <summary>
- ///查询数据库
- /// </summary>
- [pbr::OriginalName("eSearch_step")] ESearchStep = 5,
- /// <summary>
- ///等待车辆离开
- /// </summary>
- [pbr::OriginalName("eWait_step")] EWaitStep = 6,
- /// <summary>
- ///释放车位
- /// </summary>
- [pbr::OriginalName("eRelease_step")] EReleaseStep = 7,
- /// <summary>
- ///完成
- /// </summary>
- [pbr::OriginalName("eComplete")] EComplete = 8,
- [pbr::OriginalName("eBackConfirm_step")] EBackConfirmStep = 9,
- [pbr::OriginalName("eBack_compare_step")] EBackCompareStep = 10,
- [pbr::OriginalName("eBackMeasure_step")] EBackMeasureStep = 11,
- [pbr::OriginalName("eBackAlloc_step")] EBackAllocStep = 12,
- [pbr::OriginalName("eBackWait_step")] EBackWaitStep = 13,
- [pbr::OriginalName("eBackDispatch_step")] EBackDispatchStep = 14,
- [pbr::OriginalName("eBackSearch_step")] EBackSearchStep = 15,
- [pbr::OriginalName("eBackComplete")] EBackComplete = 16,
- }
- /// <summary>
- ///步骤状态,每个步骤有四中可能状态 ,等待中-执行中-完成或者错误 四个状态
- /// </summary>
- public enum Step_statu {
- /// <summary>
- ///完成/空闲
- /// </summary>
- [pbr::OriginalName("eWaiting")] EWaiting = 0,
- [pbr::OriginalName("eWorking")] EWorking = 1,
- [pbr::OriginalName("eError")] EError = 2,
- [pbr::OriginalName("eFinished")] EFinished = 3,
- }
- /// <summary>
- ///调度设备的类型
- /// </summary>
- public enum Dispatch_device_type {
- /// <summary>
- ///一号出口的专用机器手(只能负责1号出口的取车)(目前没有安装,暂时不考虑)
- /// </summary>
- [pbr::OriginalName("ROBOT_1")] Robot1 = 101,
- /// <summary>
- ///中间的大型机器手 (可以负责1~6号出入口的停车和取车)
- /// </summary>
- [pbr::OriginalName("ROBOT_2")] Robot2 = 102,
- /// <summary>
- ///左侧0号电梯井的搬运器(升降电梯 中跑车 小跑车 三合一为搬运器)
- /// </summary>
- [pbr::OriginalName("CARRIER_1")] Carrier1 = 200,
- /// <summary>
- ///右侧7号电梯井的搬运器(升降电梯 中跑车 小跑车 三合一为搬运器)
- /// </summary>
- [pbr::OriginalName("CARRIER_2")] Carrier2 = 207,
- /// <summary>
- ///中间3楼的搬运器(中跑车 小跑车 二合一为搬运器)(没有电梯, 只能在3楼活动)
- /// </summary>
- [pbr::OriginalName("CARRIER_3")] Carrier3 = 203,
- /// <summary>
- ///0号出口(在左侧电梯井, 只能取车)(暂时不存在)
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_0")] Passageway0 = 300,
- /// <summary>
- ///1号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_1")] Passageway1 = 301,
- /// <summary>
- ///2号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_2")] Passageway2 = 302,
- /// <summary>
- ///3号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_3")] Passageway3 = 303,
- /// <summary>
- ///4号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_4")] Passageway4 = 304,
- /// <summary>
- ///5号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_5")] Passageway5 = 305,
- /// <summary>
- ///6号出入口
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_6")] Passageway6 = 306,
- /// <summary>
- ///7号出口(在右侧电梯井, 只能取车)
- /// </summary>
- [pbr::OriginalName("PASSAGEWAY_7")] Passageway7 = 307,
- }
- #endregion
- #region Messages
- /// <summary>
- /////base message 用于解析未知类型的消息
- /// </summary>
- public sealed partial class Base_info : pb::IMessage<Base_info> {
- private static readonly pb::MessageParser<Base_info> _parser = new pb::MessageParser<Base_info>(() => new Base_info());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Base_info> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[0]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_info() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_info(Base_info other) : this() {
- _hasBits0 = other._hasBits0;
- msgType_ = other.msgType_;
- timeoutMs_ = other.timeoutMs_;
- sender_ = other.sender_;
- receiver_ = other.receiver_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_info Clone() {
- return new Base_info(this);
- }
- /// <summary>Field number for the "msg_type" field.</summary>
- public const int MsgTypeFieldNumber = 1;
- private readonly static global::Message.Message_type MsgTypeDefaultValue = global::Message.Message_type.EBaseMsg;
- private global::Message.Message_type msgType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Message_type MsgType {
- get { if ((_hasBits0 & 1) != 0) { return msgType_; } else { return MsgTypeDefaultValue; } }
- set {
- _hasBits0 |= 1;
- msgType_ = value;
- }
- }
- /// <summary>Gets whether the "msg_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasMsgType {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "msg_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearMsgType() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "timeout_ms" field.</summary>
- public const int TimeoutMsFieldNumber = 2;
- private readonly static int TimeoutMsDefaultValue = 0;
- private int timeoutMs_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int TimeoutMs {
- get { if ((_hasBits0 & 2) != 0) { return timeoutMs_; } else { return TimeoutMsDefaultValue; } }
- set {
- _hasBits0 |= 2;
- timeoutMs_ = value;
- }
- }
- /// <summary>Gets whether the "timeout_ms" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasTimeoutMs {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "timeout_ms" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearTimeoutMs() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "sender" field.</summary>
- public const int SenderFieldNumber = 3;
- private readonly static global::Message.Communicator SenderDefaultValue = global::Message.Communicator.EEmpty;
- private global::Message.Communicator sender_;
- /// <summary>
- ///发送者
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Communicator Sender {
- get { if ((_hasBits0 & 4) != 0) { return sender_; } else { return SenderDefaultValue; } }
- set {
- _hasBits0 |= 4;
- sender_ = value;
- }
- }
- /// <summary>Gets whether the "sender" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasSender {
- get { return (_hasBits0 & 4) != 0; }
- }
- /// <summary>Clears the value of the "sender" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearSender() {
- _hasBits0 &= ~4;
- }
- /// <summary>Field number for the "receiver" field.</summary>
- public const int ReceiverFieldNumber = 4;
- private readonly static global::Message.Communicator ReceiverDefaultValue = global::Message.Communicator.EEmpty;
- private global::Message.Communicator receiver_;
- /// <summary>
- ///接收者
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Communicator Receiver {
- get { if ((_hasBits0 & 8) != 0) { return receiver_; } else { return ReceiverDefaultValue; } }
- set {
- _hasBits0 |= 8;
- receiver_ = value;
- }
- }
- /// <summary>Gets whether the "receiver" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasReceiver {
- get { return (_hasBits0 & 8) != 0; }
- }
- /// <summary>Clears the value of the "receiver" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearReceiver() {
- _hasBits0 &= ~8;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Base_info);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Base_info other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (MsgType != other.MsgType) return false;
- if (TimeoutMs != other.TimeoutMs) return false;
- if (Sender != other.Sender) return false;
- if (Receiver != other.Receiver) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (HasMsgType) hash ^= MsgType.GetHashCode();
- if (HasTimeoutMs) hash ^= TimeoutMs.GetHashCode();
- if (HasSender) hash ^= Sender.GetHashCode();
- if (HasReceiver) hash ^= Receiver.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (HasMsgType) {
- output.WriteRawTag(8);
- output.WriteEnum((int) MsgType);
- }
- if (HasTimeoutMs) {
- output.WriteRawTag(16);
- output.WriteInt32(TimeoutMs);
- }
- if (HasSender) {
- output.WriteRawTag(24);
- output.WriteEnum((int) Sender);
- }
- if (HasReceiver) {
- output.WriteRawTag(32);
- output.WriteEnum((int) Receiver);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (HasMsgType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MsgType);
- }
- if (HasTimeoutMs) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeoutMs);
- }
- if (HasSender) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Sender);
- }
- if (HasReceiver) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Receiver);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Base_info other) {
- if (other == null) {
- return;
- }
- if (other.HasMsgType) {
- MsgType = other.MsgType;
- }
- if (other.HasTimeoutMs) {
- TimeoutMs = other.TimeoutMs;
- }
- if (other.HasSender) {
- Sender = other.Sender;
- }
- if (other.HasReceiver) {
- Receiver = other.Receiver;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- MsgType = (global::Message.Message_type) input.ReadEnum();
- break;
- }
- case 16: {
- TimeoutMs = input.ReadInt32();
- break;
- }
- case 24: {
- Sender = (global::Message.Communicator) input.ReadEnum();
- break;
- }
- case 32: {
- Receiver = (global::Message.Communicator) input.ReadEnum();
- break;
- }
- }
- }
- }
- }
- public sealed partial class Base_msg : pb::IMessage<Base_msg> {
- private static readonly pb::MessageParser<Base_msg> _parser = new pb::MessageParser<Base_msg>(() => new Base_msg());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Base_msg> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[1]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_msg() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_msg(Base_msg other) : this() {
- baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Base_msg Clone() {
- return new Base_msg(this);
- }
- /// <summary>Field number for the "base_info" field.</summary>
- public const int BaseInfoFieldNumber = 1;
- private global::Message.Base_info baseInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Base_info BaseInfo {
- get { return baseInfo_; }
- set {
- baseInfo_ = value;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Base_msg);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Base_msg other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (baseInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Base_msg other) {
- if (other == null) {
- return;
- }
- if (other.baseInfo_ != null) {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- BaseInfo.MergeFrom(other.BaseInfo);
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- }
- }
- }
- }
- public sealed partial class Error_manager : pb::IMessage<Error_manager> {
- private static readonly pb::MessageParser<Error_manager> _parser = new pb::MessageParser<Error_manager>(() => new Error_manager());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Error_manager> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[2]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Error_manager() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Error_manager(Error_manager other) : this() {
- _hasBits0 = other._hasBits0;
- errorCode_ = other.errorCode_;
- errorLevel_ = other.errorLevel_;
- errorDescription_ = other.errorDescription_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Error_manager Clone() {
- return new Error_manager(this);
- }
- /// <summary>Field number for the "error_code" field.</summary>
- public const int ErrorCodeFieldNumber = 1;
- private readonly static int ErrorCodeDefaultValue = 0;
- private int errorCode_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ErrorCode {
- get { if ((_hasBits0 & 1) != 0) { return errorCode_; } else { return ErrorCodeDefaultValue; } }
- set {
- _hasBits0 |= 1;
- errorCode_ = value;
- }
- }
- /// <summary>Gets whether the "error_code" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasErrorCode {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "error_code" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearErrorCode() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "error_level" field.</summary>
- public const int ErrorLevelFieldNumber = 2;
- private readonly static global::Message.Error_level ErrorLevelDefaultValue = global::Message.Error_level.Normal;
- private global::Message.Error_level errorLevel_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Error_level ErrorLevel {
- get { if ((_hasBits0 & 2) != 0) { return errorLevel_; } else { return ErrorLevelDefaultValue; } }
- set {
- _hasBits0 |= 2;
- errorLevel_ = value;
- }
- }
- /// <summary>Gets whether the "error_level" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasErrorLevel {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "error_level" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearErrorLevel() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "error_description" field.</summary>
- public const int ErrorDescriptionFieldNumber = 3;
- private readonly static string ErrorDescriptionDefaultValue = "";
- private string errorDescription_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string ErrorDescription {
- get { return errorDescription_ ?? ErrorDescriptionDefaultValue; }
- set {
- errorDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Gets whether the "error_description" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasErrorDescription {
- get { return errorDescription_ != null; }
- }
- /// <summary>Clears the value of the "error_description" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearErrorDescription() {
- errorDescription_ = null;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Error_manager);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Error_manager other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ErrorCode != other.ErrorCode) return false;
- if (ErrorLevel != other.ErrorLevel) return false;
- if (ErrorDescription != other.ErrorDescription) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (HasErrorCode) hash ^= ErrorCode.GetHashCode();
- if (HasErrorLevel) hash ^= ErrorLevel.GetHashCode();
- if (HasErrorDescription) hash ^= ErrorDescription.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (HasErrorCode) {
- output.WriteRawTag(8);
- output.WriteInt32(ErrorCode);
- }
- if (HasErrorLevel) {
- output.WriteRawTag(16);
- output.WriteEnum((int) ErrorLevel);
- }
- if (HasErrorDescription) {
- output.WriteRawTag(26);
- output.WriteString(ErrorDescription);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (HasErrorCode) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ErrorCode);
- }
- if (HasErrorLevel) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorLevel);
- }
- if (HasErrorDescription) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorDescription);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Error_manager other) {
- if (other == null) {
- return;
- }
- if (other.HasErrorCode) {
- ErrorCode = other.ErrorCode;
- }
- if (other.HasErrorLevel) {
- ErrorLevel = other.ErrorLevel;
- }
- if (other.HasErrorDescription) {
- ErrorDescription = other.ErrorDescription;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- ErrorCode = input.ReadInt32();
- break;
- }
- case 16: {
- ErrorLevel = (global::Message.Error_level) input.ReadEnum();
- break;
- }
- case 26: {
- ErrorDescription = input.ReadString();
- break;
- }
- }
- }
- }
- }
- /// <summary>
- ///测量结果结构体
- /// </summary>
- public sealed partial class Locate_information : pb::IMessage<Locate_information> {
- private static readonly pb::MessageParser<Locate_information> _parser = new pb::MessageParser<Locate_information>(() => new Locate_information());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Locate_information> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[3]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Locate_information() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Locate_information(Locate_information other) : this() {
- _hasBits0 = other._hasBits0;
- locateX_ = other.locateX_;
- locateY_ = other.locateY_;
- locateAngle_ = other.locateAngle_;
- locateLength_ = other.locateLength_;
- locateWidth_ = other.locateWidth_;
- locateHeight_ = other.locateHeight_;
- locateWheelBase_ = other.locateWheelBase_;
- locateWheelWidth_ = other.locateWheelWidth_;
- locateCorrect_ = other.locateCorrect_;
- locateFrontTheta_ = other.locateFrontTheta_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Locate_information Clone() {
- return new Locate_information(this);
- }
- /// <summary>Field number for the "locate_x" field.</summary>
- public const int LocateXFieldNumber = 1;
- private readonly static float LocateXDefaultValue = 0F;
- private float locateX_;
- /// <summary>
- ///整车的中心点x值; 四轮的中心
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateX {
- get { if ((_hasBits0 & 1) != 0) { return locateX_; } else { return LocateXDefaultValue; } }
- set {
- _hasBits0 |= 1;
- locateX_ = value;
- }
- }
- /// <summary>Gets whether the "locate_x" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateX {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "locate_x" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateX() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "locate_y" field.</summary>
- public const int LocateYFieldNumber = 2;
- private readonly static float LocateYDefaultValue = 0F;
- private float locateY_;
- /// <summary>
- ///整车的中心点y值; 四轮的中心
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateY {
- get { if ((_hasBits0 & 2) != 0) { return locateY_; } else { return LocateYDefaultValue; } }
- set {
- _hasBits0 |= 2;
- locateY_ = value;
- }
- }
- /// <summary>Gets whether the "locate_y" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateY {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "locate_y" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateY() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "locate_angle" field.</summary>
- public const int LocateAngleFieldNumber = 3;
- private readonly static float LocateAngleDefaultValue = 0F;
- private float locateAngle_;
- /// <summary>
- ///整车的旋转角; 四轮的旋转角
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateAngle {
- get { if ((_hasBits0 & 4) != 0) { return locateAngle_; } else { return LocateAngleDefaultValue; } }
- set {
- _hasBits0 |= 4;
- locateAngle_ = value;
- }
- }
- /// <summary>Gets whether the "locate_angle" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateAngle {
- get { return (_hasBits0 & 4) != 0; }
- }
- /// <summary>Clears the value of the "locate_angle" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateAngle() {
- _hasBits0 &= ~4;
- }
- /// <summary>Field number for the "locate_length" field.</summary>
- public const int LocateLengthFieldNumber = 4;
- private readonly static float LocateLengthDefaultValue = 0F;
- private float locateLength_;
- /// <summary>
- ///整车的长度; 用于规避碰撞
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateLength {
- get { if ((_hasBits0 & 8) != 0) { return locateLength_; } else { return LocateLengthDefaultValue; } }
- set {
- _hasBits0 |= 8;
- locateLength_ = value;
- }
- }
- /// <summary>Gets whether the "locate_length" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateLength {
- get { return (_hasBits0 & 8) != 0; }
- }
- /// <summary>Clears the value of the "locate_length" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateLength() {
- _hasBits0 &= ~8;
- }
- /// <summary>Field number for the "locate_width" field.</summary>
- public const int LocateWidthFieldNumber = 5;
- private readonly static float LocateWidthDefaultValue = 0F;
- private float locateWidth_;
- /// <summary>
- ///整车的宽度; 用于规避碰撞
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateWidth {
- get { if ((_hasBits0 & 16) != 0) { return locateWidth_; } else { return LocateWidthDefaultValue; } }
- set {
- _hasBits0 |= 16;
- locateWidth_ = value;
- }
- }
- /// <summary>Gets whether the "locate_width" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateWidth {
- get { return (_hasBits0 & 16) != 0; }
- }
- /// <summary>Clears the value of the "locate_width" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateWidth() {
- _hasBits0 &= ~16;
- }
- /// <summary>Field number for the "locate_height" field.</summary>
- public const int LocateHeightFieldNumber = 6;
- private readonly static float LocateHeightDefaultValue = 0F;
- private float locateHeight_;
- /// <summary>
- ///整车的高度; 用于规避碰撞
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateHeight {
- get { if ((_hasBits0 & 32) != 0) { return locateHeight_; } else { return LocateHeightDefaultValue; } }
- set {
- _hasBits0 |= 32;
- locateHeight_ = value;
- }
- }
- /// <summary>Gets whether the "locate_height" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateHeight {
- get { return (_hasBits0 & 32) != 0; }
- }
- /// <summary>Clears the value of the "locate_height" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateHeight() {
- _hasBits0 &= ~32;
- }
- /// <summary>Field number for the "locate_wheel_base" field.</summary>
- public const int LocateWheelBaseFieldNumber = 7;
- private readonly static float LocateWheelBaseDefaultValue = 0F;
- private float locateWheelBase_;
- /// <summary>
- ///整车的轮距; 前后轮的距离; 用于机器人或agv的抓车
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateWheelBase {
- get { if ((_hasBits0 & 64) != 0) { return locateWheelBase_; } else { return LocateWheelBaseDefaultValue; } }
- set {
- _hasBits0 |= 64;
- locateWheelBase_ = value;
- }
- }
- /// <summary>Gets whether the "locate_wheel_base" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateWheelBase {
- get { return (_hasBits0 & 64) != 0; }
- }
- /// <summary>Clears the value of the "locate_wheel_base" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateWheelBase() {
- _hasBits0 &= ~64;
- }
- /// <summary>Field number for the "locate_wheel_width" field.</summary>
- public const int LocateWheelWidthFieldNumber = 8;
- private readonly static float LocateWheelWidthDefaultValue = 0F;
- private float locateWheelWidth_;
- /// <summary>
- ///整车的轮距; 左右轮的距离; 用于机器人或agv的抓车
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateWheelWidth {
- get { if ((_hasBits0 & 128) != 0) { return locateWheelWidth_; } else { return LocateWheelWidthDefaultValue; } }
- set {
- _hasBits0 |= 128;
- locateWheelWidth_ = value;
- }
- }
- /// <summary>Gets whether the "locate_wheel_width" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateWheelWidth {
- get { return (_hasBits0 & 128) != 0; }
- }
- /// <summary>Clears the value of the "locate_wheel_width" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateWheelWidth() {
- _hasBits0 &= ~128;
- }
- /// <summary>Field number for the "locate_correct" field.</summary>
- public const int LocateCorrectFieldNumber = 9;
- private readonly static bool LocateCorrectDefaultValue = false;
- private bool locateCorrect_;
- /// <summary>
- ///整车的校准标记位
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool LocateCorrect {
- get { if ((_hasBits0 & 256) != 0) { return locateCorrect_; } else { return LocateCorrectDefaultValue; } }
- set {
- _hasBits0 |= 256;
- locateCorrect_ = value;
- }
- }
- /// <summary>Gets whether the "locate_correct" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateCorrect {
- get { return (_hasBits0 & 256) != 0; }
- }
- /// <summary>Clears the value of the "locate_correct" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateCorrect() {
- _hasBits0 &= ~256;
- }
- /// <summary>Field number for the "locate_front_theta" field.</summary>
- public const int LocateFrontThetaFieldNumber = 10;
- private readonly static float LocateFrontThetaDefaultValue = 0F;
- private float locateFrontTheta_;
- /// <summary>
- ///整车的前轮的旋转角
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float LocateFrontTheta {
- get { if ((_hasBits0 & 512) != 0) { return locateFrontTheta_; } else { return LocateFrontThetaDefaultValue; } }
- set {
- _hasBits0 |= 512;
- locateFrontTheta_ = value;
- }
- }
- /// <summary>Gets whether the "locate_front_theta" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLocateFrontTheta {
- get { return (_hasBits0 & 512) != 0; }
- }
- /// <summary>Clears the value of the "locate_front_theta" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLocateFrontTheta() {
- _hasBits0 &= ~512;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Locate_information);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Locate_information other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateX, other.LocateX)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateY, other.LocateY)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateAngle, other.LocateAngle)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateLength, other.LocateLength)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWidth, other.LocateWidth)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateHeight, other.LocateHeight)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWheelBase, other.LocateWheelBase)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateWheelWidth, other.LocateWheelWidth)) return false;
- if (LocateCorrect != other.LocateCorrect) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LocateFrontTheta, other.LocateFrontTheta)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (HasLocateX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateX);
- if (HasLocateY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateY);
- if (HasLocateAngle) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateAngle);
- if (HasLocateLength) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateLength);
- if (HasLocateWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWidth);
- if (HasLocateHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateHeight);
- if (HasLocateWheelBase) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWheelBase);
- if (HasLocateWheelWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateWheelWidth);
- if (HasLocateCorrect) hash ^= LocateCorrect.GetHashCode();
- if (HasLocateFrontTheta) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LocateFrontTheta);
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (HasLocateX) {
- output.WriteRawTag(13);
- output.WriteFloat(LocateX);
- }
- if (HasLocateY) {
- output.WriteRawTag(21);
- output.WriteFloat(LocateY);
- }
- if (HasLocateAngle) {
- output.WriteRawTag(29);
- output.WriteFloat(LocateAngle);
- }
- if (HasLocateLength) {
- output.WriteRawTag(37);
- output.WriteFloat(LocateLength);
- }
- if (HasLocateWidth) {
- output.WriteRawTag(45);
- output.WriteFloat(LocateWidth);
- }
- if (HasLocateHeight) {
- output.WriteRawTag(53);
- output.WriteFloat(LocateHeight);
- }
- if (HasLocateWheelBase) {
- output.WriteRawTag(61);
- output.WriteFloat(LocateWheelBase);
- }
- if (HasLocateWheelWidth) {
- output.WriteRawTag(69);
- output.WriteFloat(LocateWheelWidth);
- }
- if (HasLocateCorrect) {
- output.WriteRawTag(72);
- output.WriteBool(LocateCorrect);
- }
- if (HasLocateFrontTheta) {
- output.WriteRawTag(85);
- output.WriteFloat(LocateFrontTheta);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (HasLocateX) {
- size += 1 + 4;
- }
- if (HasLocateY) {
- size += 1 + 4;
- }
- if (HasLocateAngle) {
- size += 1 + 4;
- }
- if (HasLocateLength) {
- size += 1 + 4;
- }
- if (HasLocateWidth) {
- size += 1 + 4;
- }
- if (HasLocateHeight) {
- size += 1 + 4;
- }
- if (HasLocateWheelBase) {
- size += 1 + 4;
- }
- if (HasLocateWheelWidth) {
- size += 1 + 4;
- }
- if (HasLocateCorrect) {
- size += 1 + 1;
- }
- if (HasLocateFrontTheta) {
- size += 1 + 4;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Locate_information other) {
- if (other == null) {
- return;
- }
- if (other.HasLocateX) {
- LocateX = other.LocateX;
- }
- if (other.HasLocateY) {
- LocateY = other.LocateY;
- }
- if (other.HasLocateAngle) {
- LocateAngle = other.LocateAngle;
- }
- if (other.HasLocateLength) {
- LocateLength = other.LocateLength;
- }
- if (other.HasLocateWidth) {
- LocateWidth = other.LocateWidth;
- }
- if (other.HasLocateHeight) {
- LocateHeight = other.LocateHeight;
- }
- if (other.HasLocateWheelBase) {
- LocateWheelBase = other.LocateWheelBase;
- }
- if (other.HasLocateWheelWidth) {
- LocateWheelWidth = other.LocateWheelWidth;
- }
- if (other.HasLocateCorrect) {
- LocateCorrect = other.LocateCorrect;
- }
- if (other.HasLocateFrontTheta) {
- LocateFrontTheta = other.LocateFrontTheta;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 13: {
- LocateX = input.ReadFloat();
- break;
- }
- case 21: {
- LocateY = input.ReadFloat();
- break;
- }
- case 29: {
- LocateAngle = input.ReadFloat();
- break;
- }
- case 37: {
- LocateLength = input.ReadFloat();
- break;
- }
- case 45: {
- LocateWidth = input.ReadFloat();
- break;
- }
- case 53: {
- LocateHeight = input.ReadFloat();
- break;
- }
- case 61: {
- LocateWheelBase = input.ReadFloat();
- break;
- }
- case 69: {
- LocateWheelWidth = input.ReadFloat();
- break;
- }
- case 72: {
- LocateCorrect = input.ReadBool();
- break;
- }
- case 85: {
- LocateFrontTheta = input.ReadFloat();
- break;
- }
- }
- }
- }
- }
- /// <summary>
- ///车辆基本信息
- /// </summary>
- public sealed partial class Car_info : pb::IMessage<Car_info> {
- private static readonly pb::MessageParser<Car_info> _parser = new pb::MessageParser<Car_info>(() => new Car_info());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Car_info> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[4]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Car_info() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Car_info(Car_info other) : this() {
- _hasBits0 = other._hasBits0;
- carLength_ = other.carLength_;
- carWidth_ = other.carWidth_;
- carHeight_ = other.carHeight_;
- license_ = other.license_;
- carWheelBase_ = other.carWheelBase_;
- carWheelWidth_ = other.carWheelWidth_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Car_info Clone() {
- return new Car_info(this);
- }
- /// <summary>Field number for the "car_length" field.</summary>
- public const int CarLengthFieldNumber = 1;
- private readonly static float CarLengthDefaultValue = 0F;
- private float carLength_;
- /// <summary>
- ///车长
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float CarLength {
- get { if ((_hasBits0 & 1) != 0) { return carLength_; } else { return CarLengthDefaultValue; } }
- set {
- _hasBits0 |= 1;
- carLength_ = value;
- }
- }
- /// <summary>Gets whether the "car_length" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarLength {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "car_length" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarLength() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "car_width" field.</summary>
- public const int CarWidthFieldNumber = 2;
- private readonly static float CarWidthDefaultValue = 0F;
- private float carWidth_;
- /// <summary>
- ///车宽
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float CarWidth {
- get { if ((_hasBits0 & 2) != 0) { return carWidth_; } else { return CarWidthDefaultValue; } }
- set {
- _hasBits0 |= 2;
- carWidth_ = value;
- }
- }
- /// <summary>Gets whether the "car_width" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarWidth {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "car_width" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarWidth() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "car_height" field.</summary>
- public const int CarHeightFieldNumber = 3;
- private readonly static float CarHeightDefaultValue = 0F;
- private float carHeight_;
- /// <summary>
- ///车高
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float CarHeight {
- get { if ((_hasBits0 & 4) != 0) { return carHeight_; } else { return CarHeightDefaultValue; } }
- set {
- _hasBits0 |= 4;
- carHeight_ = value;
- }
- }
- /// <summary>Gets whether the "car_height" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarHeight {
- get { return (_hasBits0 & 4) != 0; }
- }
- /// <summary>Clears the value of the "car_height" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarHeight() {
- _hasBits0 &= ~4;
- }
- /// <summary>Field number for the "license" field.</summary>
- public const int LicenseFieldNumber = 4;
- private readonly static string LicenseDefaultValue = "";
- private string license_;
- /// <summary>
- ///车辆凭证号
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string License {
- get { return license_ ?? LicenseDefaultValue; }
- set {
- license_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Gets whether the "license" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLicense {
- get { return license_ != null; }
- }
- /// <summary>Clears the value of the "license" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLicense() {
- license_ = null;
- }
- /// <summary>Field number for the "car_wheel_base" field.</summary>
- public const int CarWheelBaseFieldNumber = 5;
- private readonly static float CarWheelBaseDefaultValue = 0F;
- private float carWheelBase_;
- /// <summary>
- ///整车的轮距; 前后轮的距离; 用于机器人或agv的抓车
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float CarWheelBase {
- get { if ((_hasBits0 & 8) != 0) { return carWheelBase_; } else { return CarWheelBaseDefaultValue; } }
- set {
- _hasBits0 |= 8;
- carWheelBase_ = value;
- }
- }
- /// <summary>Gets whether the "car_wheel_base" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarWheelBase {
- get { return (_hasBits0 & 8) != 0; }
- }
- /// <summary>Clears the value of the "car_wheel_base" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarWheelBase() {
- _hasBits0 &= ~8;
- }
- /// <summary>Field number for the "car_wheel_width" field.</summary>
- public const int CarWheelWidthFieldNumber = 6;
- private readonly static float CarWheelWidthDefaultValue = 0F;
- private float carWheelWidth_;
- /// <summary>
- ///整车的轮距; 左右轮的距离; 用于机器人或agv的抓车
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float CarWheelWidth {
- get { if ((_hasBits0 & 16) != 0) { return carWheelWidth_; } else { return CarWheelWidthDefaultValue; } }
- set {
- _hasBits0 |= 16;
- carWheelWidth_ = value;
- }
- }
- /// <summary>Gets whether the "car_wheel_width" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarWheelWidth {
- get { return (_hasBits0 & 16) != 0; }
- }
- /// <summary>Clears the value of the "car_wheel_width" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarWheelWidth() {
- _hasBits0 &= ~16;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Car_info);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Car_info other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarLength, other.CarLength)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWidth, other.CarWidth)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarHeight, other.CarHeight)) return false;
- if (License != other.License) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWheelBase, other.CarWheelBase)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CarWheelWidth, other.CarWheelWidth)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (HasCarLength) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarLength);
- if (HasCarWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWidth);
- if (HasCarHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarHeight);
- if (HasLicense) hash ^= License.GetHashCode();
- if (HasCarWheelBase) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWheelBase);
- if (HasCarWheelWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CarWheelWidth);
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (HasCarLength) {
- output.WriteRawTag(13);
- output.WriteFloat(CarLength);
- }
- if (HasCarWidth) {
- output.WriteRawTag(21);
- output.WriteFloat(CarWidth);
- }
- if (HasCarHeight) {
- output.WriteRawTag(29);
- output.WriteFloat(CarHeight);
- }
- if (HasLicense) {
- output.WriteRawTag(34);
- output.WriteString(License);
- }
- if (HasCarWheelBase) {
- output.WriteRawTag(45);
- output.WriteFloat(CarWheelBase);
- }
- if (HasCarWheelWidth) {
- output.WriteRawTag(53);
- output.WriteFloat(CarWheelWidth);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (HasCarLength) {
- size += 1 + 4;
- }
- if (HasCarWidth) {
- size += 1 + 4;
- }
- if (HasCarHeight) {
- size += 1 + 4;
- }
- if (HasLicense) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(License);
- }
- if (HasCarWheelBase) {
- size += 1 + 4;
- }
- if (HasCarWheelWidth) {
- size += 1 + 4;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Car_info other) {
- if (other == null) {
- return;
- }
- if (other.HasCarLength) {
- CarLength = other.CarLength;
- }
- if (other.HasCarWidth) {
- CarWidth = other.CarWidth;
- }
- if (other.HasCarHeight) {
- CarHeight = other.CarHeight;
- }
- if (other.HasLicense) {
- License = other.License;
- }
- if (other.HasCarWheelBase) {
- CarWheelBase = other.CarWheelBase;
- }
- if (other.HasCarWheelWidth) {
- CarWheelWidth = other.CarWheelWidth;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 13: {
- CarLength = input.ReadFloat();
- break;
- }
- case 21: {
- CarWidth = input.ReadFloat();
- break;
- }
- case 29: {
- CarHeight = input.ReadFloat();
- break;
- }
- case 34: {
- License = input.ReadString();
- break;
- }
- case 45: {
- CarWheelBase = input.ReadFloat();
- break;
- }
- case 53: {
- CarWheelWidth = input.ReadFloat();
- break;
- }
- }
- }
- }
- }
- /// <summary>
- ///单个车位基本信息与状态信息,车位信息以及车位上的车辆信息
- /// </summary>
- public sealed partial class Parkspace_info : pb::IMessage<Parkspace_info> {
- private static readonly pb::MessageParser<Parkspace_info> _parser = new pb::MessageParser<Parkspace_info>(() => new Parkspace_info());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<Parkspace_info> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.MessageBaseReflection.Descriptor.MessageTypes[5]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Parkspace_info() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Parkspace_info(Parkspace_info other) : this() {
- _hasBits0 = other._hasBits0;
- parkingspaceIndexId_ = other.parkingspaceIndexId_;
- parkingspaceType_ = other.parkingspaceType_;
- parkingspaceUnitId_ = other.parkingspaceUnitId_;
- parkingspaceLabelId_ = other.parkingspaceLabelId_;
- parkingspaceRoomId_ = other.parkingspaceRoomId_;
- parkingspaceDirection_ = other.parkingspaceDirection_;
- parkingspaceFloorId_ = other.parkingspaceFloorId_;
- parkingspaceWidth_ = other.parkingspaceWidth_;
- parkingspaceHeight_ = other.parkingspaceHeight_;
- parkingspaceStatus_ = other.parkingspaceStatus_;
- carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
- entryTime_ = other.entryTime_;
- leaveTime_ = other.leaveTime_;
- parkspacePath_ = other.parkspacePath_;
- pathEstimateTime_ = other.pathEstimateTime_;
- parkspaceStatusTarget_ = other.parkspaceStatusTarget_;
- carType_ = other.carType_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public Parkspace_info Clone() {
- return new Parkspace_info(this);
- }
- /// <summary>Field number for the "parkingspace_index_id" field.</summary>
- public const int ParkingspaceIndexIdFieldNumber = 1;
- private readonly static int ParkingspaceIndexIdDefaultValue = 0;
- private int parkingspaceIndexId_;
- /// <summary>
- ///车位ID
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ParkingspaceIndexId {
- get { if ((_hasBits0 & 1) != 0) { return parkingspaceIndexId_; } else { return ParkingspaceIndexIdDefaultValue; } }
- set {
- _hasBits0 |= 1;
- parkingspaceIndexId_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_index_id" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceIndexId {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_index_id" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceIndexId() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "parkingspace_type" field.</summary>
- public const int ParkingspaceTypeFieldNumber = 2;
- private readonly static global::Message.Parkspace_type ParkingspaceTypeDefaultValue = global::Message.Parkspace_type.UnknowParkspaceType;
- private global::Message.Parkspace_type parkingspaceType_;
- /// <summary>
- ///车位类型
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Parkspace_type ParkingspaceType {
- get { if ((_hasBits0 & 2) != 0) { return parkingspaceType_; } else { return ParkingspaceTypeDefaultValue; } }
- set {
- _hasBits0 |= 2;
- parkingspaceType_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceType {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceType() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "parkingspace_unit_id" field.</summary>
- public const int ParkingspaceUnitIdFieldNumber = 3;
- private readonly static int ParkingspaceUnitIdDefaultValue = 0;
- private int parkingspaceUnitId_;
- /// <summary>
- ///车位单元号
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ParkingspaceUnitId {
- get { if ((_hasBits0 & 4) != 0) { return parkingspaceUnitId_; } else { return ParkingspaceUnitIdDefaultValue; } }
- set {
- _hasBits0 |= 4;
- parkingspaceUnitId_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_unit_id" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceUnitId {
- get { return (_hasBits0 & 4) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_unit_id" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceUnitId() {
- _hasBits0 &= ~4;
- }
- /// <summary>Field number for the "parkingspace_label_id" field.</summary>
- public const int ParkingspaceLabelIdFieldNumber = 4;
- private readonly static int ParkingspaceLabelIdDefaultValue = 0;
- private int parkingspaceLabelId_;
- /// <summary>
- ///车位单元内部ID
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ParkingspaceLabelId {
- get { if ((_hasBits0 & 8) != 0) { return parkingspaceLabelId_; } else { return ParkingspaceLabelIdDefaultValue; } }
- set {
- _hasBits0 |= 8;
- parkingspaceLabelId_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_label_id" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceLabelId {
- get { return (_hasBits0 & 8) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_label_id" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceLabelId() {
- _hasBits0 &= ~8;
- }
- /// <summary>Field number for the "parkingspace_room_id" field.</summary>
- public const int ParkingspaceRoomIdFieldNumber = 5;
- private readonly static int ParkingspaceRoomIdDefaultValue = 0;
- private int parkingspaceRoomId_;
- /// <summary>
- ///同层编号
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ParkingspaceRoomId {
- get { if ((_hasBits0 & 16) != 0) { return parkingspaceRoomId_; } else { return ParkingspaceRoomIdDefaultValue; } }
- set {
- _hasBits0 |= 16;
- parkingspaceRoomId_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_room_id" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceRoomId {
- get { return (_hasBits0 & 16) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_room_id" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceRoomId() {
- _hasBits0 &= ~16;
- }
- /// <summary>Field number for the "parkingspace_direction" field.</summary>
- public const int ParkingspaceDirectionFieldNumber = 6;
- private readonly static global::Message.Direction ParkingspaceDirectionDefaultValue = global::Message.Direction.EDirectionUnknow;
- private global::Message.Direction parkingspaceDirection_;
- /// <summary>
- ///前后
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Direction ParkingspaceDirection {
- get { if ((_hasBits0 & 32) != 0) { return parkingspaceDirection_; } else { return ParkingspaceDirectionDefaultValue; } }
- set {
- _hasBits0 |= 32;
- parkingspaceDirection_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_direction" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceDirection {
- get { return (_hasBits0 & 32) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_direction" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceDirection() {
- _hasBits0 &= ~32;
- }
- /// <summary>Field number for the "parkingspace_floor_id" field.</summary>
- public const int ParkingspaceFloorIdFieldNumber = 7;
- private readonly static int ParkingspaceFloorIdDefaultValue = 0;
- private int parkingspaceFloorId_;
- /// <summary>
- ///楼层
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ParkingspaceFloorId {
- get { if ((_hasBits0 & 64) != 0) { return parkingspaceFloorId_; } else { return ParkingspaceFloorIdDefaultValue; } }
- set {
- _hasBits0 |= 64;
- parkingspaceFloorId_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_floor_id" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceFloorId {
- get { return (_hasBits0 & 64) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_floor_id" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceFloorId() {
- _hasBits0 &= ~64;
- }
- /// <summary>Field number for the "parkingspace_width" field.</summary>
- public const int ParkingspaceWidthFieldNumber = 8;
- private readonly static float ParkingspaceWidthDefaultValue = 0F;
- private float parkingspaceWidth_;
- /// <summary>
- ///车位宽
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float ParkingspaceWidth {
- get { if ((_hasBits0 & 128) != 0) { return parkingspaceWidth_; } else { return ParkingspaceWidthDefaultValue; } }
- set {
- _hasBits0 |= 128;
- parkingspaceWidth_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_width" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceWidth {
- get { return (_hasBits0 & 128) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_width" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceWidth() {
- _hasBits0 &= ~128;
- }
- /// <summary>Field number for the "parkingspace_height" field.</summary>
- public const int ParkingspaceHeightFieldNumber = 9;
- private readonly static float ParkingspaceHeightDefaultValue = 0F;
- private float parkingspaceHeight_;
- /// <summary>
- ///车位高
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float ParkingspaceHeight {
- get { if ((_hasBits0 & 256) != 0) { return parkingspaceHeight_; } else { return ParkingspaceHeightDefaultValue; } }
- set {
- _hasBits0 |= 256;
- parkingspaceHeight_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_height" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceHeight {
- get { return (_hasBits0 & 256) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_height" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceHeight() {
- _hasBits0 &= ~256;
- }
- /// <summary>Field number for the "parkingspace_status" field.</summary>
- public const int ParkingspaceStatusFieldNumber = 10;
- private readonly static global::Message.Parkspace_status ParkingspaceStatusDefaultValue = global::Message.Parkspace_status.EParkspaceStatusUnknow;
- private global::Message.Parkspace_status parkingspaceStatus_;
- /// <summary>
- ///车位当前状态
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Parkspace_status ParkingspaceStatus {
- get { if ((_hasBits0 & 512) != 0) { return parkingspaceStatus_; } else { return ParkingspaceStatusDefaultValue; } }
- set {
- _hasBits0 |= 512;
- parkingspaceStatus_ = value;
- }
- }
- /// <summary>Gets whether the "parkingspace_status" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkingspaceStatus {
- get { return (_hasBits0 & 512) != 0; }
- }
- /// <summary>Clears the value of the "parkingspace_status" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkingspaceStatus() {
- _hasBits0 &= ~512;
- }
- /// <summary>Field number for the "car_info" field.</summary>
- public const int CarInfoFieldNumber = 11;
- private global::Message.Car_info carInfo_;
- /// <summary>
- ///车辆信息
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Car_info CarInfo {
- get { return carInfo_; }
- set {
- carInfo_ = value;
- }
- }
- /// <summary>Field number for the "entry_time" field.</summary>
- public const int EntryTimeFieldNumber = 12;
- private readonly static string EntryTimeDefaultValue = "";
- private string entryTime_;
- /// <summary>
- ///入场时间
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string EntryTime {
- get { return entryTime_ ?? EntryTimeDefaultValue; }
- set {
- entryTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Gets whether the "entry_time" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasEntryTime {
- get { return entryTime_ != null; }
- }
- /// <summary>Clears the value of the "entry_time" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearEntryTime() {
- entryTime_ = null;
- }
- /// <summary>Field number for the "leave_time" field.</summary>
- public const int LeaveTimeFieldNumber = 13;
- private readonly static string LeaveTimeDefaultValue = "";
- private string leaveTime_;
- /// <summary>
- ///离场时间
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string LeaveTime {
- get { return leaveTime_ ?? LeaveTimeDefaultValue; }
- set {
- leaveTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Gets whether the "leave_time" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasLeaveTime {
- get { return leaveTime_ != null; }
- }
- /// <summary>Clears the value of the "leave_time" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearLeaveTime() {
- leaveTime_ = null;
- }
- /// <summary>Field number for the "parkspace_path" field.</summary>
- public const int ParkspacePathFieldNumber = 14;
- private readonly static global::Message.Parkspace_path ParkspacePathDefaultValue = global::Message.Parkspace_path.UnknowPath;
- private global::Message.Parkspace_path parkspacePath_;
- /// <summary>
- /// 车位分配路线
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Parkspace_path ParkspacePath {
- get { if ((_hasBits0 & 1024) != 0) { return parkspacePath_; } else { return ParkspacePathDefaultValue; } }
- set {
- _hasBits0 |= 1024;
- parkspacePath_ = value;
- }
- }
- /// <summary>Gets whether the "parkspace_path" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkspacePath {
- get { return (_hasBits0 & 1024) != 0; }
- }
- /// <summary>Clears the value of the "parkspace_path" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkspacePath() {
- _hasBits0 &= ~1024;
- }
- /// <summary>Field number for the "path_estimate_time" field.</summary>
- public const int PathEstimateTimeFieldNumber = 15;
- private readonly static float PathEstimateTimeDefaultValue = 0F;
- private float pathEstimateTime_;
- /// <summary>
- ///车位分配路线 time(s)
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public float PathEstimateTime {
- get { if ((_hasBits0 & 2048) != 0) { return pathEstimateTime_; } else { return PathEstimateTimeDefaultValue; } }
- set {
- _hasBits0 |= 2048;
- pathEstimateTime_ = value;
- }
- }
- /// <summary>Gets whether the "path_estimate_time" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasPathEstimateTime {
- get { return (_hasBits0 & 2048) != 0; }
- }
- /// <summary>Clears the value of the "path_estimate_time" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearPathEstimateTime() {
- _hasBits0 &= ~2048;
- }
- /// <summary>Field number for the "parkspace_status_target" field.</summary>
- public const int ParkspaceStatusTargetFieldNumber = 16;
- private readonly static global::Message.Parkspace_status ParkspaceStatusTargetDefaultValue = global::Message.Parkspace_status.EParkspaceStatusUnknow;
- private global::Message.Parkspace_status parkspaceStatusTarget_;
- /// <summary>
- ///车位目标状态
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Parkspace_status ParkspaceStatusTarget {
- get { if ((_hasBits0 & 4096) != 0) { return parkspaceStatusTarget_; } else { return ParkspaceStatusTargetDefaultValue; } }
- set {
- _hasBits0 |= 4096;
- parkspaceStatusTarget_ = value;
- }
- }
- /// <summary>Gets whether the "parkspace_status_target" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasParkspaceStatusTarget {
- get { return (_hasBits0 & 4096) != 0; }
- }
- /// <summary>Clears the value of the "parkspace_status_target" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearParkspaceStatusTarget() {
- _hasBits0 &= ~4096;
- }
- /// <summary>Field number for the "car_type" field.</summary>
- public const int CarTypeFieldNumber = 17;
- private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType;
- private global::Message.Car_type carType_;
- /// <summary>
- ///车辆类型
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Message.Car_type CarType {
- get { if ((_hasBits0 & 8192) != 0) { return carType_; } else { return CarTypeDefaultValue; } }
- set {
- _hasBits0 |= 8192;
- carType_ = value;
- }
- }
- /// <summary>Gets whether the "car_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool HasCarType {
- get { return (_hasBits0 & 8192) != 0; }
- }
- /// <summary>Clears the value of the "car_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearCarType() {
- _hasBits0 &= ~8192;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as Parkspace_info);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(Parkspace_info other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ParkingspaceIndexId != other.ParkingspaceIndexId) return false;
- if (ParkingspaceType != other.ParkingspaceType) return false;
- if (ParkingspaceUnitId != other.ParkingspaceUnitId) return false;
- if (ParkingspaceLabelId != other.ParkingspaceLabelId) return false;
- if (ParkingspaceRoomId != other.ParkingspaceRoomId) return false;
- if (ParkingspaceDirection != other.ParkingspaceDirection) return false;
- if (ParkingspaceFloorId != other.ParkingspaceFloorId) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ParkingspaceWidth, other.ParkingspaceWidth)) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ParkingspaceHeight, other.ParkingspaceHeight)) return false;
- if (ParkingspaceStatus != other.ParkingspaceStatus) return false;
- if (!object.Equals(CarInfo, other.CarInfo)) return false;
- if (EntryTime != other.EntryTime) return false;
- if (LeaveTime != other.LeaveTime) return false;
- if (ParkspacePath != other.ParkspacePath) return false;
- if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PathEstimateTime, other.PathEstimateTime)) return false;
- if (ParkspaceStatusTarget != other.ParkspaceStatusTarget) return false;
- if (CarType != other.CarType) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (HasParkingspaceIndexId) hash ^= ParkingspaceIndexId.GetHashCode();
- if (HasParkingspaceType) hash ^= ParkingspaceType.GetHashCode();
- if (HasParkingspaceUnitId) hash ^= ParkingspaceUnitId.GetHashCode();
- if (HasParkingspaceLabelId) hash ^= ParkingspaceLabelId.GetHashCode();
- if (HasParkingspaceRoomId) hash ^= ParkingspaceRoomId.GetHashCode();
- if (HasParkingspaceDirection) hash ^= ParkingspaceDirection.GetHashCode();
- if (HasParkingspaceFloorId) hash ^= ParkingspaceFloorId.GetHashCode();
- if (HasParkingspaceWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ParkingspaceWidth);
- if (HasParkingspaceHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ParkingspaceHeight);
- if (HasParkingspaceStatus) hash ^= ParkingspaceStatus.GetHashCode();
- if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
- if (HasEntryTime) hash ^= EntryTime.GetHashCode();
- if (HasLeaveTime) hash ^= LeaveTime.GetHashCode();
- if (HasParkspacePath) hash ^= ParkspacePath.GetHashCode();
- if (HasPathEstimateTime) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PathEstimateTime);
- if (HasParkspaceStatusTarget) hash ^= ParkspaceStatusTarget.GetHashCode();
- if (HasCarType) hash ^= CarType.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (HasParkingspaceIndexId) {
- output.WriteRawTag(8);
- output.WriteInt32(ParkingspaceIndexId);
- }
- if (HasParkingspaceType) {
- output.WriteRawTag(16);
- output.WriteEnum((int) ParkingspaceType);
- }
- if (HasParkingspaceUnitId) {
- output.WriteRawTag(24);
- output.WriteInt32(ParkingspaceUnitId);
- }
- if (HasParkingspaceLabelId) {
- output.WriteRawTag(32);
- output.WriteInt32(ParkingspaceLabelId);
- }
- if (HasParkingspaceRoomId) {
- output.WriteRawTag(40);
- output.WriteInt32(ParkingspaceRoomId);
- }
- if (HasParkingspaceDirection) {
- output.WriteRawTag(48);
- output.WriteEnum((int) ParkingspaceDirection);
- }
- if (HasParkingspaceFloorId) {
- output.WriteRawTag(56);
- output.WriteInt32(ParkingspaceFloorId);
- }
- if (HasParkingspaceWidth) {
- output.WriteRawTag(69);
- output.WriteFloat(ParkingspaceWidth);
- }
- if (HasParkingspaceHeight) {
- output.WriteRawTag(77);
- output.WriteFloat(ParkingspaceHeight);
- }
- if (HasParkingspaceStatus) {
- output.WriteRawTag(80);
- output.WriteEnum((int) ParkingspaceStatus);
- }
- if (carInfo_ != null) {
- output.WriteRawTag(90);
- output.WriteMessage(CarInfo);
- }
- if (HasEntryTime) {
- output.WriteRawTag(98);
- output.WriteString(EntryTime);
- }
- if (HasLeaveTime) {
- output.WriteRawTag(106);
- output.WriteString(LeaveTime);
- }
- if (HasParkspacePath) {
- output.WriteRawTag(112);
- output.WriteEnum((int) ParkspacePath);
- }
- if (HasPathEstimateTime) {
- output.WriteRawTag(125);
- output.WriteFloat(PathEstimateTime);
- }
- if (HasParkspaceStatusTarget) {
- output.WriteRawTag(128, 1);
- output.WriteEnum((int) ParkspaceStatusTarget);
- }
- if (HasCarType) {
- output.WriteRawTag(136, 1);
- output.WriteEnum((int) CarType);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (HasParkingspaceIndexId) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceIndexId);
- }
- if (HasParkingspaceType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceType);
- }
- if (HasParkingspaceUnitId) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceUnitId);
- }
- if (HasParkingspaceLabelId) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceLabelId);
- }
- if (HasParkingspaceRoomId) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceRoomId);
- }
- if (HasParkingspaceDirection) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceDirection);
- }
- if (HasParkingspaceFloorId) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParkingspaceFloorId);
- }
- if (HasParkingspaceWidth) {
- size += 1 + 4;
- }
- if (HasParkingspaceHeight) {
- size += 1 + 4;
- }
- if (HasParkingspaceStatus) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkingspaceStatus);
- }
- if (carInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
- }
- if (HasEntryTime) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(EntryTime);
- }
- if (HasLeaveTime) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTime);
- }
- if (HasParkspacePath) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspacePath);
- }
- if (HasPathEstimateTime) {
- size += 1 + 4;
- }
- if (HasParkspaceStatusTarget) {
- size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceStatusTarget);
- }
- if (HasCarType) {
- size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) CarType);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(Parkspace_info other) {
- if (other == null) {
- return;
- }
- if (other.HasParkingspaceIndexId) {
- ParkingspaceIndexId = other.ParkingspaceIndexId;
- }
- if (other.HasParkingspaceType) {
- ParkingspaceType = other.ParkingspaceType;
- }
- if (other.HasParkingspaceUnitId) {
- ParkingspaceUnitId = other.ParkingspaceUnitId;
- }
- if (other.HasParkingspaceLabelId) {
- ParkingspaceLabelId = other.ParkingspaceLabelId;
- }
- if (other.HasParkingspaceRoomId) {
- ParkingspaceRoomId = other.ParkingspaceRoomId;
- }
- if (other.HasParkingspaceDirection) {
- ParkingspaceDirection = other.ParkingspaceDirection;
- }
- if (other.HasParkingspaceFloorId) {
- ParkingspaceFloorId = other.ParkingspaceFloorId;
- }
- if (other.HasParkingspaceWidth) {
- ParkingspaceWidth = other.ParkingspaceWidth;
- }
- if (other.HasParkingspaceHeight) {
- ParkingspaceHeight = other.ParkingspaceHeight;
- }
- if (other.HasParkingspaceStatus) {
- ParkingspaceStatus = other.ParkingspaceStatus;
- }
- if (other.carInfo_ != null) {
- if (carInfo_ == null) {
- CarInfo = new global::Message.Car_info();
- }
- CarInfo.MergeFrom(other.CarInfo);
- }
- if (other.HasEntryTime) {
- EntryTime = other.EntryTime;
- }
- if (other.HasLeaveTime) {
- LeaveTime = other.LeaveTime;
- }
- if (other.HasParkspacePath) {
- ParkspacePath = other.ParkspacePath;
- }
- if (other.HasPathEstimateTime) {
- PathEstimateTime = other.PathEstimateTime;
- }
- if (other.HasParkspaceStatusTarget) {
- ParkspaceStatusTarget = other.ParkspaceStatusTarget;
- }
- if (other.HasCarType) {
- CarType = other.CarType;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- ParkingspaceIndexId = input.ReadInt32();
- break;
- }
- case 16: {
- ParkingspaceType = (global::Message.Parkspace_type) input.ReadEnum();
- break;
- }
- case 24: {
- ParkingspaceUnitId = input.ReadInt32();
- break;
- }
- case 32: {
- ParkingspaceLabelId = input.ReadInt32();
- break;
- }
- case 40: {
- ParkingspaceRoomId = input.ReadInt32();
- break;
- }
- case 48: {
- ParkingspaceDirection = (global::Message.Direction) input.ReadEnum();
- break;
- }
- case 56: {
- ParkingspaceFloorId = input.ReadInt32();
- break;
- }
- case 69: {
- ParkingspaceWidth = input.ReadFloat();
- break;
- }
- case 77: {
- ParkingspaceHeight = input.ReadFloat();
- break;
- }
- case 80: {
- ParkingspaceStatus = (global::Message.Parkspace_status) input.ReadEnum();
- break;
- }
- case 90: {
- if (carInfo_ == null) {
- CarInfo = new global::Message.Car_info();
- }
- input.ReadMessage(CarInfo);
- break;
- }
- case 98: {
- EntryTime = input.ReadString();
- break;
- }
- case 106: {
- LeaveTime = input.ReadString();
- break;
- }
- case 112: {
- ParkspacePath = (global::Message.Parkspace_path) input.ReadEnum();
- break;
- }
- case 125: {
- PathEstimateTime = input.ReadFloat();
- break;
- }
- case 128: {
- ParkspaceStatusTarget = (global::Message.Parkspace_status) input.ReadEnum();
- break;
- }
- case 136: {
- CarType = (global::Message.Car_type) input.ReadEnum();
- break;
- }
- }
- }
- }
- }
- #endregion
- }
- #endregion Designer generated code
|