MeasureMessage.cs 139 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: measure_message.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Message {
  12. /// <summary>Holder for reflection information generated from measure_message.proto</summary>
  13. public static partial class MeasureMessageReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for measure_message.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static MeasureMessageReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "ChVtZWFzdXJlX21lc3NhZ2UucHJvdG8SB21lc3NhZ2UaEm1lc3NhZ2VfYmFz",
  24. "ZS5wcm90byKwBAoSTWVhc3VyZV9zdGF0dXNfbXNnEiUKCWJhc2VfaW5mbxgB",
  25. "IAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC3Rlcm1pbmFsX2lkGAIgAigF",
  26. "EjsKFGxhc2VyX21hbmFnZXJfc3RhdHVzGAMgAigOMh0ubWVzc2FnZS5MYXNl",
  27. "cl9tYW5hZ2VyX3N0YXR1cxIwChJsYXNlcl9zdGF0dV92ZWN0b3IYBCADKA4y",
  28. "FC5tZXNzYWdlLkxhc2VyX3N0YXR1Ej0KFWxvY2F0ZV9tYW5hZ2VyX3N0YXR1",
  29. "cxgFIAIoDjIeLm1lc3NhZ2UuTG9jYXRlX21hbmFnZXJfc3RhdHVzEjsKFHdh",
  30. "bmppX21hbmFnZXJfc3RhdHVzGAYgAigOMh0ubWVzc2FnZS5XYW5qaV9tYW5h",
  31. "Z2VyX3N0YXR1cxJFChl3YW5qaV9saWRhcl9kZXZpY2Vfc3RhdHVzGAcgAygO",
  32. "MiIubWVzc2FnZS5XYW5qaV9saWRhcl9kZXZpY2Vfc3RhdHVzEjsKFHJlZ2lv",
  33. "bl93b3JrZXJfc3RhdHVzGAggAygOMh0ubWVzc2FnZS5SZWdpb25fd29ya2Vy",
  34. "X3N0YXR1cxJAChtsb2NhdGVfaW5mb3JtYXRpb25fcmVhbHRpbWUYCSADKAsy",
  35. "Gy5tZXNzYWdlLkxvY2F0ZV9pbmZvcm1hdGlvbhItCg1lcnJvcl9tYW5hZ2Vy",
  36. "GAogAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyImYKE01lYXN1cmVfcmVx",
  37. "dWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2lu",
  38. "Zm8SEwoLY29tbWFuZF9rZXkYAiACKAkSEwoLdGVybWluYWxfaWQYAyACKAUi",
  39. "zwEKFE1lYXN1cmVfcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzIS",
  40. "Lm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEhMKC3Rl",
  41. "cm1pbmFsX2lkGAMgAigFEjcKEmxvY2F0ZV9pbmZvcm1hdGlvbhgEIAEoCzIb",
  42. "Lm1lc3NhZ2UuTG9jYXRlX2luZm9ybWF0aW9uEi0KDWVycm9yX21hbmFnZXIY",
  43. "BSACKAsyFi5tZXNzYWdlLkVycm9yX21hbmFnZXIibAoZR3JvdW5kX2RldGVj",
  44. "dF9yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJh",
  45. "c2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRITCgt0ZXJtaW5hbF9pZBgD",
  46. "IAIoBSLVAQoaR3JvdW5kX2RldGVjdF9yZXNwb25zZV9tc2cSJQoJYmFzZV9p",
  47. "bmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkY",
  48. "AiACKAkSEwoLdGVybWluYWxfaWQYAyACKAUSNwoSbG9jYXRlX2luZm9ybWF0",
  49. "aW9uGAQgASgLMhsubWVzc2FnZS5Mb2NhdGVfaW5mb3JtYXRpb24SLQoNZXJy",
  50. "b3JfbWFuYWdlchgFIAIoCzIWLm1lc3NhZ2UuRXJyb3JfbWFuYWdlciKvAwoR",
  51. "R3JvdW5kX3N0YXR1c19tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2Fn",
  52. "ZS5CYXNlX2luZm8SEwoLdGVybWluYWxfaWQYAiACKAUSOwoUd2FuamlfbWFu",
  53. "YWdlcl9zdGF0dXMYAyACKA4yHS5tZXNzYWdlLldhbmppX21hbmFnZXJfc3Rh",
  54. "dHVzEkUKGXdhbmppX2xpZGFyX2RldmljZV9zdGF0dXMYBCADKA4yIi5tZXNz",
  55. "YWdlLldhbmppX2xpZGFyX2RldmljZV9zdGF0dXMSOwoUcmVnaW9uX3dvcmtl",
  56. "cl9zdGF0dXMYBSACKA4yHS5tZXNzYWdlLlJlZ2lvbl93b3JrZXJfc3RhdHVz",
  57. "EkAKG2xvY2F0ZV9pbmZvcm1hdGlvbl9yZWFsdGltZRgGIAIoCzIbLm1lc3Nh",
  58. "Z2UuTG9jYXRlX2luZm9ybWF0aW9uEiwKDWdyb3VuZF9zdGF0dXMYByACKA4y",
  59. "FS5tZXNzYWdlLkdyb3VuZF9zdGF0dRItCg1lcnJvcl9tYW5hZ2VyGAggAigL",
  60. "MhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyIjMKEENsb3VkX2Nvb3JkaW5hdGUS",
  61. "CQoBeBgBIAIoAhIJCgF5GAIgAigCEgkKAXoYAyACKAIiGgoKQ2xvdWRfdHlw",
  62. "ZRIMCgR0eXBlGAEgAigFIrIBChdMb2NhdGVfc2lmdF9yZXF1ZXN0X21zZxIl",
  63. "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21t",
  64. "YW5kX2tleRgCIAIoCRITCgt0ZXJtaW5hbF9pZBgDIAIoBRIQCghsaWRhcl9p",
  65. "ZBgEIAIoBRI0ChFjbG91ZF9jb29yZGluYXRlcxgFIAMoCzIZLm1lc3NhZ2Uu",
  66. "Q2xvdWRfY29vcmRpbmF0ZSLVAQoYTG9jYXRlX3NpZnRfcmVzcG9uc2VfbXNn",
  67. "EiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2Nv",
  68. "bW1hbmRfa2V5GAIgAigJEhMKC3Rlcm1pbmFsX2lkGAMgAigFEhAKCGxpZGFy",
  69. "X2lkGAQgAigFEicKCmNsb3VkX3R5cGUYBSADKAsyEy5tZXNzYWdlLkNsb3Vk",
  70. "X3R5cGUSLQoNZXJyb3JfbWFuYWdlchgGIAIoCzIWLm1lc3NhZ2UuRXJyb3Jf",
  71. "bWFuYWdlciqfAQoUTGFzZXJfbWFuYWdlcl9zdGF0dXMSGAoUTEFTRVJfTUFO",
  72. "QUdFUl9VTktOT1cQABIXChNMQVNFUl9NQU5BR0VSX1JFQURZEAESHQoZTEFT",
  73. "RVJfTUFOQUdFUl9JU1NVRURfVEFTSxACEhwKGExBU0VSX01BTkFHRVJfV0FJ",
  74. "VF9SRVBMWRADEhcKE0xBU0VSX01BTkFHRVJfRkFVTFQQBCpVCgtMYXNlcl9z",
  75. "dGF0dRIUChBMQVNFUl9ESVNDT05ORUNUEAASDwoLTEFTRVJfUkVBRFkQARIO",
  76. "CgpMQVNFUl9CVVNZEAISDwoLTEFTRVJfRkFVTFQQAyqxAQoVTG9jYXRlX21h",
  77. "bmFnZXJfc3RhdHVzEhkKFUxPQ0FURV9NQU5BR0VSX1VOS05PVxAAEhgKFExP",
  78. "Q0FURV9NQU5BR0VSX1JFQURZEAESFwoTTE9DQVRFX01BTkFHRVJfU0lGVBAC",
  79. "EhYKEkxPQ0FURV9NQU5BR0VSX0NBUhADEhgKFExPQ0FURV9NQU5BR0VSX1dI",
  80. "RUVMEAQSGAoUTE9DQVRFX01BTkFHRVJfRkFVTFQQBSr3AQoUV2FuamlfbWFu",
  81. "YWdlcl9zdGF0dXMSGQoVV0FOSklfTUFOQUdFUl9VTktOT1dOEAASFwoTV0FO",
  82. "SklfTUFOQUdFUl9SRUFEWRABEhYKEldBTkpJX01BTkFHRVJfQlVTWRACEh0K",
  83. "GVdBTkpJX01BTkFHRVJfSVNTVUVEX1NDQU4QAxIbChdXQU5KSV9NQU5BR0VS",
  84. "X1dBSVRfU0NBThAEEh8KG1dBTkpJX01BTkFHRVJfSVNTVUVEX0RFVEVDVBAF",
  85. "Eh0KGVdBTkpJX01BTkFHRVJfV0FJVF9ERVRFQ1QQBhIXChNXQU5KSV9NQU5B",
  86. "R0VSX0ZBVUxUEAoqtwEKGVdhbmppX2xpZGFyX2RldmljZV9zdGF0dXMSHgoa",
  87. "V0FOSklfTElEQVJfREVWSUNFX1VOS05PV04QABIcChhXQU5KSV9MSURBUl9E",
  88. "RVZJQ0VfUkVBRFkQARIhCh1XQU5KSV9MSURBUl9ERVZJQ0VfRElTQ09OTkVD",
  89. "VBACEhsKF1dBTkpJX0xJREFSX0RFVklDRV9CVVNZEAMSHAoYV0FOSklfTElE",
  90. "QVJfREVWSUNFX0ZBVUxUEAoqewoUUmVnaW9uX3dvcmtlcl9zdGF0dXMSGQoV",
  91. "UkVHSU9OX1dPUktFUl9VTktOT1dOEAASFwoTUkVHSU9OX1dPUktFUl9SRUFE",
  92. "WRABEhYKElJFR0lPTl9XT1JLRVJfQlVTWRACEhcKE1JFR0lPTl9XT1JLRVJf",
  93. "RkFVTFQQCiqBAQoMR3JvdW5kX3N0YXR1EgsKB05vdGhpbmcQABIJCgVOb2lz",
  94. "ZRABEg8KC0Nhcl9jb3JyZWN0EAISEAoMQ2FyX2xlZnRfb3V0EAMSEQoNQ2Fy",
  95. "X3JpZ2h0X291dBAEEg8KC0Nhcl90b3Bfb3V0EAUSEgoOQ2FyX2JvdHRvbV9v",
  96. "dXQQBg=="));
  97. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  98. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
  99. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Laser_manager_status), typeof(global::Message.Laser_statu), typeof(global::Message.Locate_manager_status), typeof(global::Message.Wanji_manager_status), typeof(global::Message.Wanji_lidar_device_status), typeof(global::Message.Region_worker_status), typeof(global::Message.Ground_statu), }, null, new pbr::GeneratedClrTypeInfo[] {
  100. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Measure_status_msg), global::Message.Measure_status_msg.Parser, new[]{ "BaseInfo", "TerminalId", "LaserManagerStatus", "LaserStatuVector", "LocateManagerStatus", "WanjiManagerStatus", "WanjiLidarDeviceStatus", "RegionWorkerStatus", "LocateInformationRealtime", "ErrorManager" }, null, null, null, null),
  101. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Measure_request_msg), global::Message.Measure_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId" }, null, null, null, null),
  102. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Measure_response_msg), global::Message.Measure_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId", "LocateInformation", "ErrorManager" }, null, null, null, null),
  103. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Ground_detect_request_msg), global::Message.Ground_detect_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId" }, null, null, null, null),
  104. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Ground_detect_response_msg), global::Message.Ground_detect_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId", "LocateInformation", "ErrorManager" }, null, null, null, null),
  105. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Ground_status_msg), global::Message.Ground_status_msg.Parser, new[]{ "BaseInfo", "TerminalId", "WanjiManagerStatus", "WanjiLidarDeviceStatus", "RegionWorkerStatus", "LocateInformationRealtime", "GroundStatus", "ErrorManager" }, null, null, null, null),
  106. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Cloud_coordinate), global::Message.Cloud_coordinate.Parser, new[]{ "X", "Y", "Z" }, null, null, null, null),
  107. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Cloud_type), global::Message.Cloud_type.Parser, new[]{ "Type" }, null, null, null, null),
  108. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Locate_sift_request_msg), global::Message.Locate_sift_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId", "LidarId", "CloudCoordinates" }, null, null, null, null),
  109. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Locate_sift_response_msg), global::Message.Locate_sift_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "TerminalId", "LidarId", "CloudType", "ErrorManager" }, null, null, null, null)
  110. }));
  111. }
  112. #endregion
  113. }
  114. #region Enums
  115. /// <summary>
  116. ///雷达管理模块的工作状态
  117. /// </summary>
  118. public enum Laser_manager_status {
  119. /// <summary>
  120. ///未知
  121. /// </summary>
  122. [pbr::OriginalName("LASER_MANAGER_UNKNOW")] LaserManagerUnknow = 0,
  123. /// <summary>
  124. ///准备,待机
  125. /// </summary>
  126. [pbr::OriginalName("LASER_MANAGER_READY")] LaserManagerReady = 1,
  127. /// <summary>
  128. ///工作下发任务
  129. /// </summary>
  130. [pbr::OriginalName("LASER_MANAGER_ISSUED_TASK")] LaserManagerIssuedTask = 2,
  131. /// <summary>
  132. ///工作等待答复
  133. /// </summary>
  134. [pbr::OriginalName("LASER_MANAGER_WAIT_REPLY")] LaserManagerWaitReply = 3,
  135. /// <summary>
  136. ///故障
  137. /// </summary>
  138. [pbr::OriginalName("LASER_MANAGER_FAULT")] LaserManagerFault = 4,
  139. }
  140. /// <summary>
  141. ///子雷达状态
  142. /// </summary>
  143. public enum Laser_statu {
  144. /// <summary>
  145. ///雷达断连
  146. /// </summary>
  147. [pbr::OriginalName("LASER_DISCONNECT")] LaserDisconnect = 0,
  148. /// <summary>
  149. ///雷达正常待机,空闲
  150. /// </summary>
  151. [pbr::OriginalName("LASER_READY")] LaserReady = 1,
  152. /// <summary>
  153. ///雷达正在工作,正忙
  154. /// </summary>
  155. [pbr::OriginalName("LASER_BUSY")] LaserBusy = 2,
  156. /// <summary>
  157. ///雷达错误
  158. /// </summary>
  159. [pbr::OriginalName("LASER_FAULT")] LaserFault = 3,
  160. }
  161. /// <summary>
  162. ///定位管理模块的工作状态
  163. /// </summary>
  164. public enum Locate_manager_status {
  165. /// <summary>
  166. ///未知
  167. /// </summary>
  168. [pbr::OriginalName("LOCATE_MANAGER_UNKNOW")] LocateManagerUnknow = 0,
  169. /// <summary>
  170. ///准备,待机
  171. /// </summary>
  172. [pbr::OriginalName("LOCATE_MANAGER_READY")] LocateManagerReady = 1,
  173. /// <summary>
  174. ///sift点云筛选; 将车身和轮胎的点剥离出来
  175. /// </summary>
  176. [pbr::OriginalName("LOCATE_MANAGER_SIFT")] LocateManagerSift = 2,
  177. /// <summary>
  178. ///通过车身 计算汽车的定位信息.
  179. /// </summary>
  180. [pbr::OriginalName("LOCATE_MANAGER_CAR")] LocateManagerCar = 3,
  181. /// <summary>
  182. ///通过车轮 计算汽车的定位信息.
  183. /// </summary>
  184. [pbr::OriginalName("LOCATE_MANAGER_WHEEL")] LocateManagerWheel = 4,
  185. /// <summary>
  186. ///故障
  187. /// </summary>
  188. [pbr::OriginalName("LOCATE_MANAGER_FAULT")] LocateManagerFault = 5,
  189. }
  190. /// <summary>
  191. ///雷达管理的状态
  192. /// </summary>
  193. public enum Wanji_manager_status {
  194. /// <summary>
  195. ///未知
  196. /// </summary>
  197. [pbr::OriginalName("WANJI_MANAGER_UNKNOWN")] WanjiManagerUnknown = 0,
  198. /// <summary>
  199. ///准备,待机
  200. /// </summary>
  201. [pbr::OriginalName("WANJI_MANAGER_READY")] WanjiManagerReady = 1,
  202. /// <summary>
  203. ///工作正忙
  204. /// </summary>
  205. [pbr::OriginalName("WANJI_MANAGER_BUSY")] WanjiManagerBusy = 2,
  206. /// <summary>
  207. ///下发任务; 获取点云
  208. /// </summary>
  209. [pbr::OriginalName("WANJI_MANAGER_ISSUED_SCAN")] WanjiManagerIssuedScan = 3,
  210. /// <summary>
  211. ///等待任务; 扫描点云
  212. /// </summary>
  213. [pbr::OriginalName("WANJI_MANAGER_WAIT_SCAN")] WanjiManagerWaitScan = 4,
  214. /// <summary>
  215. ///下发任务; 算法预测
  216. /// </summary>
  217. [pbr::OriginalName("WANJI_MANAGER_ISSUED_DETECT")] WanjiManagerIssuedDetect = 5,
  218. /// <summary>
  219. ///等待任务; 算法预测
  220. /// </summary>
  221. [pbr::OriginalName("WANJI_MANAGER_WAIT_DETECT")] WanjiManagerWaitDetect = 6,
  222. /// <summary>
  223. ///故障
  224. /// </summary>
  225. [pbr::OriginalName("WANJI_MANAGER_FAULT")] WanjiManagerFault = 10,
  226. }
  227. /// <summary>
  228. ///万集设备身状态
  229. /// </summary>
  230. public enum Wanji_lidar_device_status {
  231. /// <summary>
  232. ///未知
  233. /// </summary>
  234. [pbr::OriginalName("WANJI_LIDAR_DEVICE_UNKNOWN")] WanjiLidarDeviceUnknown = 0,
  235. /// <summary>
  236. ///正常待机
  237. /// </summary>
  238. [pbr::OriginalName("WANJI_LIDAR_DEVICE_READY")] WanjiLidarDeviceReady = 1,
  239. /// <summary>
  240. ///断连
  241. /// </summary>
  242. [pbr::OriginalName("WANJI_LIDAR_DEVICE_DISCONNECT")] WanjiLidarDeviceDisconnect = 2,
  243. /// <summary>
  244. ///工作正忙
  245. /// </summary>
  246. [pbr::OriginalName("WANJI_LIDAR_DEVICE_BUSY")] WanjiLidarDeviceBusy = 3,
  247. /// <summary>
  248. ///故障
  249. /// </summary>
  250. [pbr::OriginalName("WANJI_LIDAR_DEVICE_FAULT")] WanjiLidarDeviceFault = 10,
  251. }
  252. /// <summary>
  253. ///万集区域功能的状态
  254. /// </summary>
  255. public enum Region_worker_status {
  256. /// <summary>
  257. ///未知
  258. /// </summary>
  259. [pbr::OriginalName("REGION_WORKER_UNKNOWN")] RegionWorkerUnknown = 0,
  260. /// <summary>
  261. ///准备,待机
  262. /// </summary>
  263. [pbr::OriginalName("REGION_WORKER_READY")] RegionWorkerReady = 1,
  264. /// <summary>
  265. ///工作正忙
  266. /// </summary>
  267. [pbr::OriginalName("REGION_WORKER_BUSY")] RegionWorkerBusy = 2,
  268. /// <summary>
  269. ///故障
  270. /// </summary>
  271. [pbr::OriginalName("REGION_WORKER_FAULT")] RegionWorkerFault = 10,
  272. }
  273. /// <summary>
  274. /// 电子围栏状态
  275. /// </summary>
  276. public enum Ground_statu {
  277. [pbr::OriginalName("Nothing")] Nothing = 0,
  278. [pbr::OriginalName("Noise")] Noise = 1,
  279. [pbr::OriginalName("Car_correct")] CarCorrect = 2,
  280. [pbr::OriginalName("Car_left_out")] CarLeftOut = 3,
  281. [pbr::OriginalName("Car_right_out")] CarRightOut = 4,
  282. [pbr::OriginalName("Car_top_out")] CarTopOut = 5,
  283. [pbr::OriginalName("Car_bottom_out")] CarBottomOut = 6,
  284. }
  285. #endregion
  286. #region Messages
  287. /// <summary>
  288. ///定位模块状态
  289. /// </summary>
  290. public sealed partial class Measure_status_msg : pb::IMessage<Measure_status_msg>
  291. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  292. , pb::IBufferMessage
  293. #endif
  294. {
  295. private static readonly pb::MessageParser<Measure_status_msg> _parser = new pb::MessageParser<Measure_status_msg>(() => new Measure_status_msg());
  296. private pb::UnknownFieldSet _unknownFields;
  297. private int _hasBits0;
  298. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  299. public static pb::MessageParser<Measure_status_msg> Parser { get { return _parser; } }
  300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  301. public static pbr::MessageDescriptor Descriptor {
  302. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[0]; }
  303. }
  304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  305. pbr::MessageDescriptor pb::IMessage.Descriptor {
  306. get { return Descriptor; }
  307. }
  308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  309. public Measure_status_msg() {
  310. OnConstruction();
  311. }
  312. partial void OnConstruction();
  313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  314. public Measure_status_msg(Measure_status_msg other) : this() {
  315. _hasBits0 = other._hasBits0;
  316. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  317. terminalId_ = other.terminalId_;
  318. laserManagerStatus_ = other.laserManagerStatus_;
  319. laserStatuVector_ = other.laserStatuVector_.Clone();
  320. locateManagerStatus_ = other.locateManagerStatus_;
  321. wanjiManagerStatus_ = other.wanjiManagerStatus_;
  322. wanjiLidarDeviceStatus_ = other.wanjiLidarDeviceStatus_.Clone();
  323. regionWorkerStatus_ = other.regionWorkerStatus_.Clone();
  324. locateInformationRealtime_ = other.locateInformationRealtime_.Clone();
  325. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  326. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  327. }
  328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  329. public Measure_status_msg Clone() {
  330. return new Measure_status_msg(this);
  331. }
  332. /// <summary>Field number for the "base_info" field.</summary>
  333. public const int BaseInfoFieldNumber = 1;
  334. private global::Message.Base_info baseInfo_;
  335. /// <summary>
  336. ///消息类型
  337. /// </summary>
  338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  339. public global::Message.Base_info BaseInfo {
  340. get { return baseInfo_; }
  341. set {
  342. baseInfo_ = value;
  343. }
  344. }
  345. /// <summary>Field number for the "terminal_id" field.</summary>
  346. public const int TerminalIdFieldNumber = 2;
  347. private readonly static int TerminalIdDefaultValue = 0;
  348. private int terminalId_;
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  350. public int TerminalId {
  351. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  352. set {
  353. _hasBits0 |= 1;
  354. terminalId_ = value;
  355. }
  356. }
  357. /// <summary>Gets whether the "terminal_id" field is set</summary>
  358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  359. public bool HasTerminalId {
  360. get { return (_hasBits0 & 1) != 0; }
  361. }
  362. /// <summary>Clears the value of the "terminal_id" field</summary>
  363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  364. public void ClearTerminalId() {
  365. _hasBits0 &= ~1;
  366. }
  367. /// <summary>Field number for the "laser_manager_status" field.</summary>
  368. public const int LaserManagerStatusFieldNumber = 3;
  369. private readonly static global::Message.Laser_manager_status LaserManagerStatusDefaultValue = global::Message.Laser_manager_status.LaserManagerUnknow;
  370. private global::Message.Laser_manager_status laserManagerStatus_;
  371. /// <summary>
  372. ///大疆管理状态
  373. /// </summary>
  374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  375. public global::Message.Laser_manager_status LaserManagerStatus {
  376. get { if ((_hasBits0 & 2) != 0) { return laserManagerStatus_; } else { return LaserManagerStatusDefaultValue; } }
  377. set {
  378. _hasBits0 |= 2;
  379. laserManagerStatus_ = value;
  380. }
  381. }
  382. /// <summary>Gets whether the "laser_manager_status" field is set</summary>
  383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  384. public bool HasLaserManagerStatus {
  385. get { return (_hasBits0 & 2) != 0; }
  386. }
  387. /// <summary>Clears the value of the "laser_manager_status" field</summary>
  388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  389. public void ClearLaserManagerStatus() {
  390. _hasBits0 &= ~2;
  391. }
  392. /// <summary>Field number for the "laser_statu_vector" field.</summary>
  393. public const int LaserStatuVectorFieldNumber = 4;
  394. private static readonly pb::FieldCodec<global::Message.Laser_statu> _repeated_laserStatuVector_codec
  395. = pb::FieldCodec.ForEnum(32, x => (int) x, x => (global::Message.Laser_statu) x);
  396. private readonly pbc::RepeatedField<global::Message.Laser_statu> laserStatuVector_ = new pbc::RepeatedField<global::Message.Laser_statu>();
  397. /// <summary>
  398. ///大疆雷达设备状态
  399. /// </summary>
  400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  401. public pbc::RepeatedField<global::Message.Laser_statu> LaserStatuVector {
  402. get { return laserStatuVector_; }
  403. }
  404. /// <summary>Field number for the "locate_manager_status" field.</summary>
  405. public const int LocateManagerStatusFieldNumber = 5;
  406. private readonly static global::Message.Locate_manager_status LocateManagerStatusDefaultValue = global::Message.Locate_manager_status.LocateManagerUnknow;
  407. private global::Message.Locate_manager_status locateManagerStatus_;
  408. /// <summary>
  409. ///大疆定位算法状态
  410. /// </summary>
  411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  412. public global::Message.Locate_manager_status LocateManagerStatus {
  413. get { if ((_hasBits0 & 4) != 0) { return locateManagerStatus_; } else { return LocateManagerStatusDefaultValue; } }
  414. set {
  415. _hasBits0 |= 4;
  416. locateManagerStatus_ = value;
  417. }
  418. }
  419. /// <summary>Gets whether the "locate_manager_status" field is set</summary>
  420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  421. public bool HasLocateManagerStatus {
  422. get { return (_hasBits0 & 4) != 0; }
  423. }
  424. /// <summary>Clears the value of the "locate_manager_status" field</summary>
  425. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  426. public void ClearLocateManagerStatus() {
  427. _hasBits0 &= ~4;
  428. }
  429. /// <summary>Field number for the "wanji_manager_status" field.</summary>
  430. public const int WanjiManagerStatusFieldNumber = 6;
  431. private readonly static global::Message.Wanji_manager_status WanjiManagerStatusDefaultValue = global::Message.Wanji_manager_status.WanjiManagerUnknown;
  432. private global::Message.Wanji_manager_status wanjiManagerStatus_;
  433. /// <summary>
  434. ///万集管理状态
  435. /// </summary>
  436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  437. public global::Message.Wanji_manager_status WanjiManagerStatus {
  438. get { if ((_hasBits0 & 8) != 0) { return wanjiManagerStatus_; } else { return WanjiManagerStatusDefaultValue; } }
  439. set {
  440. _hasBits0 |= 8;
  441. wanjiManagerStatus_ = value;
  442. }
  443. }
  444. /// <summary>Gets whether the "wanji_manager_status" field is set</summary>
  445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  446. public bool HasWanjiManagerStatus {
  447. get { return (_hasBits0 & 8) != 0; }
  448. }
  449. /// <summary>Clears the value of the "wanji_manager_status" field</summary>
  450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  451. public void ClearWanjiManagerStatus() {
  452. _hasBits0 &= ~8;
  453. }
  454. /// <summary>Field number for the "wanji_lidar_device_status" field.</summary>
  455. public const int WanjiLidarDeviceStatusFieldNumber = 7;
  456. private static readonly pb::FieldCodec<global::Message.Wanji_lidar_device_status> _repeated_wanjiLidarDeviceStatus_codec
  457. = pb::FieldCodec.ForEnum(56, x => (int) x, x => (global::Message.Wanji_lidar_device_status) x);
  458. private readonly pbc::RepeatedField<global::Message.Wanji_lidar_device_status> wanjiLidarDeviceStatus_ = new pbc::RepeatedField<global::Message.Wanji_lidar_device_status>();
  459. /// <summary>
  460. ///万集设备身状态
  461. /// </summary>
  462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  463. public pbc::RepeatedField<global::Message.Wanji_lidar_device_status> WanjiLidarDeviceStatus {
  464. get { return wanjiLidarDeviceStatus_; }
  465. }
  466. /// <summary>Field number for the "region_worker_status" field.</summary>
  467. public const int RegionWorkerStatusFieldNumber = 8;
  468. private static readonly pb::FieldCodec<global::Message.Region_worker_status> _repeated_regionWorkerStatus_codec
  469. = pb::FieldCodec.ForEnum(64, x => (int) x, x => (global::Message.Region_worker_status) x);
  470. private readonly pbc::RepeatedField<global::Message.Region_worker_status> regionWorkerStatus_ = new pbc::RepeatedField<global::Message.Region_worker_status>();
  471. /// <summary>
  472. ///万集区域功能的状态
  473. /// </summary>
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  475. public pbc::RepeatedField<global::Message.Region_worker_status> RegionWorkerStatus {
  476. get { return regionWorkerStatus_; }
  477. }
  478. /// <summary>Field number for the "locate_information_realtime" field.</summary>
  479. public const int LocateInformationRealtimeFieldNumber = 9;
  480. private static readonly pb::FieldCodec<global::Message.Locate_information> _repeated_locateInformationRealtime_codec
  481. = pb::FieldCodec.ForMessage(74, global::Message.Locate_information.Parser);
  482. private readonly pbc::RepeatedField<global::Message.Locate_information> locateInformationRealtime_ = new pbc::RepeatedField<global::Message.Locate_information>();
  483. /// <summary>
  484. ///地面雷达的 实时定位信息
  485. /// </summary>
  486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  487. public pbc::RepeatedField<global::Message.Locate_information> LocateInformationRealtime {
  488. get { return locateInformationRealtime_; }
  489. }
  490. /// <summary>Field number for the "error_manager" field.</summary>
  491. public const int ErrorManagerFieldNumber = 10;
  492. private global::Message.Error_manager errorManager_;
  493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  494. public global::Message.Error_manager ErrorManager {
  495. get { return errorManager_; }
  496. set {
  497. errorManager_ = value;
  498. }
  499. }
  500. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  501. public override bool Equals(object other) {
  502. return Equals(other as Measure_status_msg);
  503. }
  504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  505. public bool Equals(Measure_status_msg other) {
  506. if (ReferenceEquals(other, null)) {
  507. return false;
  508. }
  509. if (ReferenceEquals(other, this)) {
  510. return true;
  511. }
  512. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  513. if (TerminalId != other.TerminalId) return false;
  514. if (LaserManagerStatus != other.LaserManagerStatus) return false;
  515. if(!laserStatuVector_.Equals(other.laserStatuVector_)) return false;
  516. if (LocateManagerStatus != other.LocateManagerStatus) return false;
  517. if (WanjiManagerStatus != other.WanjiManagerStatus) return false;
  518. if(!wanjiLidarDeviceStatus_.Equals(other.wanjiLidarDeviceStatus_)) return false;
  519. if(!regionWorkerStatus_.Equals(other.regionWorkerStatus_)) return false;
  520. if(!locateInformationRealtime_.Equals(other.locateInformationRealtime_)) return false;
  521. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  522. return Equals(_unknownFields, other._unknownFields);
  523. }
  524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  525. public override int GetHashCode() {
  526. int hash = 1;
  527. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  528. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  529. if (HasLaserManagerStatus) hash ^= LaserManagerStatus.GetHashCode();
  530. hash ^= laserStatuVector_.GetHashCode();
  531. if (HasLocateManagerStatus) hash ^= LocateManagerStatus.GetHashCode();
  532. if (HasWanjiManagerStatus) hash ^= WanjiManagerStatus.GetHashCode();
  533. hash ^= wanjiLidarDeviceStatus_.GetHashCode();
  534. hash ^= regionWorkerStatus_.GetHashCode();
  535. hash ^= locateInformationRealtime_.GetHashCode();
  536. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  537. if (_unknownFields != null) {
  538. hash ^= _unknownFields.GetHashCode();
  539. }
  540. return hash;
  541. }
  542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  543. public override string ToString() {
  544. return pb::JsonFormatter.ToDiagnosticString(this);
  545. }
  546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  547. public void WriteTo(pb::CodedOutputStream output) {
  548. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  549. output.WriteRawMessage(this);
  550. #else
  551. if (baseInfo_ != null) {
  552. output.WriteRawTag(10);
  553. output.WriteMessage(BaseInfo);
  554. }
  555. if (HasTerminalId) {
  556. output.WriteRawTag(16);
  557. output.WriteInt32(TerminalId);
  558. }
  559. if (HasLaserManagerStatus) {
  560. output.WriteRawTag(24);
  561. output.WriteEnum((int) LaserManagerStatus);
  562. }
  563. laserStatuVector_.WriteTo(output, _repeated_laserStatuVector_codec);
  564. if (HasLocateManagerStatus) {
  565. output.WriteRawTag(40);
  566. output.WriteEnum((int) LocateManagerStatus);
  567. }
  568. if (HasWanjiManagerStatus) {
  569. output.WriteRawTag(48);
  570. output.WriteEnum((int) WanjiManagerStatus);
  571. }
  572. wanjiLidarDeviceStatus_.WriteTo(output, _repeated_wanjiLidarDeviceStatus_codec);
  573. regionWorkerStatus_.WriteTo(output, _repeated_regionWorkerStatus_codec);
  574. locateInformationRealtime_.WriteTo(output, _repeated_locateInformationRealtime_codec);
  575. if (errorManager_ != null) {
  576. output.WriteRawTag(82);
  577. output.WriteMessage(ErrorManager);
  578. }
  579. if (_unknownFields != null) {
  580. _unknownFields.WriteTo(output);
  581. }
  582. #endif
  583. }
  584. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  586. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  587. if (baseInfo_ != null) {
  588. output.WriteRawTag(10);
  589. output.WriteMessage(BaseInfo);
  590. }
  591. if (HasTerminalId) {
  592. output.WriteRawTag(16);
  593. output.WriteInt32(TerminalId);
  594. }
  595. if (HasLaserManagerStatus) {
  596. output.WriteRawTag(24);
  597. output.WriteEnum((int) LaserManagerStatus);
  598. }
  599. laserStatuVector_.WriteTo(ref output, _repeated_laserStatuVector_codec);
  600. if (HasLocateManagerStatus) {
  601. output.WriteRawTag(40);
  602. output.WriteEnum((int) LocateManagerStatus);
  603. }
  604. if (HasWanjiManagerStatus) {
  605. output.WriteRawTag(48);
  606. output.WriteEnum((int) WanjiManagerStatus);
  607. }
  608. wanjiLidarDeviceStatus_.WriteTo(ref output, _repeated_wanjiLidarDeviceStatus_codec);
  609. regionWorkerStatus_.WriteTo(ref output, _repeated_regionWorkerStatus_codec);
  610. locateInformationRealtime_.WriteTo(ref output, _repeated_locateInformationRealtime_codec);
  611. if (errorManager_ != null) {
  612. output.WriteRawTag(82);
  613. output.WriteMessage(ErrorManager);
  614. }
  615. if (_unknownFields != null) {
  616. _unknownFields.WriteTo(ref output);
  617. }
  618. }
  619. #endif
  620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  621. public int CalculateSize() {
  622. int size = 0;
  623. if (baseInfo_ != null) {
  624. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  625. }
  626. if (HasTerminalId) {
  627. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  628. }
  629. if (HasLaserManagerStatus) {
  630. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LaserManagerStatus);
  631. }
  632. size += laserStatuVector_.CalculateSize(_repeated_laserStatuVector_codec);
  633. if (HasLocateManagerStatus) {
  634. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LocateManagerStatus);
  635. }
  636. if (HasWanjiManagerStatus) {
  637. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WanjiManagerStatus);
  638. }
  639. size += wanjiLidarDeviceStatus_.CalculateSize(_repeated_wanjiLidarDeviceStatus_codec);
  640. size += regionWorkerStatus_.CalculateSize(_repeated_regionWorkerStatus_codec);
  641. size += locateInformationRealtime_.CalculateSize(_repeated_locateInformationRealtime_codec);
  642. if (errorManager_ != null) {
  643. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  644. }
  645. if (_unknownFields != null) {
  646. size += _unknownFields.CalculateSize();
  647. }
  648. return size;
  649. }
  650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  651. public void MergeFrom(Measure_status_msg other) {
  652. if (other == null) {
  653. return;
  654. }
  655. if (other.baseInfo_ != null) {
  656. if (baseInfo_ == null) {
  657. BaseInfo = new global::Message.Base_info();
  658. }
  659. BaseInfo.MergeFrom(other.BaseInfo);
  660. }
  661. if (other.HasTerminalId) {
  662. TerminalId = other.TerminalId;
  663. }
  664. if (other.HasLaserManagerStatus) {
  665. LaserManagerStatus = other.LaserManagerStatus;
  666. }
  667. laserStatuVector_.Add(other.laserStatuVector_);
  668. if (other.HasLocateManagerStatus) {
  669. LocateManagerStatus = other.LocateManagerStatus;
  670. }
  671. if (other.HasWanjiManagerStatus) {
  672. WanjiManagerStatus = other.WanjiManagerStatus;
  673. }
  674. wanjiLidarDeviceStatus_.Add(other.wanjiLidarDeviceStatus_);
  675. regionWorkerStatus_.Add(other.regionWorkerStatus_);
  676. locateInformationRealtime_.Add(other.locateInformationRealtime_);
  677. if (other.errorManager_ != null) {
  678. if (errorManager_ == null) {
  679. ErrorManager = new global::Message.Error_manager();
  680. }
  681. ErrorManager.MergeFrom(other.ErrorManager);
  682. }
  683. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  684. }
  685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  686. public void MergeFrom(pb::CodedInputStream input) {
  687. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  688. input.ReadRawMessage(this);
  689. #else
  690. uint tag;
  691. while ((tag = input.ReadTag()) != 0) {
  692. switch(tag) {
  693. default:
  694. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  695. break;
  696. case 10: {
  697. if (baseInfo_ == null) {
  698. BaseInfo = new global::Message.Base_info();
  699. }
  700. input.ReadMessage(BaseInfo);
  701. break;
  702. }
  703. case 16: {
  704. TerminalId = input.ReadInt32();
  705. break;
  706. }
  707. case 24: {
  708. LaserManagerStatus = (global::Message.Laser_manager_status) input.ReadEnum();
  709. break;
  710. }
  711. case 34:
  712. case 32: {
  713. laserStatuVector_.AddEntriesFrom(input, _repeated_laserStatuVector_codec);
  714. break;
  715. }
  716. case 40: {
  717. LocateManagerStatus = (global::Message.Locate_manager_status) input.ReadEnum();
  718. break;
  719. }
  720. case 48: {
  721. WanjiManagerStatus = (global::Message.Wanji_manager_status) input.ReadEnum();
  722. break;
  723. }
  724. case 58:
  725. case 56: {
  726. wanjiLidarDeviceStatus_.AddEntriesFrom(input, _repeated_wanjiLidarDeviceStatus_codec);
  727. break;
  728. }
  729. case 66:
  730. case 64: {
  731. regionWorkerStatus_.AddEntriesFrom(input, _repeated_regionWorkerStatus_codec);
  732. break;
  733. }
  734. case 74: {
  735. locateInformationRealtime_.AddEntriesFrom(input, _repeated_locateInformationRealtime_codec);
  736. break;
  737. }
  738. case 82: {
  739. if (errorManager_ == null) {
  740. ErrorManager = new global::Message.Error_manager();
  741. }
  742. input.ReadMessage(ErrorManager);
  743. break;
  744. }
  745. }
  746. }
  747. #endif
  748. }
  749. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  751. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  752. uint tag;
  753. while ((tag = input.ReadTag()) != 0) {
  754. switch(tag) {
  755. default:
  756. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  757. break;
  758. case 10: {
  759. if (baseInfo_ == null) {
  760. BaseInfo = new global::Message.Base_info();
  761. }
  762. input.ReadMessage(BaseInfo);
  763. break;
  764. }
  765. case 16: {
  766. TerminalId = input.ReadInt32();
  767. break;
  768. }
  769. case 24: {
  770. LaserManagerStatus = (global::Message.Laser_manager_status) input.ReadEnum();
  771. break;
  772. }
  773. case 34:
  774. case 32: {
  775. laserStatuVector_.AddEntriesFrom(ref input, _repeated_laserStatuVector_codec);
  776. break;
  777. }
  778. case 40: {
  779. LocateManagerStatus = (global::Message.Locate_manager_status) input.ReadEnum();
  780. break;
  781. }
  782. case 48: {
  783. WanjiManagerStatus = (global::Message.Wanji_manager_status) input.ReadEnum();
  784. break;
  785. }
  786. case 58:
  787. case 56: {
  788. wanjiLidarDeviceStatus_.AddEntriesFrom(ref input, _repeated_wanjiLidarDeviceStatus_codec);
  789. break;
  790. }
  791. case 66:
  792. case 64: {
  793. regionWorkerStatus_.AddEntriesFrom(ref input, _repeated_regionWorkerStatus_codec);
  794. break;
  795. }
  796. case 74: {
  797. locateInformationRealtime_.AddEntriesFrom(ref input, _repeated_locateInformationRealtime_codec);
  798. break;
  799. }
  800. case 82: {
  801. if (errorManager_ == null) {
  802. ErrorManager = new global::Message.Error_manager();
  803. }
  804. input.ReadMessage(ErrorManager);
  805. break;
  806. }
  807. }
  808. }
  809. }
  810. #endif
  811. }
  812. /// <summary>
  813. ///定位请求消息
  814. /// </summary>
  815. public sealed partial class Measure_request_msg : pb::IMessage<Measure_request_msg>
  816. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  817. , pb::IBufferMessage
  818. #endif
  819. {
  820. private static readonly pb::MessageParser<Measure_request_msg> _parser = new pb::MessageParser<Measure_request_msg>(() => new Measure_request_msg());
  821. private pb::UnknownFieldSet _unknownFields;
  822. private int _hasBits0;
  823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  824. public static pb::MessageParser<Measure_request_msg> Parser { get { return _parser; } }
  825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  826. public static pbr::MessageDescriptor Descriptor {
  827. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[1]; }
  828. }
  829. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  830. pbr::MessageDescriptor pb::IMessage.Descriptor {
  831. get { return Descriptor; }
  832. }
  833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  834. public Measure_request_msg() {
  835. OnConstruction();
  836. }
  837. partial void OnConstruction();
  838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  839. public Measure_request_msg(Measure_request_msg other) : this() {
  840. _hasBits0 = other._hasBits0;
  841. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  842. commandKey_ = other.commandKey_;
  843. terminalId_ = other.terminalId_;
  844. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  845. }
  846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  847. public Measure_request_msg Clone() {
  848. return new Measure_request_msg(this);
  849. }
  850. /// <summary>Field number for the "base_info" field.</summary>
  851. public const int BaseInfoFieldNumber = 1;
  852. private global::Message.Base_info baseInfo_;
  853. /// <summary>
  854. ///消息类型
  855. /// </summary>
  856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  857. public global::Message.Base_info BaseInfo {
  858. get { return baseInfo_; }
  859. set {
  860. baseInfo_ = value;
  861. }
  862. }
  863. /// <summary>Field number for the "command_key" field.</summary>
  864. public const int CommandKeyFieldNumber = 2;
  865. private readonly static string CommandKeyDefaultValue = "";
  866. private string commandKey_;
  867. /// <summary>
  868. ///指令唯一标识符id
  869. /// </summary>
  870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  871. public string CommandKey {
  872. get { return commandKey_ ?? CommandKeyDefaultValue; }
  873. set {
  874. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  875. }
  876. }
  877. /// <summary>Gets whether the "command_key" field is set</summary>
  878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  879. public bool HasCommandKey {
  880. get { return commandKey_ != null; }
  881. }
  882. /// <summary>Clears the value of the "command_key" field</summary>
  883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  884. public void ClearCommandKey() {
  885. commandKey_ = null;
  886. }
  887. /// <summary>Field number for the "terminal_id" field.</summary>
  888. public const int TerminalIdFieldNumber = 3;
  889. private readonly static int TerminalIdDefaultValue = 0;
  890. private int terminalId_;
  891. /// <summary>
  892. ///终端id
  893. /// </summary>
  894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  895. public int TerminalId {
  896. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  897. set {
  898. _hasBits0 |= 1;
  899. terminalId_ = value;
  900. }
  901. }
  902. /// <summary>Gets whether the "terminal_id" field is set</summary>
  903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  904. public bool HasTerminalId {
  905. get { return (_hasBits0 & 1) != 0; }
  906. }
  907. /// <summary>Clears the value of the "terminal_id" field</summary>
  908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  909. public void ClearTerminalId() {
  910. _hasBits0 &= ~1;
  911. }
  912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  913. public override bool Equals(object other) {
  914. return Equals(other as Measure_request_msg);
  915. }
  916. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  917. public bool Equals(Measure_request_msg other) {
  918. if (ReferenceEquals(other, null)) {
  919. return false;
  920. }
  921. if (ReferenceEquals(other, this)) {
  922. return true;
  923. }
  924. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  925. if (CommandKey != other.CommandKey) return false;
  926. if (TerminalId != other.TerminalId) return false;
  927. return Equals(_unknownFields, other._unknownFields);
  928. }
  929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  930. public override int GetHashCode() {
  931. int hash = 1;
  932. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  933. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  934. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  935. if (_unknownFields != null) {
  936. hash ^= _unknownFields.GetHashCode();
  937. }
  938. return hash;
  939. }
  940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  941. public override string ToString() {
  942. return pb::JsonFormatter.ToDiagnosticString(this);
  943. }
  944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  945. public void WriteTo(pb::CodedOutputStream output) {
  946. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  947. output.WriteRawMessage(this);
  948. #else
  949. if (baseInfo_ != null) {
  950. output.WriteRawTag(10);
  951. output.WriteMessage(BaseInfo);
  952. }
  953. if (HasCommandKey) {
  954. output.WriteRawTag(18);
  955. output.WriteString(CommandKey);
  956. }
  957. if (HasTerminalId) {
  958. output.WriteRawTag(24);
  959. output.WriteInt32(TerminalId);
  960. }
  961. if (_unknownFields != null) {
  962. _unknownFields.WriteTo(output);
  963. }
  964. #endif
  965. }
  966. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  968. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  969. if (baseInfo_ != null) {
  970. output.WriteRawTag(10);
  971. output.WriteMessage(BaseInfo);
  972. }
  973. if (HasCommandKey) {
  974. output.WriteRawTag(18);
  975. output.WriteString(CommandKey);
  976. }
  977. if (HasTerminalId) {
  978. output.WriteRawTag(24);
  979. output.WriteInt32(TerminalId);
  980. }
  981. if (_unknownFields != null) {
  982. _unknownFields.WriteTo(ref output);
  983. }
  984. }
  985. #endif
  986. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  987. public int CalculateSize() {
  988. int size = 0;
  989. if (baseInfo_ != null) {
  990. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  991. }
  992. if (HasCommandKey) {
  993. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  994. }
  995. if (HasTerminalId) {
  996. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  997. }
  998. if (_unknownFields != null) {
  999. size += _unknownFields.CalculateSize();
  1000. }
  1001. return size;
  1002. }
  1003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1004. public void MergeFrom(Measure_request_msg other) {
  1005. if (other == null) {
  1006. return;
  1007. }
  1008. if (other.baseInfo_ != null) {
  1009. if (baseInfo_ == null) {
  1010. BaseInfo = new global::Message.Base_info();
  1011. }
  1012. BaseInfo.MergeFrom(other.BaseInfo);
  1013. }
  1014. if (other.HasCommandKey) {
  1015. CommandKey = other.CommandKey;
  1016. }
  1017. if (other.HasTerminalId) {
  1018. TerminalId = other.TerminalId;
  1019. }
  1020. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1021. }
  1022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1023. public void MergeFrom(pb::CodedInputStream input) {
  1024. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1025. input.ReadRawMessage(this);
  1026. #else
  1027. uint tag;
  1028. while ((tag = input.ReadTag()) != 0) {
  1029. switch(tag) {
  1030. default:
  1031. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1032. break;
  1033. case 10: {
  1034. if (baseInfo_ == null) {
  1035. BaseInfo = new global::Message.Base_info();
  1036. }
  1037. input.ReadMessage(BaseInfo);
  1038. break;
  1039. }
  1040. case 18: {
  1041. CommandKey = input.ReadString();
  1042. break;
  1043. }
  1044. case 24: {
  1045. TerminalId = input.ReadInt32();
  1046. break;
  1047. }
  1048. }
  1049. }
  1050. #endif
  1051. }
  1052. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1054. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1055. uint tag;
  1056. while ((tag = input.ReadTag()) != 0) {
  1057. switch(tag) {
  1058. default:
  1059. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1060. break;
  1061. case 10: {
  1062. if (baseInfo_ == null) {
  1063. BaseInfo = new global::Message.Base_info();
  1064. }
  1065. input.ReadMessage(BaseInfo);
  1066. break;
  1067. }
  1068. case 18: {
  1069. CommandKey = input.ReadString();
  1070. break;
  1071. }
  1072. case 24: {
  1073. TerminalId = input.ReadInt32();
  1074. break;
  1075. }
  1076. }
  1077. }
  1078. }
  1079. #endif
  1080. }
  1081. /// <summary>
  1082. ///定位测量返回消息
  1083. /// </summary>
  1084. public sealed partial class Measure_response_msg : pb::IMessage<Measure_response_msg>
  1085. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1086. , pb::IBufferMessage
  1087. #endif
  1088. {
  1089. private static readonly pb::MessageParser<Measure_response_msg> _parser = new pb::MessageParser<Measure_response_msg>(() => new Measure_response_msg());
  1090. private pb::UnknownFieldSet _unknownFields;
  1091. private int _hasBits0;
  1092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1093. public static pb::MessageParser<Measure_response_msg> Parser { get { return _parser; } }
  1094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1095. public static pbr::MessageDescriptor Descriptor {
  1096. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[2]; }
  1097. }
  1098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1099. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1100. get { return Descriptor; }
  1101. }
  1102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1103. public Measure_response_msg() {
  1104. OnConstruction();
  1105. }
  1106. partial void OnConstruction();
  1107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1108. public Measure_response_msg(Measure_response_msg other) : this() {
  1109. _hasBits0 = other._hasBits0;
  1110. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1111. commandKey_ = other.commandKey_;
  1112. terminalId_ = other.terminalId_;
  1113. locateInformation_ = other.locateInformation_ != null ? other.locateInformation_.Clone() : null;
  1114. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1115. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1116. }
  1117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1118. public Measure_response_msg Clone() {
  1119. return new Measure_response_msg(this);
  1120. }
  1121. /// <summary>Field number for the "base_info" field.</summary>
  1122. public const int BaseInfoFieldNumber = 1;
  1123. private global::Message.Base_info baseInfo_;
  1124. /// <summary>
  1125. ///消息类型
  1126. /// </summary>
  1127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1128. public global::Message.Base_info BaseInfo {
  1129. get { return baseInfo_; }
  1130. set {
  1131. baseInfo_ = value;
  1132. }
  1133. }
  1134. /// <summary>Field number for the "command_key" field.</summary>
  1135. public const int CommandKeyFieldNumber = 2;
  1136. private readonly static string CommandKeyDefaultValue = "";
  1137. private string commandKey_;
  1138. /// <summary>
  1139. ///指令唯一标识符id
  1140. /// </summary>
  1141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1142. public string CommandKey {
  1143. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1144. set {
  1145. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1146. }
  1147. }
  1148. /// <summary>Gets whether the "command_key" field is set</summary>
  1149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1150. public bool HasCommandKey {
  1151. get { return commandKey_ != null; }
  1152. }
  1153. /// <summary>Clears the value of the "command_key" field</summary>
  1154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1155. public void ClearCommandKey() {
  1156. commandKey_ = null;
  1157. }
  1158. /// <summary>Field number for the "terminal_id" field.</summary>
  1159. public const int TerminalIdFieldNumber = 3;
  1160. private readonly static int TerminalIdDefaultValue = 0;
  1161. private int terminalId_;
  1162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1163. public int TerminalId {
  1164. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  1165. set {
  1166. _hasBits0 |= 1;
  1167. terminalId_ = value;
  1168. }
  1169. }
  1170. /// <summary>Gets whether the "terminal_id" field is set</summary>
  1171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1172. public bool HasTerminalId {
  1173. get { return (_hasBits0 & 1) != 0; }
  1174. }
  1175. /// <summary>Clears the value of the "terminal_id" field</summary>
  1176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1177. public void ClearTerminalId() {
  1178. _hasBits0 &= ~1;
  1179. }
  1180. /// <summary>Field number for the "locate_information" field.</summary>
  1181. public const int LocateInformationFieldNumber = 4;
  1182. private global::Message.Locate_information locateInformation_;
  1183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1184. public global::Message.Locate_information LocateInformation {
  1185. get { return locateInformation_; }
  1186. set {
  1187. locateInformation_ = value;
  1188. }
  1189. }
  1190. /// <summary>Field number for the "error_manager" field.</summary>
  1191. public const int ErrorManagerFieldNumber = 5;
  1192. private global::Message.Error_manager errorManager_;
  1193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1194. public global::Message.Error_manager ErrorManager {
  1195. get { return errorManager_; }
  1196. set {
  1197. errorManager_ = value;
  1198. }
  1199. }
  1200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1201. public override bool Equals(object other) {
  1202. return Equals(other as Measure_response_msg);
  1203. }
  1204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1205. public bool Equals(Measure_response_msg other) {
  1206. if (ReferenceEquals(other, null)) {
  1207. return false;
  1208. }
  1209. if (ReferenceEquals(other, this)) {
  1210. return true;
  1211. }
  1212. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1213. if (CommandKey != other.CommandKey) return false;
  1214. if (TerminalId != other.TerminalId) return false;
  1215. if (!object.Equals(LocateInformation, other.LocateInformation)) return false;
  1216. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1217. return Equals(_unknownFields, other._unknownFields);
  1218. }
  1219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1220. public override int GetHashCode() {
  1221. int hash = 1;
  1222. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1223. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1224. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  1225. if (locateInformation_ != null) hash ^= LocateInformation.GetHashCode();
  1226. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1227. if (_unknownFields != null) {
  1228. hash ^= _unknownFields.GetHashCode();
  1229. }
  1230. return hash;
  1231. }
  1232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1233. public override string ToString() {
  1234. return pb::JsonFormatter.ToDiagnosticString(this);
  1235. }
  1236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1237. public void WriteTo(pb::CodedOutputStream output) {
  1238. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1239. output.WriteRawMessage(this);
  1240. #else
  1241. if (baseInfo_ != null) {
  1242. output.WriteRawTag(10);
  1243. output.WriteMessage(BaseInfo);
  1244. }
  1245. if (HasCommandKey) {
  1246. output.WriteRawTag(18);
  1247. output.WriteString(CommandKey);
  1248. }
  1249. if (HasTerminalId) {
  1250. output.WriteRawTag(24);
  1251. output.WriteInt32(TerminalId);
  1252. }
  1253. if (locateInformation_ != null) {
  1254. output.WriteRawTag(34);
  1255. output.WriteMessage(LocateInformation);
  1256. }
  1257. if (errorManager_ != null) {
  1258. output.WriteRawTag(42);
  1259. output.WriteMessage(ErrorManager);
  1260. }
  1261. if (_unknownFields != null) {
  1262. _unknownFields.WriteTo(output);
  1263. }
  1264. #endif
  1265. }
  1266. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1268. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1269. if (baseInfo_ != null) {
  1270. output.WriteRawTag(10);
  1271. output.WriteMessage(BaseInfo);
  1272. }
  1273. if (HasCommandKey) {
  1274. output.WriteRawTag(18);
  1275. output.WriteString(CommandKey);
  1276. }
  1277. if (HasTerminalId) {
  1278. output.WriteRawTag(24);
  1279. output.WriteInt32(TerminalId);
  1280. }
  1281. if (locateInformation_ != null) {
  1282. output.WriteRawTag(34);
  1283. output.WriteMessage(LocateInformation);
  1284. }
  1285. if (errorManager_ != null) {
  1286. output.WriteRawTag(42);
  1287. output.WriteMessage(ErrorManager);
  1288. }
  1289. if (_unknownFields != null) {
  1290. _unknownFields.WriteTo(ref output);
  1291. }
  1292. }
  1293. #endif
  1294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1295. public int CalculateSize() {
  1296. int size = 0;
  1297. if (baseInfo_ != null) {
  1298. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1299. }
  1300. if (HasCommandKey) {
  1301. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1302. }
  1303. if (HasTerminalId) {
  1304. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  1305. }
  1306. if (locateInformation_ != null) {
  1307. size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocateInformation);
  1308. }
  1309. if (errorManager_ != null) {
  1310. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1311. }
  1312. if (_unknownFields != null) {
  1313. size += _unknownFields.CalculateSize();
  1314. }
  1315. return size;
  1316. }
  1317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1318. public void MergeFrom(Measure_response_msg other) {
  1319. if (other == null) {
  1320. return;
  1321. }
  1322. if (other.baseInfo_ != null) {
  1323. if (baseInfo_ == null) {
  1324. BaseInfo = new global::Message.Base_info();
  1325. }
  1326. BaseInfo.MergeFrom(other.BaseInfo);
  1327. }
  1328. if (other.HasCommandKey) {
  1329. CommandKey = other.CommandKey;
  1330. }
  1331. if (other.HasTerminalId) {
  1332. TerminalId = other.TerminalId;
  1333. }
  1334. if (other.locateInformation_ != null) {
  1335. if (locateInformation_ == null) {
  1336. LocateInformation = new global::Message.Locate_information();
  1337. }
  1338. LocateInformation.MergeFrom(other.LocateInformation);
  1339. }
  1340. if (other.errorManager_ != null) {
  1341. if (errorManager_ == null) {
  1342. ErrorManager = new global::Message.Error_manager();
  1343. }
  1344. ErrorManager.MergeFrom(other.ErrorManager);
  1345. }
  1346. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1347. }
  1348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1349. public void MergeFrom(pb::CodedInputStream input) {
  1350. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1351. input.ReadRawMessage(this);
  1352. #else
  1353. uint tag;
  1354. while ((tag = input.ReadTag()) != 0) {
  1355. switch(tag) {
  1356. default:
  1357. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1358. break;
  1359. case 10: {
  1360. if (baseInfo_ == null) {
  1361. BaseInfo = new global::Message.Base_info();
  1362. }
  1363. input.ReadMessage(BaseInfo);
  1364. break;
  1365. }
  1366. case 18: {
  1367. CommandKey = input.ReadString();
  1368. break;
  1369. }
  1370. case 24: {
  1371. TerminalId = input.ReadInt32();
  1372. break;
  1373. }
  1374. case 34: {
  1375. if (locateInformation_ == null) {
  1376. LocateInformation = new global::Message.Locate_information();
  1377. }
  1378. input.ReadMessage(LocateInformation);
  1379. break;
  1380. }
  1381. case 42: {
  1382. if (errorManager_ == null) {
  1383. ErrorManager = new global::Message.Error_manager();
  1384. }
  1385. input.ReadMessage(ErrorManager);
  1386. break;
  1387. }
  1388. }
  1389. }
  1390. #endif
  1391. }
  1392. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1394. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1395. uint tag;
  1396. while ((tag = input.ReadTag()) != 0) {
  1397. switch(tag) {
  1398. default:
  1399. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1400. break;
  1401. case 10: {
  1402. if (baseInfo_ == null) {
  1403. BaseInfo = new global::Message.Base_info();
  1404. }
  1405. input.ReadMessage(BaseInfo);
  1406. break;
  1407. }
  1408. case 18: {
  1409. CommandKey = input.ReadString();
  1410. break;
  1411. }
  1412. case 24: {
  1413. TerminalId = input.ReadInt32();
  1414. break;
  1415. }
  1416. case 34: {
  1417. if (locateInformation_ == null) {
  1418. LocateInformation = new global::Message.Locate_information();
  1419. }
  1420. input.ReadMessage(LocateInformation);
  1421. break;
  1422. }
  1423. case 42: {
  1424. if (errorManager_ == null) {
  1425. ErrorManager = new global::Message.Error_manager();
  1426. }
  1427. input.ReadMessage(ErrorManager);
  1428. break;
  1429. }
  1430. }
  1431. }
  1432. }
  1433. #endif
  1434. }
  1435. /// <summary>
  1436. ///地面测量请求消息
  1437. /// </summary>
  1438. public sealed partial class Ground_detect_request_msg : pb::IMessage<Ground_detect_request_msg>
  1439. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1440. , pb::IBufferMessage
  1441. #endif
  1442. {
  1443. private static readonly pb::MessageParser<Ground_detect_request_msg> _parser = new pb::MessageParser<Ground_detect_request_msg>(() => new Ground_detect_request_msg());
  1444. private pb::UnknownFieldSet _unknownFields;
  1445. private int _hasBits0;
  1446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1447. public static pb::MessageParser<Ground_detect_request_msg> Parser { get { return _parser; } }
  1448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1449. public static pbr::MessageDescriptor Descriptor {
  1450. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[3]; }
  1451. }
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1453. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1454. get { return Descriptor; }
  1455. }
  1456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1457. public Ground_detect_request_msg() {
  1458. OnConstruction();
  1459. }
  1460. partial void OnConstruction();
  1461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1462. public Ground_detect_request_msg(Ground_detect_request_msg other) : this() {
  1463. _hasBits0 = other._hasBits0;
  1464. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1465. commandKey_ = other.commandKey_;
  1466. terminalId_ = other.terminalId_;
  1467. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1468. }
  1469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1470. public Ground_detect_request_msg Clone() {
  1471. return new Ground_detect_request_msg(this);
  1472. }
  1473. /// <summary>Field number for the "base_info" field.</summary>
  1474. public const int BaseInfoFieldNumber = 1;
  1475. private global::Message.Base_info baseInfo_;
  1476. /// <summary>
  1477. ///消息类型
  1478. /// </summary>
  1479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1480. public global::Message.Base_info BaseInfo {
  1481. get { return baseInfo_; }
  1482. set {
  1483. baseInfo_ = value;
  1484. }
  1485. }
  1486. /// <summary>Field number for the "command_key" field.</summary>
  1487. public const int CommandKeyFieldNumber = 2;
  1488. private readonly static string CommandKeyDefaultValue = "";
  1489. private string commandKey_;
  1490. /// <summary>
  1491. ///指令唯一标识符id
  1492. /// </summary>
  1493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1494. public string CommandKey {
  1495. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1496. set {
  1497. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1498. }
  1499. }
  1500. /// <summary>Gets whether the "command_key" field is set</summary>
  1501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1502. public bool HasCommandKey {
  1503. get { return commandKey_ != null; }
  1504. }
  1505. /// <summary>Clears the value of the "command_key" field</summary>
  1506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1507. public void ClearCommandKey() {
  1508. commandKey_ = null;
  1509. }
  1510. /// <summary>Field number for the "terminal_id" field.</summary>
  1511. public const int TerminalIdFieldNumber = 3;
  1512. private readonly static int TerminalIdDefaultValue = 0;
  1513. private int terminalId_;
  1514. /// <summary>
  1515. ///终端id
  1516. /// </summary>
  1517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1518. public int TerminalId {
  1519. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  1520. set {
  1521. _hasBits0 |= 1;
  1522. terminalId_ = value;
  1523. }
  1524. }
  1525. /// <summary>Gets whether the "terminal_id" field is set</summary>
  1526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1527. public bool HasTerminalId {
  1528. get { return (_hasBits0 & 1) != 0; }
  1529. }
  1530. /// <summary>Clears the value of the "terminal_id" field</summary>
  1531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1532. public void ClearTerminalId() {
  1533. _hasBits0 &= ~1;
  1534. }
  1535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1536. public override bool Equals(object other) {
  1537. return Equals(other as Ground_detect_request_msg);
  1538. }
  1539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1540. public bool Equals(Ground_detect_request_msg other) {
  1541. if (ReferenceEquals(other, null)) {
  1542. return false;
  1543. }
  1544. if (ReferenceEquals(other, this)) {
  1545. return true;
  1546. }
  1547. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1548. if (CommandKey != other.CommandKey) return false;
  1549. if (TerminalId != other.TerminalId) return false;
  1550. return Equals(_unknownFields, other._unknownFields);
  1551. }
  1552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1553. public override int GetHashCode() {
  1554. int hash = 1;
  1555. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1556. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1557. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  1558. if (_unknownFields != null) {
  1559. hash ^= _unknownFields.GetHashCode();
  1560. }
  1561. return hash;
  1562. }
  1563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1564. public override string ToString() {
  1565. return pb::JsonFormatter.ToDiagnosticString(this);
  1566. }
  1567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1568. public void WriteTo(pb::CodedOutputStream output) {
  1569. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1570. output.WriteRawMessage(this);
  1571. #else
  1572. if (baseInfo_ != null) {
  1573. output.WriteRawTag(10);
  1574. output.WriteMessage(BaseInfo);
  1575. }
  1576. if (HasCommandKey) {
  1577. output.WriteRawTag(18);
  1578. output.WriteString(CommandKey);
  1579. }
  1580. if (HasTerminalId) {
  1581. output.WriteRawTag(24);
  1582. output.WriteInt32(TerminalId);
  1583. }
  1584. if (_unknownFields != null) {
  1585. _unknownFields.WriteTo(output);
  1586. }
  1587. #endif
  1588. }
  1589. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1591. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1592. if (baseInfo_ != null) {
  1593. output.WriteRawTag(10);
  1594. output.WriteMessage(BaseInfo);
  1595. }
  1596. if (HasCommandKey) {
  1597. output.WriteRawTag(18);
  1598. output.WriteString(CommandKey);
  1599. }
  1600. if (HasTerminalId) {
  1601. output.WriteRawTag(24);
  1602. output.WriteInt32(TerminalId);
  1603. }
  1604. if (_unknownFields != null) {
  1605. _unknownFields.WriteTo(ref output);
  1606. }
  1607. }
  1608. #endif
  1609. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1610. public int CalculateSize() {
  1611. int size = 0;
  1612. if (baseInfo_ != null) {
  1613. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1614. }
  1615. if (HasCommandKey) {
  1616. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1617. }
  1618. if (HasTerminalId) {
  1619. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  1620. }
  1621. if (_unknownFields != null) {
  1622. size += _unknownFields.CalculateSize();
  1623. }
  1624. return size;
  1625. }
  1626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1627. public void MergeFrom(Ground_detect_request_msg other) {
  1628. if (other == null) {
  1629. return;
  1630. }
  1631. if (other.baseInfo_ != null) {
  1632. if (baseInfo_ == null) {
  1633. BaseInfo = new global::Message.Base_info();
  1634. }
  1635. BaseInfo.MergeFrom(other.BaseInfo);
  1636. }
  1637. if (other.HasCommandKey) {
  1638. CommandKey = other.CommandKey;
  1639. }
  1640. if (other.HasTerminalId) {
  1641. TerminalId = other.TerminalId;
  1642. }
  1643. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1644. }
  1645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1646. public void MergeFrom(pb::CodedInputStream input) {
  1647. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1648. input.ReadRawMessage(this);
  1649. #else
  1650. uint tag;
  1651. while ((tag = input.ReadTag()) != 0) {
  1652. switch(tag) {
  1653. default:
  1654. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1655. break;
  1656. case 10: {
  1657. if (baseInfo_ == null) {
  1658. BaseInfo = new global::Message.Base_info();
  1659. }
  1660. input.ReadMessage(BaseInfo);
  1661. break;
  1662. }
  1663. case 18: {
  1664. CommandKey = input.ReadString();
  1665. break;
  1666. }
  1667. case 24: {
  1668. TerminalId = input.ReadInt32();
  1669. break;
  1670. }
  1671. }
  1672. }
  1673. #endif
  1674. }
  1675. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1677. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1678. uint tag;
  1679. while ((tag = input.ReadTag()) != 0) {
  1680. switch(tag) {
  1681. default:
  1682. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1683. break;
  1684. case 10: {
  1685. if (baseInfo_ == null) {
  1686. BaseInfo = new global::Message.Base_info();
  1687. }
  1688. input.ReadMessage(BaseInfo);
  1689. break;
  1690. }
  1691. case 18: {
  1692. CommandKey = input.ReadString();
  1693. break;
  1694. }
  1695. case 24: {
  1696. TerminalId = input.ReadInt32();
  1697. break;
  1698. }
  1699. }
  1700. }
  1701. }
  1702. #endif
  1703. }
  1704. /// <summary>
  1705. ///地面测量反馈消息
  1706. /// </summary>
  1707. public sealed partial class Ground_detect_response_msg : pb::IMessage<Ground_detect_response_msg>
  1708. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1709. , pb::IBufferMessage
  1710. #endif
  1711. {
  1712. private static readonly pb::MessageParser<Ground_detect_response_msg> _parser = new pb::MessageParser<Ground_detect_response_msg>(() => new Ground_detect_response_msg());
  1713. private pb::UnknownFieldSet _unknownFields;
  1714. private int _hasBits0;
  1715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1716. public static pb::MessageParser<Ground_detect_response_msg> Parser { get { return _parser; } }
  1717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1718. public static pbr::MessageDescriptor Descriptor {
  1719. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[4]; }
  1720. }
  1721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1722. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1723. get { return Descriptor; }
  1724. }
  1725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1726. public Ground_detect_response_msg() {
  1727. OnConstruction();
  1728. }
  1729. partial void OnConstruction();
  1730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1731. public Ground_detect_response_msg(Ground_detect_response_msg other) : this() {
  1732. _hasBits0 = other._hasBits0;
  1733. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  1734. commandKey_ = other.commandKey_;
  1735. terminalId_ = other.terminalId_;
  1736. locateInformation_ = other.locateInformation_ != null ? other.locateInformation_.Clone() : null;
  1737. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  1738. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1739. }
  1740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1741. public Ground_detect_response_msg Clone() {
  1742. return new Ground_detect_response_msg(this);
  1743. }
  1744. /// <summary>Field number for the "base_info" field.</summary>
  1745. public const int BaseInfoFieldNumber = 1;
  1746. private global::Message.Base_info baseInfo_;
  1747. /// <summary>
  1748. ///消息类型
  1749. /// </summary>
  1750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1751. public global::Message.Base_info BaseInfo {
  1752. get { return baseInfo_; }
  1753. set {
  1754. baseInfo_ = value;
  1755. }
  1756. }
  1757. /// <summary>Field number for the "command_key" field.</summary>
  1758. public const int CommandKeyFieldNumber = 2;
  1759. private readonly static string CommandKeyDefaultValue = "";
  1760. private string commandKey_;
  1761. /// <summary>
  1762. ///指令唯一标识符id
  1763. /// </summary>
  1764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1765. public string CommandKey {
  1766. get { return commandKey_ ?? CommandKeyDefaultValue; }
  1767. set {
  1768. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1769. }
  1770. }
  1771. /// <summary>Gets whether the "command_key" field is set</summary>
  1772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1773. public bool HasCommandKey {
  1774. get { return commandKey_ != null; }
  1775. }
  1776. /// <summary>Clears the value of the "command_key" field</summary>
  1777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1778. public void ClearCommandKey() {
  1779. commandKey_ = null;
  1780. }
  1781. /// <summary>Field number for the "terminal_id" field.</summary>
  1782. public const int TerminalIdFieldNumber = 3;
  1783. private readonly static int TerminalIdDefaultValue = 0;
  1784. private int terminalId_;
  1785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1786. public int TerminalId {
  1787. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  1788. set {
  1789. _hasBits0 |= 1;
  1790. terminalId_ = value;
  1791. }
  1792. }
  1793. /// <summary>Gets whether the "terminal_id" field is set</summary>
  1794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1795. public bool HasTerminalId {
  1796. get { return (_hasBits0 & 1) != 0; }
  1797. }
  1798. /// <summary>Clears the value of the "terminal_id" field</summary>
  1799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1800. public void ClearTerminalId() {
  1801. _hasBits0 &= ~1;
  1802. }
  1803. /// <summary>Field number for the "locate_information" field.</summary>
  1804. public const int LocateInformationFieldNumber = 4;
  1805. private global::Message.Locate_information locateInformation_;
  1806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1807. public global::Message.Locate_information LocateInformation {
  1808. get { return locateInformation_; }
  1809. set {
  1810. locateInformation_ = value;
  1811. }
  1812. }
  1813. /// <summary>Field number for the "error_manager" field.</summary>
  1814. public const int ErrorManagerFieldNumber = 5;
  1815. private global::Message.Error_manager errorManager_;
  1816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1817. public global::Message.Error_manager ErrorManager {
  1818. get { return errorManager_; }
  1819. set {
  1820. errorManager_ = value;
  1821. }
  1822. }
  1823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1824. public override bool Equals(object other) {
  1825. return Equals(other as Ground_detect_response_msg);
  1826. }
  1827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1828. public bool Equals(Ground_detect_response_msg other) {
  1829. if (ReferenceEquals(other, null)) {
  1830. return false;
  1831. }
  1832. if (ReferenceEquals(other, this)) {
  1833. return true;
  1834. }
  1835. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  1836. if (CommandKey != other.CommandKey) return false;
  1837. if (TerminalId != other.TerminalId) return false;
  1838. if (!object.Equals(LocateInformation, other.LocateInformation)) return false;
  1839. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  1840. return Equals(_unknownFields, other._unknownFields);
  1841. }
  1842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1843. public override int GetHashCode() {
  1844. int hash = 1;
  1845. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  1846. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  1847. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  1848. if (locateInformation_ != null) hash ^= LocateInformation.GetHashCode();
  1849. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  1850. if (_unknownFields != null) {
  1851. hash ^= _unknownFields.GetHashCode();
  1852. }
  1853. return hash;
  1854. }
  1855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1856. public override string ToString() {
  1857. return pb::JsonFormatter.ToDiagnosticString(this);
  1858. }
  1859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1860. public void WriteTo(pb::CodedOutputStream output) {
  1861. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1862. output.WriteRawMessage(this);
  1863. #else
  1864. if (baseInfo_ != null) {
  1865. output.WriteRawTag(10);
  1866. output.WriteMessage(BaseInfo);
  1867. }
  1868. if (HasCommandKey) {
  1869. output.WriteRawTag(18);
  1870. output.WriteString(CommandKey);
  1871. }
  1872. if (HasTerminalId) {
  1873. output.WriteRawTag(24);
  1874. output.WriteInt32(TerminalId);
  1875. }
  1876. if (locateInformation_ != null) {
  1877. output.WriteRawTag(34);
  1878. output.WriteMessage(LocateInformation);
  1879. }
  1880. if (errorManager_ != null) {
  1881. output.WriteRawTag(42);
  1882. output.WriteMessage(ErrorManager);
  1883. }
  1884. if (_unknownFields != null) {
  1885. _unknownFields.WriteTo(output);
  1886. }
  1887. #endif
  1888. }
  1889. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1891. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1892. if (baseInfo_ != null) {
  1893. output.WriteRawTag(10);
  1894. output.WriteMessage(BaseInfo);
  1895. }
  1896. if (HasCommandKey) {
  1897. output.WriteRawTag(18);
  1898. output.WriteString(CommandKey);
  1899. }
  1900. if (HasTerminalId) {
  1901. output.WriteRawTag(24);
  1902. output.WriteInt32(TerminalId);
  1903. }
  1904. if (locateInformation_ != null) {
  1905. output.WriteRawTag(34);
  1906. output.WriteMessage(LocateInformation);
  1907. }
  1908. if (errorManager_ != null) {
  1909. output.WriteRawTag(42);
  1910. output.WriteMessage(ErrorManager);
  1911. }
  1912. if (_unknownFields != null) {
  1913. _unknownFields.WriteTo(ref output);
  1914. }
  1915. }
  1916. #endif
  1917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1918. public int CalculateSize() {
  1919. int size = 0;
  1920. if (baseInfo_ != null) {
  1921. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  1922. }
  1923. if (HasCommandKey) {
  1924. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  1925. }
  1926. if (HasTerminalId) {
  1927. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  1928. }
  1929. if (locateInformation_ != null) {
  1930. size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocateInformation);
  1931. }
  1932. if (errorManager_ != null) {
  1933. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  1934. }
  1935. if (_unknownFields != null) {
  1936. size += _unknownFields.CalculateSize();
  1937. }
  1938. return size;
  1939. }
  1940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1941. public void MergeFrom(Ground_detect_response_msg other) {
  1942. if (other == null) {
  1943. return;
  1944. }
  1945. if (other.baseInfo_ != null) {
  1946. if (baseInfo_ == null) {
  1947. BaseInfo = new global::Message.Base_info();
  1948. }
  1949. BaseInfo.MergeFrom(other.BaseInfo);
  1950. }
  1951. if (other.HasCommandKey) {
  1952. CommandKey = other.CommandKey;
  1953. }
  1954. if (other.HasTerminalId) {
  1955. TerminalId = other.TerminalId;
  1956. }
  1957. if (other.locateInformation_ != null) {
  1958. if (locateInformation_ == null) {
  1959. LocateInformation = new global::Message.Locate_information();
  1960. }
  1961. LocateInformation.MergeFrom(other.LocateInformation);
  1962. }
  1963. if (other.errorManager_ != null) {
  1964. if (errorManager_ == null) {
  1965. ErrorManager = new global::Message.Error_manager();
  1966. }
  1967. ErrorManager.MergeFrom(other.ErrorManager);
  1968. }
  1969. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1970. }
  1971. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1972. public void MergeFrom(pb::CodedInputStream input) {
  1973. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1974. input.ReadRawMessage(this);
  1975. #else
  1976. uint tag;
  1977. while ((tag = input.ReadTag()) != 0) {
  1978. switch(tag) {
  1979. default:
  1980. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1981. break;
  1982. case 10: {
  1983. if (baseInfo_ == null) {
  1984. BaseInfo = new global::Message.Base_info();
  1985. }
  1986. input.ReadMessage(BaseInfo);
  1987. break;
  1988. }
  1989. case 18: {
  1990. CommandKey = input.ReadString();
  1991. break;
  1992. }
  1993. case 24: {
  1994. TerminalId = input.ReadInt32();
  1995. break;
  1996. }
  1997. case 34: {
  1998. if (locateInformation_ == null) {
  1999. LocateInformation = new global::Message.Locate_information();
  2000. }
  2001. input.ReadMessage(LocateInformation);
  2002. break;
  2003. }
  2004. case 42: {
  2005. if (errorManager_ == null) {
  2006. ErrorManager = new global::Message.Error_manager();
  2007. }
  2008. input.ReadMessage(ErrorManager);
  2009. break;
  2010. }
  2011. }
  2012. }
  2013. #endif
  2014. }
  2015. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2017. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2018. uint tag;
  2019. while ((tag = input.ReadTag()) != 0) {
  2020. switch(tag) {
  2021. default:
  2022. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2023. break;
  2024. case 10: {
  2025. if (baseInfo_ == null) {
  2026. BaseInfo = new global::Message.Base_info();
  2027. }
  2028. input.ReadMessage(BaseInfo);
  2029. break;
  2030. }
  2031. case 18: {
  2032. CommandKey = input.ReadString();
  2033. break;
  2034. }
  2035. case 24: {
  2036. TerminalId = input.ReadInt32();
  2037. break;
  2038. }
  2039. case 34: {
  2040. if (locateInformation_ == null) {
  2041. LocateInformation = new global::Message.Locate_information();
  2042. }
  2043. input.ReadMessage(LocateInformation);
  2044. break;
  2045. }
  2046. case 42: {
  2047. if (errorManager_ == null) {
  2048. ErrorManager = new global::Message.Error_manager();
  2049. }
  2050. input.ReadMessage(ErrorManager);
  2051. break;
  2052. }
  2053. }
  2054. }
  2055. }
  2056. #endif
  2057. }
  2058. public sealed partial class Ground_status_msg : pb::IMessage<Ground_status_msg>
  2059. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2060. , pb::IBufferMessage
  2061. #endif
  2062. {
  2063. private static readonly pb::MessageParser<Ground_status_msg> _parser = new pb::MessageParser<Ground_status_msg>(() => new Ground_status_msg());
  2064. private pb::UnknownFieldSet _unknownFields;
  2065. private int _hasBits0;
  2066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2067. public static pb::MessageParser<Ground_status_msg> Parser { get { return _parser; } }
  2068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2069. public static pbr::MessageDescriptor Descriptor {
  2070. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[5]; }
  2071. }
  2072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2073. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2074. get { return Descriptor; }
  2075. }
  2076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2077. public Ground_status_msg() {
  2078. OnConstruction();
  2079. }
  2080. partial void OnConstruction();
  2081. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2082. public Ground_status_msg(Ground_status_msg other) : this() {
  2083. _hasBits0 = other._hasBits0;
  2084. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  2085. terminalId_ = other.terminalId_;
  2086. wanjiManagerStatus_ = other.wanjiManagerStatus_;
  2087. wanjiLidarDeviceStatus_ = other.wanjiLidarDeviceStatus_.Clone();
  2088. regionWorkerStatus_ = other.regionWorkerStatus_;
  2089. locateInformationRealtime_ = other.locateInformationRealtime_ != null ? other.locateInformationRealtime_.Clone() : null;
  2090. groundStatus_ = other.groundStatus_;
  2091. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  2092. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2093. }
  2094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2095. public Ground_status_msg Clone() {
  2096. return new Ground_status_msg(this);
  2097. }
  2098. /// <summary>Field number for the "base_info" field.</summary>
  2099. public const int BaseInfoFieldNumber = 1;
  2100. private global::Message.Base_info baseInfo_;
  2101. /// <summary>
  2102. ///消息类型
  2103. /// </summary>
  2104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2105. public global::Message.Base_info BaseInfo {
  2106. get { return baseInfo_; }
  2107. set {
  2108. baseInfo_ = value;
  2109. }
  2110. }
  2111. /// <summary>Field number for the "terminal_id" field.</summary>
  2112. public const int TerminalIdFieldNumber = 2;
  2113. private readonly static int TerminalIdDefaultValue = 0;
  2114. private int terminalId_;
  2115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2116. public int TerminalId {
  2117. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  2118. set {
  2119. _hasBits0 |= 1;
  2120. terminalId_ = value;
  2121. }
  2122. }
  2123. /// <summary>Gets whether the "terminal_id" field is set</summary>
  2124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2125. public bool HasTerminalId {
  2126. get { return (_hasBits0 & 1) != 0; }
  2127. }
  2128. /// <summary>Clears the value of the "terminal_id" field</summary>
  2129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2130. public void ClearTerminalId() {
  2131. _hasBits0 &= ~1;
  2132. }
  2133. /// <summary>Field number for the "wanji_manager_status" field.</summary>
  2134. public const int WanjiManagerStatusFieldNumber = 3;
  2135. private readonly static global::Message.Wanji_manager_status WanjiManagerStatusDefaultValue = global::Message.Wanji_manager_status.WanjiManagerUnknown;
  2136. private global::Message.Wanji_manager_status wanjiManagerStatus_;
  2137. /// <summary>
  2138. ///万集管理状态
  2139. /// </summary>
  2140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2141. public global::Message.Wanji_manager_status WanjiManagerStatus {
  2142. get { if ((_hasBits0 & 2) != 0) { return wanjiManagerStatus_; } else { return WanjiManagerStatusDefaultValue; } }
  2143. set {
  2144. _hasBits0 |= 2;
  2145. wanjiManagerStatus_ = value;
  2146. }
  2147. }
  2148. /// <summary>Gets whether the "wanji_manager_status" field is set</summary>
  2149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2150. public bool HasWanjiManagerStatus {
  2151. get { return (_hasBits0 & 2) != 0; }
  2152. }
  2153. /// <summary>Clears the value of the "wanji_manager_status" field</summary>
  2154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2155. public void ClearWanjiManagerStatus() {
  2156. _hasBits0 &= ~2;
  2157. }
  2158. /// <summary>Field number for the "wanji_lidar_device_status" field.</summary>
  2159. public const int WanjiLidarDeviceStatusFieldNumber = 4;
  2160. private static readonly pb::FieldCodec<global::Message.Wanji_lidar_device_status> _repeated_wanjiLidarDeviceStatus_codec
  2161. = pb::FieldCodec.ForEnum(32, x => (int) x, x => (global::Message.Wanji_lidar_device_status) x);
  2162. private readonly pbc::RepeatedField<global::Message.Wanji_lidar_device_status> wanjiLidarDeviceStatus_ = new pbc::RepeatedField<global::Message.Wanji_lidar_device_status>();
  2163. /// <summary>
  2164. ///万集设备身状态
  2165. /// </summary>
  2166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2167. public pbc::RepeatedField<global::Message.Wanji_lidar_device_status> WanjiLidarDeviceStatus {
  2168. get { return wanjiLidarDeviceStatus_; }
  2169. }
  2170. /// <summary>Field number for the "region_worker_status" field.</summary>
  2171. public const int RegionWorkerStatusFieldNumber = 5;
  2172. private readonly static global::Message.Region_worker_status RegionWorkerStatusDefaultValue = global::Message.Region_worker_status.RegionWorkerUnknown;
  2173. private global::Message.Region_worker_status regionWorkerStatus_;
  2174. /// <summary>
  2175. ///万集区域功能的状态
  2176. /// </summary>
  2177. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2178. public global::Message.Region_worker_status RegionWorkerStatus {
  2179. get { if ((_hasBits0 & 4) != 0) { return regionWorkerStatus_; } else { return RegionWorkerStatusDefaultValue; } }
  2180. set {
  2181. _hasBits0 |= 4;
  2182. regionWorkerStatus_ = value;
  2183. }
  2184. }
  2185. /// <summary>Gets whether the "region_worker_status" field is set</summary>
  2186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2187. public bool HasRegionWorkerStatus {
  2188. get { return (_hasBits0 & 4) != 0; }
  2189. }
  2190. /// <summary>Clears the value of the "region_worker_status" field</summary>
  2191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2192. public void ClearRegionWorkerStatus() {
  2193. _hasBits0 &= ~4;
  2194. }
  2195. /// <summary>Field number for the "locate_information_realtime" field.</summary>
  2196. public const int LocateInformationRealtimeFieldNumber = 6;
  2197. private global::Message.Locate_information locateInformationRealtime_;
  2198. /// <summary>
  2199. ///地面雷达的 实时定位信息
  2200. /// </summary>
  2201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2202. public global::Message.Locate_information LocateInformationRealtime {
  2203. get { return locateInformationRealtime_; }
  2204. set {
  2205. locateInformationRealtime_ = value;
  2206. }
  2207. }
  2208. /// <summary>Field number for the "ground_status" field.</summary>
  2209. public const int GroundStatusFieldNumber = 7;
  2210. private readonly static global::Message.Ground_statu GroundStatusDefaultValue = global::Message.Ground_statu.Nothing;
  2211. private global::Message.Ground_statu groundStatus_;
  2212. /// <summary>
  2213. /// 电子围栏状态
  2214. /// </summary>
  2215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2216. public global::Message.Ground_statu GroundStatus {
  2217. get { if ((_hasBits0 & 8) != 0) { return groundStatus_; } else { return GroundStatusDefaultValue; } }
  2218. set {
  2219. _hasBits0 |= 8;
  2220. groundStatus_ = value;
  2221. }
  2222. }
  2223. /// <summary>Gets whether the "ground_status" field is set</summary>
  2224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2225. public bool HasGroundStatus {
  2226. get { return (_hasBits0 & 8) != 0; }
  2227. }
  2228. /// <summary>Clears the value of the "ground_status" field</summary>
  2229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2230. public void ClearGroundStatus() {
  2231. _hasBits0 &= ~8;
  2232. }
  2233. /// <summary>Field number for the "error_manager" field.</summary>
  2234. public const int ErrorManagerFieldNumber = 8;
  2235. private global::Message.Error_manager errorManager_;
  2236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2237. public global::Message.Error_manager ErrorManager {
  2238. get { return errorManager_; }
  2239. set {
  2240. errorManager_ = value;
  2241. }
  2242. }
  2243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2244. public override bool Equals(object other) {
  2245. return Equals(other as Ground_status_msg);
  2246. }
  2247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2248. public bool Equals(Ground_status_msg other) {
  2249. if (ReferenceEquals(other, null)) {
  2250. return false;
  2251. }
  2252. if (ReferenceEquals(other, this)) {
  2253. return true;
  2254. }
  2255. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  2256. if (TerminalId != other.TerminalId) return false;
  2257. if (WanjiManagerStatus != other.WanjiManagerStatus) return false;
  2258. if(!wanjiLidarDeviceStatus_.Equals(other.wanjiLidarDeviceStatus_)) return false;
  2259. if (RegionWorkerStatus != other.RegionWorkerStatus) return false;
  2260. if (!object.Equals(LocateInformationRealtime, other.LocateInformationRealtime)) return false;
  2261. if (GroundStatus != other.GroundStatus) return false;
  2262. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  2263. return Equals(_unknownFields, other._unknownFields);
  2264. }
  2265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2266. public override int GetHashCode() {
  2267. int hash = 1;
  2268. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  2269. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  2270. if (HasWanjiManagerStatus) hash ^= WanjiManagerStatus.GetHashCode();
  2271. hash ^= wanjiLidarDeviceStatus_.GetHashCode();
  2272. if (HasRegionWorkerStatus) hash ^= RegionWorkerStatus.GetHashCode();
  2273. if (locateInformationRealtime_ != null) hash ^= LocateInformationRealtime.GetHashCode();
  2274. if (HasGroundStatus) hash ^= GroundStatus.GetHashCode();
  2275. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  2276. if (_unknownFields != null) {
  2277. hash ^= _unknownFields.GetHashCode();
  2278. }
  2279. return hash;
  2280. }
  2281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2282. public override string ToString() {
  2283. return pb::JsonFormatter.ToDiagnosticString(this);
  2284. }
  2285. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2286. public void WriteTo(pb::CodedOutputStream output) {
  2287. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2288. output.WriteRawMessage(this);
  2289. #else
  2290. if (baseInfo_ != null) {
  2291. output.WriteRawTag(10);
  2292. output.WriteMessage(BaseInfo);
  2293. }
  2294. if (HasTerminalId) {
  2295. output.WriteRawTag(16);
  2296. output.WriteInt32(TerminalId);
  2297. }
  2298. if (HasWanjiManagerStatus) {
  2299. output.WriteRawTag(24);
  2300. output.WriteEnum((int) WanjiManagerStatus);
  2301. }
  2302. wanjiLidarDeviceStatus_.WriteTo(output, _repeated_wanjiLidarDeviceStatus_codec);
  2303. if (HasRegionWorkerStatus) {
  2304. output.WriteRawTag(40);
  2305. output.WriteEnum((int) RegionWorkerStatus);
  2306. }
  2307. if (locateInformationRealtime_ != null) {
  2308. output.WriteRawTag(50);
  2309. output.WriteMessage(LocateInformationRealtime);
  2310. }
  2311. if (HasGroundStatus) {
  2312. output.WriteRawTag(56);
  2313. output.WriteEnum((int) GroundStatus);
  2314. }
  2315. if (errorManager_ != null) {
  2316. output.WriteRawTag(66);
  2317. output.WriteMessage(ErrorManager);
  2318. }
  2319. if (_unknownFields != null) {
  2320. _unknownFields.WriteTo(output);
  2321. }
  2322. #endif
  2323. }
  2324. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2326. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2327. if (baseInfo_ != null) {
  2328. output.WriteRawTag(10);
  2329. output.WriteMessage(BaseInfo);
  2330. }
  2331. if (HasTerminalId) {
  2332. output.WriteRawTag(16);
  2333. output.WriteInt32(TerminalId);
  2334. }
  2335. if (HasWanjiManagerStatus) {
  2336. output.WriteRawTag(24);
  2337. output.WriteEnum((int) WanjiManagerStatus);
  2338. }
  2339. wanjiLidarDeviceStatus_.WriteTo(ref output, _repeated_wanjiLidarDeviceStatus_codec);
  2340. if (HasRegionWorkerStatus) {
  2341. output.WriteRawTag(40);
  2342. output.WriteEnum((int) RegionWorkerStatus);
  2343. }
  2344. if (locateInformationRealtime_ != null) {
  2345. output.WriteRawTag(50);
  2346. output.WriteMessage(LocateInformationRealtime);
  2347. }
  2348. if (HasGroundStatus) {
  2349. output.WriteRawTag(56);
  2350. output.WriteEnum((int) GroundStatus);
  2351. }
  2352. if (errorManager_ != null) {
  2353. output.WriteRawTag(66);
  2354. output.WriteMessage(ErrorManager);
  2355. }
  2356. if (_unknownFields != null) {
  2357. _unknownFields.WriteTo(ref output);
  2358. }
  2359. }
  2360. #endif
  2361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2362. public int CalculateSize() {
  2363. int size = 0;
  2364. if (baseInfo_ != null) {
  2365. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  2366. }
  2367. if (HasTerminalId) {
  2368. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  2369. }
  2370. if (HasWanjiManagerStatus) {
  2371. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WanjiManagerStatus);
  2372. }
  2373. size += wanjiLidarDeviceStatus_.CalculateSize(_repeated_wanjiLidarDeviceStatus_codec);
  2374. if (HasRegionWorkerStatus) {
  2375. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RegionWorkerStatus);
  2376. }
  2377. if (locateInformationRealtime_ != null) {
  2378. size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocateInformationRealtime);
  2379. }
  2380. if (HasGroundStatus) {
  2381. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GroundStatus);
  2382. }
  2383. if (errorManager_ != null) {
  2384. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  2385. }
  2386. if (_unknownFields != null) {
  2387. size += _unknownFields.CalculateSize();
  2388. }
  2389. return size;
  2390. }
  2391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2392. public void MergeFrom(Ground_status_msg other) {
  2393. if (other == null) {
  2394. return;
  2395. }
  2396. if (other.baseInfo_ != null) {
  2397. if (baseInfo_ == null) {
  2398. BaseInfo = new global::Message.Base_info();
  2399. }
  2400. BaseInfo.MergeFrom(other.BaseInfo);
  2401. }
  2402. if (other.HasTerminalId) {
  2403. TerminalId = other.TerminalId;
  2404. }
  2405. if (other.HasWanjiManagerStatus) {
  2406. WanjiManagerStatus = other.WanjiManagerStatus;
  2407. }
  2408. wanjiLidarDeviceStatus_.Add(other.wanjiLidarDeviceStatus_);
  2409. if (other.HasRegionWorkerStatus) {
  2410. RegionWorkerStatus = other.RegionWorkerStatus;
  2411. }
  2412. if (other.locateInformationRealtime_ != null) {
  2413. if (locateInformationRealtime_ == null) {
  2414. LocateInformationRealtime = new global::Message.Locate_information();
  2415. }
  2416. LocateInformationRealtime.MergeFrom(other.LocateInformationRealtime);
  2417. }
  2418. if (other.HasGroundStatus) {
  2419. GroundStatus = other.GroundStatus;
  2420. }
  2421. if (other.errorManager_ != null) {
  2422. if (errorManager_ == null) {
  2423. ErrorManager = new global::Message.Error_manager();
  2424. }
  2425. ErrorManager.MergeFrom(other.ErrorManager);
  2426. }
  2427. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2428. }
  2429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2430. public void MergeFrom(pb::CodedInputStream input) {
  2431. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2432. input.ReadRawMessage(this);
  2433. #else
  2434. uint tag;
  2435. while ((tag = input.ReadTag()) != 0) {
  2436. switch(tag) {
  2437. default:
  2438. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2439. break;
  2440. case 10: {
  2441. if (baseInfo_ == null) {
  2442. BaseInfo = new global::Message.Base_info();
  2443. }
  2444. input.ReadMessage(BaseInfo);
  2445. break;
  2446. }
  2447. case 16: {
  2448. TerminalId = input.ReadInt32();
  2449. break;
  2450. }
  2451. case 24: {
  2452. WanjiManagerStatus = (global::Message.Wanji_manager_status) input.ReadEnum();
  2453. break;
  2454. }
  2455. case 34:
  2456. case 32: {
  2457. wanjiLidarDeviceStatus_.AddEntriesFrom(input, _repeated_wanjiLidarDeviceStatus_codec);
  2458. break;
  2459. }
  2460. case 40: {
  2461. RegionWorkerStatus = (global::Message.Region_worker_status) input.ReadEnum();
  2462. break;
  2463. }
  2464. case 50: {
  2465. if (locateInformationRealtime_ == null) {
  2466. LocateInformationRealtime = new global::Message.Locate_information();
  2467. }
  2468. input.ReadMessage(LocateInformationRealtime);
  2469. break;
  2470. }
  2471. case 56: {
  2472. GroundStatus = (global::Message.Ground_statu) input.ReadEnum();
  2473. break;
  2474. }
  2475. case 66: {
  2476. if (errorManager_ == null) {
  2477. ErrorManager = new global::Message.Error_manager();
  2478. }
  2479. input.ReadMessage(ErrorManager);
  2480. break;
  2481. }
  2482. }
  2483. }
  2484. #endif
  2485. }
  2486. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2488. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2489. uint tag;
  2490. while ((tag = input.ReadTag()) != 0) {
  2491. switch(tag) {
  2492. default:
  2493. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2494. break;
  2495. case 10: {
  2496. if (baseInfo_ == null) {
  2497. BaseInfo = new global::Message.Base_info();
  2498. }
  2499. input.ReadMessage(BaseInfo);
  2500. break;
  2501. }
  2502. case 16: {
  2503. TerminalId = input.ReadInt32();
  2504. break;
  2505. }
  2506. case 24: {
  2507. WanjiManagerStatus = (global::Message.Wanji_manager_status) input.ReadEnum();
  2508. break;
  2509. }
  2510. case 34:
  2511. case 32: {
  2512. wanjiLidarDeviceStatus_.AddEntriesFrom(ref input, _repeated_wanjiLidarDeviceStatus_codec);
  2513. break;
  2514. }
  2515. case 40: {
  2516. RegionWorkerStatus = (global::Message.Region_worker_status) input.ReadEnum();
  2517. break;
  2518. }
  2519. case 50: {
  2520. if (locateInformationRealtime_ == null) {
  2521. LocateInformationRealtime = new global::Message.Locate_information();
  2522. }
  2523. input.ReadMessage(LocateInformationRealtime);
  2524. break;
  2525. }
  2526. case 56: {
  2527. GroundStatus = (global::Message.Ground_statu) input.ReadEnum();
  2528. break;
  2529. }
  2530. case 66: {
  2531. if (errorManager_ == null) {
  2532. ErrorManager = new global::Message.Error_manager();
  2533. }
  2534. input.ReadMessage(ErrorManager);
  2535. break;
  2536. }
  2537. }
  2538. }
  2539. }
  2540. #endif
  2541. }
  2542. /// <summary>
  2543. ///点云坐标
  2544. /// </summary>
  2545. public sealed partial class Cloud_coordinate : pb::IMessage<Cloud_coordinate>
  2546. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2547. , pb::IBufferMessage
  2548. #endif
  2549. {
  2550. private static readonly pb::MessageParser<Cloud_coordinate> _parser = new pb::MessageParser<Cloud_coordinate>(() => new Cloud_coordinate());
  2551. private pb::UnknownFieldSet _unknownFields;
  2552. private int _hasBits0;
  2553. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2554. public static pb::MessageParser<Cloud_coordinate> Parser { get { return _parser; } }
  2555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2556. public static pbr::MessageDescriptor Descriptor {
  2557. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[6]; }
  2558. }
  2559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2560. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2561. get { return Descriptor; }
  2562. }
  2563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2564. public Cloud_coordinate() {
  2565. OnConstruction();
  2566. }
  2567. partial void OnConstruction();
  2568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2569. public Cloud_coordinate(Cloud_coordinate other) : this() {
  2570. _hasBits0 = other._hasBits0;
  2571. x_ = other.x_;
  2572. y_ = other.y_;
  2573. z_ = other.z_;
  2574. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2575. }
  2576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2577. public Cloud_coordinate Clone() {
  2578. return new Cloud_coordinate(this);
  2579. }
  2580. /// <summary>Field number for the "x" field.</summary>
  2581. public const int XFieldNumber = 1;
  2582. private readonly static float XDefaultValue = 0F;
  2583. private float x_;
  2584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2585. public float X {
  2586. get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } }
  2587. set {
  2588. _hasBits0 |= 1;
  2589. x_ = value;
  2590. }
  2591. }
  2592. /// <summary>Gets whether the "x" field is set</summary>
  2593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2594. public bool HasX {
  2595. get { return (_hasBits0 & 1) != 0; }
  2596. }
  2597. /// <summary>Clears the value of the "x" field</summary>
  2598. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2599. public void ClearX() {
  2600. _hasBits0 &= ~1;
  2601. }
  2602. /// <summary>Field number for the "y" field.</summary>
  2603. public const int YFieldNumber = 2;
  2604. private readonly static float YDefaultValue = 0F;
  2605. private float y_;
  2606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2607. public float Y {
  2608. get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } }
  2609. set {
  2610. _hasBits0 |= 2;
  2611. y_ = value;
  2612. }
  2613. }
  2614. /// <summary>Gets whether the "y" field is set</summary>
  2615. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2616. public bool HasY {
  2617. get { return (_hasBits0 & 2) != 0; }
  2618. }
  2619. /// <summary>Clears the value of the "y" field</summary>
  2620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2621. public void ClearY() {
  2622. _hasBits0 &= ~2;
  2623. }
  2624. /// <summary>Field number for the "z" field.</summary>
  2625. public const int ZFieldNumber = 3;
  2626. private readonly static float ZDefaultValue = 0F;
  2627. private float z_;
  2628. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2629. public float Z {
  2630. get { if ((_hasBits0 & 4) != 0) { return z_; } else { return ZDefaultValue; } }
  2631. set {
  2632. _hasBits0 |= 4;
  2633. z_ = value;
  2634. }
  2635. }
  2636. /// <summary>Gets whether the "z" field is set</summary>
  2637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2638. public bool HasZ {
  2639. get { return (_hasBits0 & 4) != 0; }
  2640. }
  2641. /// <summary>Clears the value of the "z" field</summary>
  2642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2643. public void ClearZ() {
  2644. _hasBits0 &= ~4;
  2645. }
  2646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2647. public override bool Equals(object other) {
  2648. return Equals(other as Cloud_coordinate);
  2649. }
  2650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2651. public bool Equals(Cloud_coordinate other) {
  2652. if (ReferenceEquals(other, null)) {
  2653. return false;
  2654. }
  2655. if (ReferenceEquals(other, this)) {
  2656. return true;
  2657. }
  2658. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
  2659. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
  2660. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
  2661. return Equals(_unknownFields, other._unknownFields);
  2662. }
  2663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2664. public override int GetHashCode() {
  2665. int hash = 1;
  2666. if (HasX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
  2667. if (HasY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
  2668. if (HasZ) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
  2669. if (_unknownFields != null) {
  2670. hash ^= _unknownFields.GetHashCode();
  2671. }
  2672. return hash;
  2673. }
  2674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2675. public override string ToString() {
  2676. return pb::JsonFormatter.ToDiagnosticString(this);
  2677. }
  2678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2679. public void WriteTo(pb::CodedOutputStream output) {
  2680. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2681. output.WriteRawMessage(this);
  2682. #else
  2683. if (HasX) {
  2684. output.WriteRawTag(13);
  2685. output.WriteFloat(X);
  2686. }
  2687. if (HasY) {
  2688. output.WriteRawTag(21);
  2689. output.WriteFloat(Y);
  2690. }
  2691. if (HasZ) {
  2692. output.WriteRawTag(29);
  2693. output.WriteFloat(Z);
  2694. }
  2695. if (_unknownFields != null) {
  2696. _unknownFields.WriteTo(output);
  2697. }
  2698. #endif
  2699. }
  2700. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2702. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2703. if (HasX) {
  2704. output.WriteRawTag(13);
  2705. output.WriteFloat(X);
  2706. }
  2707. if (HasY) {
  2708. output.WriteRawTag(21);
  2709. output.WriteFloat(Y);
  2710. }
  2711. if (HasZ) {
  2712. output.WriteRawTag(29);
  2713. output.WriteFloat(Z);
  2714. }
  2715. if (_unknownFields != null) {
  2716. _unknownFields.WriteTo(ref output);
  2717. }
  2718. }
  2719. #endif
  2720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2721. public int CalculateSize() {
  2722. int size = 0;
  2723. if (HasX) {
  2724. size += 1 + 4;
  2725. }
  2726. if (HasY) {
  2727. size += 1 + 4;
  2728. }
  2729. if (HasZ) {
  2730. size += 1 + 4;
  2731. }
  2732. if (_unknownFields != null) {
  2733. size += _unknownFields.CalculateSize();
  2734. }
  2735. return size;
  2736. }
  2737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2738. public void MergeFrom(Cloud_coordinate other) {
  2739. if (other == null) {
  2740. return;
  2741. }
  2742. if (other.HasX) {
  2743. X = other.X;
  2744. }
  2745. if (other.HasY) {
  2746. Y = other.Y;
  2747. }
  2748. if (other.HasZ) {
  2749. Z = other.Z;
  2750. }
  2751. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2752. }
  2753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2754. public void MergeFrom(pb::CodedInputStream input) {
  2755. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2756. input.ReadRawMessage(this);
  2757. #else
  2758. uint tag;
  2759. while ((tag = input.ReadTag()) != 0) {
  2760. switch(tag) {
  2761. default:
  2762. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2763. break;
  2764. case 13: {
  2765. X = input.ReadFloat();
  2766. break;
  2767. }
  2768. case 21: {
  2769. Y = input.ReadFloat();
  2770. break;
  2771. }
  2772. case 29: {
  2773. Z = input.ReadFloat();
  2774. break;
  2775. }
  2776. }
  2777. }
  2778. #endif
  2779. }
  2780. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2782. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2783. uint tag;
  2784. while ((tag = input.ReadTag()) != 0) {
  2785. switch(tag) {
  2786. default:
  2787. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2788. break;
  2789. case 13: {
  2790. X = input.ReadFloat();
  2791. break;
  2792. }
  2793. case 21: {
  2794. Y = input.ReadFloat();
  2795. break;
  2796. }
  2797. case 29: {
  2798. Z = input.ReadFloat();
  2799. break;
  2800. }
  2801. }
  2802. }
  2803. }
  2804. #endif
  2805. }
  2806. /// <summary>
  2807. ///点云类型
  2808. /// </summary>
  2809. public sealed partial class Cloud_type : pb::IMessage<Cloud_type>
  2810. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2811. , pb::IBufferMessage
  2812. #endif
  2813. {
  2814. private static readonly pb::MessageParser<Cloud_type> _parser = new pb::MessageParser<Cloud_type>(() => new Cloud_type());
  2815. private pb::UnknownFieldSet _unknownFields;
  2816. private int _hasBits0;
  2817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2818. public static pb::MessageParser<Cloud_type> Parser { get { return _parser; } }
  2819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2820. public static pbr::MessageDescriptor Descriptor {
  2821. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[7]; }
  2822. }
  2823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2824. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2825. get { return Descriptor; }
  2826. }
  2827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2828. public Cloud_type() {
  2829. OnConstruction();
  2830. }
  2831. partial void OnConstruction();
  2832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2833. public Cloud_type(Cloud_type other) : this() {
  2834. _hasBits0 = other._hasBits0;
  2835. type_ = other.type_;
  2836. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2837. }
  2838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2839. public Cloud_type Clone() {
  2840. return new Cloud_type(this);
  2841. }
  2842. /// <summary>Field number for the "type" field.</summary>
  2843. public const int TypeFieldNumber = 1;
  2844. private readonly static int TypeDefaultValue = 0;
  2845. private int type_;
  2846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2847. public int Type {
  2848. get { if ((_hasBits0 & 1) != 0) { return type_; } else { return TypeDefaultValue; } }
  2849. set {
  2850. _hasBits0 |= 1;
  2851. type_ = value;
  2852. }
  2853. }
  2854. /// <summary>Gets whether the "type" field is set</summary>
  2855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2856. public bool HasType {
  2857. get { return (_hasBits0 & 1) != 0; }
  2858. }
  2859. /// <summary>Clears the value of the "type" field</summary>
  2860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2861. public void ClearType() {
  2862. _hasBits0 &= ~1;
  2863. }
  2864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2865. public override bool Equals(object other) {
  2866. return Equals(other as Cloud_type);
  2867. }
  2868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2869. public bool Equals(Cloud_type other) {
  2870. if (ReferenceEquals(other, null)) {
  2871. return false;
  2872. }
  2873. if (ReferenceEquals(other, this)) {
  2874. return true;
  2875. }
  2876. if (Type != other.Type) return false;
  2877. return Equals(_unknownFields, other._unknownFields);
  2878. }
  2879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2880. public override int GetHashCode() {
  2881. int hash = 1;
  2882. if (HasType) hash ^= Type.GetHashCode();
  2883. if (_unknownFields != null) {
  2884. hash ^= _unknownFields.GetHashCode();
  2885. }
  2886. return hash;
  2887. }
  2888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2889. public override string ToString() {
  2890. return pb::JsonFormatter.ToDiagnosticString(this);
  2891. }
  2892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2893. public void WriteTo(pb::CodedOutputStream output) {
  2894. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2895. output.WriteRawMessage(this);
  2896. #else
  2897. if (HasType) {
  2898. output.WriteRawTag(8);
  2899. output.WriteInt32(Type);
  2900. }
  2901. if (_unknownFields != null) {
  2902. _unknownFields.WriteTo(output);
  2903. }
  2904. #endif
  2905. }
  2906. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2908. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2909. if (HasType) {
  2910. output.WriteRawTag(8);
  2911. output.WriteInt32(Type);
  2912. }
  2913. if (_unknownFields != null) {
  2914. _unknownFields.WriteTo(ref output);
  2915. }
  2916. }
  2917. #endif
  2918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2919. public int CalculateSize() {
  2920. int size = 0;
  2921. if (HasType) {
  2922. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
  2923. }
  2924. if (_unknownFields != null) {
  2925. size += _unknownFields.CalculateSize();
  2926. }
  2927. return size;
  2928. }
  2929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2930. public void MergeFrom(Cloud_type other) {
  2931. if (other == null) {
  2932. return;
  2933. }
  2934. if (other.HasType) {
  2935. Type = other.Type;
  2936. }
  2937. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2938. }
  2939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2940. public void MergeFrom(pb::CodedInputStream input) {
  2941. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2942. input.ReadRawMessage(this);
  2943. #else
  2944. uint tag;
  2945. while ((tag = input.ReadTag()) != 0) {
  2946. switch(tag) {
  2947. default:
  2948. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2949. break;
  2950. case 8: {
  2951. Type = input.ReadInt32();
  2952. break;
  2953. }
  2954. }
  2955. }
  2956. #endif
  2957. }
  2958. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2959. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2960. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2961. uint tag;
  2962. while ((tag = input.ReadTag()) != 0) {
  2963. switch(tag) {
  2964. default:
  2965. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2966. break;
  2967. case 8: {
  2968. Type = input.ReadInt32();
  2969. break;
  2970. }
  2971. }
  2972. }
  2973. }
  2974. #endif
  2975. }
  2976. /// <summary>
  2977. ///筛选点云; 请求消息
  2978. /// </summary>
  2979. public sealed partial class Locate_sift_request_msg : pb::IMessage<Locate_sift_request_msg>
  2980. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2981. , pb::IBufferMessage
  2982. #endif
  2983. {
  2984. private static readonly pb::MessageParser<Locate_sift_request_msg> _parser = new pb::MessageParser<Locate_sift_request_msg>(() => new Locate_sift_request_msg());
  2985. private pb::UnknownFieldSet _unknownFields;
  2986. private int _hasBits0;
  2987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2988. public static pb::MessageParser<Locate_sift_request_msg> Parser { get { return _parser; } }
  2989. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2990. public static pbr::MessageDescriptor Descriptor {
  2991. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[8]; }
  2992. }
  2993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2994. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2995. get { return Descriptor; }
  2996. }
  2997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2998. public Locate_sift_request_msg() {
  2999. OnConstruction();
  3000. }
  3001. partial void OnConstruction();
  3002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3003. public Locate_sift_request_msg(Locate_sift_request_msg other) : this() {
  3004. _hasBits0 = other._hasBits0;
  3005. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3006. commandKey_ = other.commandKey_;
  3007. terminalId_ = other.terminalId_;
  3008. lidarId_ = other.lidarId_;
  3009. cloudCoordinates_ = other.cloudCoordinates_.Clone();
  3010. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3011. }
  3012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3013. public Locate_sift_request_msg Clone() {
  3014. return new Locate_sift_request_msg(this);
  3015. }
  3016. /// <summary>Field number for the "base_info" field.</summary>
  3017. public const int BaseInfoFieldNumber = 1;
  3018. private global::Message.Base_info baseInfo_;
  3019. /// <summary>
  3020. ///消息类型
  3021. /// </summary>
  3022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3023. public global::Message.Base_info BaseInfo {
  3024. get { return baseInfo_; }
  3025. set {
  3026. baseInfo_ = value;
  3027. }
  3028. }
  3029. /// <summary>Field number for the "command_key" field.</summary>
  3030. public const int CommandKeyFieldNumber = 2;
  3031. private readonly static string CommandKeyDefaultValue = "";
  3032. private string commandKey_;
  3033. /// <summary>
  3034. ///指令唯一标识符id
  3035. /// </summary>
  3036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3037. public string CommandKey {
  3038. get { return commandKey_ ?? CommandKeyDefaultValue; }
  3039. set {
  3040. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3041. }
  3042. }
  3043. /// <summary>Gets whether the "command_key" field is set</summary>
  3044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3045. public bool HasCommandKey {
  3046. get { return commandKey_ != null; }
  3047. }
  3048. /// <summary>Clears the value of the "command_key" field</summary>
  3049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3050. public void ClearCommandKey() {
  3051. commandKey_ = null;
  3052. }
  3053. /// <summary>Field number for the "terminal_id" field.</summary>
  3054. public const int TerminalIdFieldNumber = 3;
  3055. private readonly static int TerminalIdDefaultValue = 0;
  3056. private int terminalId_;
  3057. /// <summary>
  3058. ///终端id
  3059. /// </summary>
  3060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3061. public int TerminalId {
  3062. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  3063. set {
  3064. _hasBits0 |= 1;
  3065. terminalId_ = value;
  3066. }
  3067. }
  3068. /// <summary>Gets whether the "terminal_id" field is set</summary>
  3069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3070. public bool HasTerminalId {
  3071. get { return (_hasBits0 & 1) != 0; }
  3072. }
  3073. /// <summary>Clears the value of the "terminal_id" field</summary>
  3074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3075. public void ClearTerminalId() {
  3076. _hasBits0 &= ~1;
  3077. }
  3078. /// <summary>Field number for the "lidar_id" field.</summary>
  3079. public const int LidarIdFieldNumber = 4;
  3080. private readonly static int LidarIdDefaultValue = 0;
  3081. private int lidarId_;
  3082. /// <summary>
  3083. ///雷达id
  3084. /// </summary>
  3085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3086. public int LidarId {
  3087. get { if ((_hasBits0 & 2) != 0) { return lidarId_; } else { return LidarIdDefaultValue; } }
  3088. set {
  3089. _hasBits0 |= 2;
  3090. lidarId_ = value;
  3091. }
  3092. }
  3093. /// <summary>Gets whether the "lidar_id" field is set</summary>
  3094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3095. public bool HasLidarId {
  3096. get { return (_hasBits0 & 2) != 0; }
  3097. }
  3098. /// <summary>Clears the value of the "lidar_id" field</summary>
  3099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3100. public void ClearLidarId() {
  3101. _hasBits0 &= ~2;
  3102. }
  3103. /// <summary>Field number for the "cloud_coordinates" field.</summary>
  3104. public const int CloudCoordinatesFieldNumber = 5;
  3105. private static readonly pb::FieldCodec<global::Message.Cloud_coordinate> _repeated_cloudCoordinates_codec
  3106. = pb::FieldCodec.ForMessage(42, global::Message.Cloud_coordinate.Parser);
  3107. private readonly pbc::RepeatedField<global::Message.Cloud_coordinate> cloudCoordinates_ = new pbc::RepeatedField<global::Message.Cloud_coordinate>();
  3108. /// <summary>
  3109. ///点云坐标
  3110. /// </summary>
  3111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3112. public pbc::RepeatedField<global::Message.Cloud_coordinate> CloudCoordinates {
  3113. get { return cloudCoordinates_; }
  3114. }
  3115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3116. public override bool Equals(object other) {
  3117. return Equals(other as Locate_sift_request_msg);
  3118. }
  3119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3120. public bool Equals(Locate_sift_request_msg other) {
  3121. if (ReferenceEquals(other, null)) {
  3122. return false;
  3123. }
  3124. if (ReferenceEquals(other, this)) {
  3125. return true;
  3126. }
  3127. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3128. if (CommandKey != other.CommandKey) return false;
  3129. if (TerminalId != other.TerminalId) return false;
  3130. if (LidarId != other.LidarId) return false;
  3131. if(!cloudCoordinates_.Equals(other.cloudCoordinates_)) return false;
  3132. return Equals(_unknownFields, other._unknownFields);
  3133. }
  3134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3135. public override int GetHashCode() {
  3136. int hash = 1;
  3137. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3138. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  3139. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  3140. if (HasLidarId) hash ^= LidarId.GetHashCode();
  3141. hash ^= cloudCoordinates_.GetHashCode();
  3142. if (_unknownFields != null) {
  3143. hash ^= _unknownFields.GetHashCode();
  3144. }
  3145. return hash;
  3146. }
  3147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3148. public override string ToString() {
  3149. return pb::JsonFormatter.ToDiagnosticString(this);
  3150. }
  3151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3152. public void WriteTo(pb::CodedOutputStream output) {
  3153. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3154. output.WriteRawMessage(this);
  3155. #else
  3156. if (baseInfo_ != null) {
  3157. output.WriteRawTag(10);
  3158. output.WriteMessage(BaseInfo);
  3159. }
  3160. if (HasCommandKey) {
  3161. output.WriteRawTag(18);
  3162. output.WriteString(CommandKey);
  3163. }
  3164. if (HasTerminalId) {
  3165. output.WriteRawTag(24);
  3166. output.WriteInt32(TerminalId);
  3167. }
  3168. if (HasLidarId) {
  3169. output.WriteRawTag(32);
  3170. output.WriteInt32(LidarId);
  3171. }
  3172. cloudCoordinates_.WriteTo(output, _repeated_cloudCoordinates_codec);
  3173. if (_unknownFields != null) {
  3174. _unknownFields.WriteTo(output);
  3175. }
  3176. #endif
  3177. }
  3178. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3180. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3181. if (baseInfo_ != null) {
  3182. output.WriteRawTag(10);
  3183. output.WriteMessage(BaseInfo);
  3184. }
  3185. if (HasCommandKey) {
  3186. output.WriteRawTag(18);
  3187. output.WriteString(CommandKey);
  3188. }
  3189. if (HasTerminalId) {
  3190. output.WriteRawTag(24);
  3191. output.WriteInt32(TerminalId);
  3192. }
  3193. if (HasLidarId) {
  3194. output.WriteRawTag(32);
  3195. output.WriteInt32(LidarId);
  3196. }
  3197. cloudCoordinates_.WriteTo(ref output, _repeated_cloudCoordinates_codec);
  3198. if (_unknownFields != null) {
  3199. _unknownFields.WriteTo(ref output);
  3200. }
  3201. }
  3202. #endif
  3203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3204. public int CalculateSize() {
  3205. int size = 0;
  3206. if (baseInfo_ != null) {
  3207. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3208. }
  3209. if (HasCommandKey) {
  3210. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  3211. }
  3212. if (HasTerminalId) {
  3213. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  3214. }
  3215. if (HasLidarId) {
  3216. size += 1 + pb::CodedOutputStream.ComputeInt32Size(LidarId);
  3217. }
  3218. size += cloudCoordinates_.CalculateSize(_repeated_cloudCoordinates_codec);
  3219. if (_unknownFields != null) {
  3220. size += _unknownFields.CalculateSize();
  3221. }
  3222. return size;
  3223. }
  3224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3225. public void MergeFrom(Locate_sift_request_msg other) {
  3226. if (other == null) {
  3227. return;
  3228. }
  3229. if (other.baseInfo_ != null) {
  3230. if (baseInfo_ == null) {
  3231. BaseInfo = new global::Message.Base_info();
  3232. }
  3233. BaseInfo.MergeFrom(other.BaseInfo);
  3234. }
  3235. if (other.HasCommandKey) {
  3236. CommandKey = other.CommandKey;
  3237. }
  3238. if (other.HasTerminalId) {
  3239. TerminalId = other.TerminalId;
  3240. }
  3241. if (other.HasLidarId) {
  3242. LidarId = other.LidarId;
  3243. }
  3244. cloudCoordinates_.Add(other.cloudCoordinates_);
  3245. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3246. }
  3247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3248. public void MergeFrom(pb::CodedInputStream input) {
  3249. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3250. input.ReadRawMessage(this);
  3251. #else
  3252. uint tag;
  3253. while ((tag = input.ReadTag()) != 0) {
  3254. switch(tag) {
  3255. default:
  3256. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3257. break;
  3258. case 10: {
  3259. if (baseInfo_ == null) {
  3260. BaseInfo = new global::Message.Base_info();
  3261. }
  3262. input.ReadMessage(BaseInfo);
  3263. break;
  3264. }
  3265. case 18: {
  3266. CommandKey = input.ReadString();
  3267. break;
  3268. }
  3269. case 24: {
  3270. TerminalId = input.ReadInt32();
  3271. break;
  3272. }
  3273. case 32: {
  3274. LidarId = input.ReadInt32();
  3275. break;
  3276. }
  3277. case 42: {
  3278. cloudCoordinates_.AddEntriesFrom(input, _repeated_cloudCoordinates_codec);
  3279. break;
  3280. }
  3281. }
  3282. }
  3283. #endif
  3284. }
  3285. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3287. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3288. uint tag;
  3289. while ((tag = input.ReadTag()) != 0) {
  3290. switch(tag) {
  3291. default:
  3292. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3293. break;
  3294. case 10: {
  3295. if (baseInfo_ == null) {
  3296. BaseInfo = new global::Message.Base_info();
  3297. }
  3298. input.ReadMessage(BaseInfo);
  3299. break;
  3300. }
  3301. case 18: {
  3302. CommandKey = input.ReadString();
  3303. break;
  3304. }
  3305. case 24: {
  3306. TerminalId = input.ReadInt32();
  3307. break;
  3308. }
  3309. case 32: {
  3310. LidarId = input.ReadInt32();
  3311. break;
  3312. }
  3313. case 42: {
  3314. cloudCoordinates_.AddEntriesFrom(ref input, _repeated_cloudCoordinates_codec);
  3315. break;
  3316. }
  3317. }
  3318. }
  3319. }
  3320. #endif
  3321. }
  3322. /// <summary>
  3323. ///筛选点云; 答复消息
  3324. /// </summary>
  3325. public sealed partial class Locate_sift_response_msg : pb::IMessage<Locate_sift_response_msg>
  3326. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3327. , pb::IBufferMessage
  3328. #endif
  3329. {
  3330. private static readonly pb::MessageParser<Locate_sift_response_msg> _parser = new pb::MessageParser<Locate_sift_response_msg>(() => new Locate_sift_response_msg());
  3331. private pb::UnknownFieldSet _unknownFields;
  3332. private int _hasBits0;
  3333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3334. public static pb::MessageParser<Locate_sift_response_msg> Parser { get { return _parser; } }
  3335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3336. public static pbr::MessageDescriptor Descriptor {
  3337. get { return global::Message.MeasureMessageReflection.Descriptor.MessageTypes[9]; }
  3338. }
  3339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3340. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3341. get { return Descriptor; }
  3342. }
  3343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3344. public Locate_sift_response_msg() {
  3345. OnConstruction();
  3346. }
  3347. partial void OnConstruction();
  3348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3349. public Locate_sift_response_msg(Locate_sift_response_msg other) : this() {
  3350. _hasBits0 = other._hasBits0;
  3351. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3352. commandKey_ = other.commandKey_;
  3353. terminalId_ = other.terminalId_;
  3354. lidarId_ = other.lidarId_;
  3355. cloudType_ = other.cloudType_.Clone();
  3356. errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
  3357. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3358. }
  3359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3360. public Locate_sift_response_msg Clone() {
  3361. return new Locate_sift_response_msg(this);
  3362. }
  3363. /// <summary>Field number for the "base_info" field.</summary>
  3364. public const int BaseInfoFieldNumber = 1;
  3365. private global::Message.Base_info baseInfo_;
  3366. /// <summary>
  3367. ///消息类型
  3368. /// </summary>
  3369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3370. public global::Message.Base_info BaseInfo {
  3371. get { return baseInfo_; }
  3372. set {
  3373. baseInfo_ = value;
  3374. }
  3375. }
  3376. /// <summary>Field number for the "command_key" field.</summary>
  3377. public const int CommandKeyFieldNumber = 2;
  3378. private readonly static string CommandKeyDefaultValue = "";
  3379. private string commandKey_;
  3380. /// <summary>
  3381. ///指令唯一标识符id
  3382. /// </summary>
  3383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3384. public string CommandKey {
  3385. get { return commandKey_ ?? CommandKeyDefaultValue; }
  3386. set {
  3387. commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3388. }
  3389. }
  3390. /// <summary>Gets whether the "command_key" field is set</summary>
  3391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3392. public bool HasCommandKey {
  3393. get { return commandKey_ != null; }
  3394. }
  3395. /// <summary>Clears the value of the "command_key" field</summary>
  3396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3397. public void ClearCommandKey() {
  3398. commandKey_ = null;
  3399. }
  3400. /// <summary>Field number for the "terminal_id" field.</summary>
  3401. public const int TerminalIdFieldNumber = 3;
  3402. private readonly static int TerminalIdDefaultValue = 0;
  3403. private int terminalId_;
  3404. /// <summary>
  3405. ///终端id
  3406. /// </summary>
  3407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3408. public int TerminalId {
  3409. get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
  3410. set {
  3411. _hasBits0 |= 1;
  3412. terminalId_ = value;
  3413. }
  3414. }
  3415. /// <summary>Gets whether the "terminal_id" field is set</summary>
  3416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3417. public bool HasTerminalId {
  3418. get { return (_hasBits0 & 1) != 0; }
  3419. }
  3420. /// <summary>Clears the value of the "terminal_id" field</summary>
  3421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3422. public void ClearTerminalId() {
  3423. _hasBits0 &= ~1;
  3424. }
  3425. /// <summary>Field number for the "lidar_id" field.</summary>
  3426. public const int LidarIdFieldNumber = 4;
  3427. private readonly static int LidarIdDefaultValue = 0;
  3428. private int lidarId_;
  3429. /// <summary>
  3430. ///雷达id
  3431. /// </summary>
  3432. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3433. public int LidarId {
  3434. get { if ((_hasBits0 & 2) != 0) { return lidarId_; } else { return LidarIdDefaultValue; } }
  3435. set {
  3436. _hasBits0 |= 2;
  3437. lidarId_ = value;
  3438. }
  3439. }
  3440. /// <summary>Gets whether the "lidar_id" field is set</summary>
  3441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3442. public bool HasLidarId {
  3443. get { return (_hasBits0 & 2) != 0; }
  3444. }
  3445. /// <summary>Clears the value of the "lidar_id" field</summary>
  3446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3447. public void ClearLidarId() {
  3448. _hasBits0 &= ~2;
  3449. }
  3450. /// <summary>Field number for the "cloud_type" field.</summary>
  3451. public const int CloudTypeFieldNumber = 5;
  3452. private static readonly pb::FieldCodec<global::Message.Cloud_type> _repeated_cloudType_codec
  3453. = pb::FieldCodec.ForMessage(42, global::Message.Cloud_type.Parser);
  3454. private readonly pbc::RepeatedField<global::Message.Cloud_type> cloudType_ = new pbc::RepeatedField<global::Message.Cloud_type>();
  3455. /// <summary>
  3456. ///点云类型
  3457. /// </summary>
  3458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3459. public pbc::RepeatedField<global::Message.Cloud_type> CloudType {
  3460. get { return cloudType_; }
  3461. }
  3462. /// <summary>Field number for the "error_manager" field.</summary>
  3463. public const int ErrorManagerFieldNumber = 6;
  3464. private global::Message.Error_manager errorManager_;
  3465. /// <summary>
  3466. ///错误码
  3467. /// </summary>
  3468. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3469. public global::Message.Error_manager ErrorManager {
  3470. get { return errorManager_; }
  3471. set {
  3472. errorManager_ = value;
  3473. }
  3474. }
  3475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3476. public override bool Equals(object other) {
  3477. return Equals(other as Locate_sift_response_msg);
  3478. }
  3479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3480. public bool Equals(Locate_sift_response_msg other) {
  3481. if (ReferenceEquals(other, null)) {
  3482. return false;
  3483. }
  3484. if (ReferenceEquals(other, this)) {
  3485. return true;
  3486. }
  3487. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3488. if (CommandKey != other.CommandKey) return false;
  3489. if (TerminalId != other.TerminalId) return false;
  3490. if (LidarId != other.LidarId) return false;
  3491. if(!cloudType_.Equals(other.cloudType_)) return false;
  3492. if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
  3493. return Equals(_unknownFields, other._unknownFields);
  3494. }
  3495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3496. public override int GetHashCode() {
  3497. int hash = 1;
  3498. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3499. if (HasCommandKey) hash ^= CommandKey.GetHashCode();
  3500. if (HasTerminalId) hash ^= TerminalId.GetHashCode();
  3501. if (HasLidarId) hash ^= LidarId.GetHashCode();
  3502. hash ^= cloudType_.GetHashCode();
  3503. if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
  3504. if (_unknownFields != null) {
  3505. hash ^= _unknownFields.GetHashCode();
  3506. }
  3507. return hash;
  3508. }
  3509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3510. public override string ToString() {
  3511. return pb::JsonFormatter.ToDiagnosticString(this);
  3512. }
  3513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3514. public void WriteTo(pb::CodedOutputStream output) {
  3515. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3516. output.WriteRawMessage(this);
  3517. #else
  3518. if (baseInfo_ != null) {
  3519. output.WriteRawTag(10);
  3520. output.WriteMessage(BaseInfo);
  3521. }
  3522. if (HasCommandKey) {
  3523. output.WriteRawTag(18);
  3524. output.WriteString(CommandKey);
  3525. }
  3526. if (HasTerminalId) {
  3527. output.WriteRawTag(24);
  3528. output.WriteInt32(TerminalId);
  3529. }
  3530. if (HasLidarId) {
  3531. output.WriteRawTag(32);
  3532. output.WriteInt32(LidarId);
  3533. }
  3534. cloudType_.WriteTo(output, _repeated_cloudType_codec);
  3535. if (errorManager_ != null) {
  3536. output.WriteRawTag(50);
  3537. output.WriteMessage(ErrorManager);
  3538. }
  3539. if (_unknownFields != null) {
  3540. _unknownFields.WriteTo(output);
  3541. }
  3542. #endif
  3543. }
  3544. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3546. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3547. if (baseInfo_ != null) {
  3548. output.WriteRawTag(10);
  3549. output.WriteMessage(BaseInfo);
  3550. }
  3551. if (HasCommandKey) {
  3552. output.WriteRawTag(18);
  3553. output.WriteString(CommandKey);
  3554. }
  3555. if (HasTerminalId) {
  3556. output.WriteRawTag(24);
  3557. output.WriteInt32(TerminalId);
  3558. }
  3559. if (HasLidarId) {
  3560. output.WriteRawTag(32);
  3561. output.WriteInt32(LidarId);
  3562. }
  3563. cloudType_.WriteTo(ref output, _repeated_cloudType_codec);
  3564. if (errorManager_ != null) {
  3565. output.WriteRawTag(50);
  3566. output.WriteMessage(ErrorManager);
  3567. }
  3568. if (_unknownFields != null) {
  3569. _unknownFields.WriteTo(ref output);
  3570. }
  3571. }
  3572. #endif
  3573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3574. public int CalculateSize() {
  3575. int size = 0;
  3576. if (baseInfo_ != null) {
  3577. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3578. }
  3579. if (HasCommandKey) {
  3580. size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
  3581. }
  3582. if (HasTerminalId) {
  3583. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
  3584. }
  3585. if (HasLidarId) {
  3586. size += 1 + pb::CodedOutputStream.ComputeInt32Size(LidarId);
  3587. }
  3588. size += cloudType_.CalculateSize(_repeated_cloudType_codec);
  3589. if (errorManager_ != null) {
  3590. size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
  3591. }
  3592. if (_unknownFields != null) {
  3593. size += _unknownFields.CalculateSize();
  3594. }
  3595. return size;
  3596. }
  3597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3598. public void MergeFrom(Locate_sift_response_msg other) {
  3599. if (other == null) {
  3600. return;
  3601. }
  3602. if (other.baseInfo_ != null) {
  3603. if (baseInfo_ == null) {
  3604. BaseInfo = new global::Message.Base_info();
  3605. }
  3606. BaseInfo.MergeFrom(other.BaseInfo);
  3607. }
  3608. if (other.HasCommandKey) {
  3609. CommandKey = other.CommandKey;
  3610. }
  3611. if (other.HasTerminalId) {
  3612. TerminalId = other.TerminalId;
  3613. }
  3614. if (other.HasLidarId) {
  3615. LidarId = other.LidarId;
  3616. }
  3617. cloudType_.Add(other.cloudType_);
  3618. if (other.errorManager_ != null) {
  3619. if (errorManager_ == null) {
  3620. ErrorManager = new global::Message.Error_manager();
  3621. }
  3622. ErrorManager.MergeFrom(other.ErrorManager);
  3623. }
  3624. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3625. }
  3626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3627. public void MergeFrom(pb::CodedInputStream input) {
  3628. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3629. input.ReadRawMessage(this);
  3630. #else
  3631. uint tag;
  3632. while ((tag = input.ReadTag()) != 0) {
  3633. switch(tag) {
  3634. default:
  3635. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3636. break;
  3637. case 10: {
  3638. if (baseInfo_ == null) {
  3639. BaseInfo = new global::Message.Base_info();
  3640. }
  3641. input.ReadMessage(BaseInfo);
  3642. break;
  3643. }
  3644. case 18: {
  3645. CommandKey = input.ReadString();
  3646. break;
  3647. }
  3648. case 24: {
  3649. TerminalId = input.ReadInt32();
  3650. break;
  3651. }
  3652. case 32: {
  3653. LidarId = input.ReadInt32();
  3654. break;
  3655. }
  3656. case 42: {
  3657. cloudType_.AddEntriesFrom(input, _repeated_cloudType_codec);
  3658. break;
  3659. }
  3660. case 50: {
  3661. if (errorManager_ == null) {
  3662. ErrorManager = new global::Message.Error_manager();
  3663. }
  3664. input.ReadMessage(ErrorManager);
  3665. break;
  3666. }
  3667. }
  3668. }
  3669. #endif
  3670. }
  3671. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3673. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3674. uint tag;
  3675. while ((tag = input.ReadTag()) != 0) {
  3676. switch(tag) {
  3677. default:
  3678. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3679. break;
  3680. case 10: {
  3681. if (baseInfo_ == null) {
  3682. BaseInfo = new global::Message.Base_info();
  3683. }
  3684. input.ReadMessage(BaseInfo);
  3685. break;
  3686. }
  3687. case 18: {
  3688. CommandKey = input.ReadString();
  3689. break;
  3690. }
  3691. case 24: {
  3692. TerminalId = input.ReadInt32();
  3693. break;
  3694. }
  3695. case 32: {
  3696. LidarId = input.ReadInt32();
  3697. break;
  3698. }
  3699. case 42: {
  3700. cloudType_.AddEntriesFrom(ref input, _repeated_cloudType_codec);
  3701. break;
  3702. }
  3703. case 50: {
  3704. if (errorManager_ == null) {
  3705. ErrorManager = new global::Message.Error_manager();
  3706. }
  3707. input.ReadMessage(ErrorManager);
  3708. break;
  3709. }
  3710. }
  3711. }
  3712. }
  3713. #endif
  3714. }
  3715. #endregion
  3716. }
  3717. #endregion Designer generated code