MeasureMessage.cs 149 KB

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