MessageBase.cs 125 KB

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