MessageBase.cs 156 KB

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