MeasureMessage.cs 117 KB

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