message.pb.cc 232 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message.proto
  3. #include "message.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // This is a temporary google only hack
  15. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  16. #include "third_party/protobuf/version.h"
  17. #endif
  18. // @@protoc_insertion_point(includes)
  19. class measure_infoDefaultTypeInternal {
  20. public:
  21. ::google::protobuf::internal::ExplicitlyConstructed<measure_info>
  22. _instance;
  23. } _measure_info_default_instance_;
  24. class parkspace_infoDefaultTypeInternal {
  25. public:
  26. ::google::protobuf::internal::ExplicitlyConstructed<parkspace_info>
  27. _instance;
  28. } _parkspace_info_default_instance_;
  29. class table_statuDefaultTypeInternal {
  30. public:
  31. ::google::protobuf::internal::ExplicitlyConstructed<table_statu>
  32. _instance;
  33. } _table_statu_default_instance_;
  34. class plate_number_infoDefaultTypeInternal {
  35. public:
  36. ::google::protobuf::internal::ExplicitlyConstructed<plate_number_info>
  37. _instance;
  38. } _plate_number_info_default_instance_;
  39. class park_tableDefaultTypeInternal {
  40. public:
  41. ::google::protobuf::internal::ExplicitlyConstructed<park_table>
  42. _instance;
  43. } _park_table_default_instance_;
  44. class pick_tableDefaultTypeInternal {
  45. public:
  46. ::google::protobuf::internal::ExplicitlyConstructed<pick_table>
  47. _instance;
  48. } _pick_table_default_instance_;
  49. class out_mcpu_statuDefaultTypeInternal {
  50. public:
  51. ::google::protobuf::internal::ExplicitlyConstructed<out_mcpu_statu>
  52. _instance;
  53. } _out_mcpu_statu_default_instance_;
  54. class in_mcpu_statuDefaultTypeInternal {
  55. public:
  56. ::google::protobuf::internal::ExplicitlyConstructed<in_mcpu_statu>
  57. _instance;
  58. } _in_mcpu_statu_default_instance_;
  59. class measure_statuDefaultTypeInternal {
  60. public:
  61. ::google::protobuf::internal::ExplicitlyConstructed<measure_statu>
  62. _instance;
  63. } _measure_statu_default_instance_;
  64. class dispatch_plc_passway_statusDefaultTypeInternal {
  65. public:
  66. ::google::protobuf::internal::ExplicitlyConstructed<dispatch_plc_passway_status>
  67. _instance;
  68. } _dispatch_plc_passway_status_default_instance_;
  69. class dispatch_node_statuDefaultTypeInternal {
  70. public:
  71. ::google::protobuf::internal::ExplicitlyConstructed<dispatch_node_statu>
  72. _instance;
  73. } _dispatch_node_statu_default_instance_;
  74. class terminal_node_statuDefaultTypeInternal {
  75. public:
  76. ::google::protobuf::internal::ExplicitlyConstructed<terminal_node_statu>
  77. _instance;
  78. } _terminal_node_statu_default_instance_;
  79. namespace protobuf_message_2eproto {
  80. void InitDefaultsmeasure_infoImpl() {
  81. GOOGLE_PROTOBUF_VERIFY_VERSION;
  82. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  83. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  84. #else
  85. ::google::protobuf::internal::InitProtobufDefaults();
  86. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  87. {
  88. void* ptr = &::_measure_info_default_instance_;
  89. new (ptr) ::measure_info();
  90. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  91. }
  92. ::measure_info::InitAsDefaultInstance();
  93. }
  94. void InitDefaultsmeasure_info() {
  95. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  96. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_infoImpl);
  97. }
  98. void InitDefaultsparkspace_infoImpl() {
  99. GOOGLE_PROTOBUF_VERIFY_VERSION;
  100. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  101. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  102. #else
  103. ::google::protobuf::internal::InitProtobufDefaults();
  104. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  105. {
  106. void* ptr = &::_parkspace_info_default_instance_;
  107. new (ptr) ::parkspace_info();
  108. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  109. }
  110. ::parkspace_info::InitAsDefaultInstance();
  111. }
  112. void InitDefaultsparkspace_info() {
  113. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  114. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsparkspace_infoImpl);
  115. }
  116. void InitDefaultstable_statuImpl() {
  117. GOOGLE_PROTOBUF_VERIFY_VERSION;
  118. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  119. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  120. #else
  121. ::google::protobuf::internal::InitProtobufDefaults();
  122. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  123. {
  124. void* ptr = &::_table_statu_default_instance_;
  125. new (ptr) ::table_statu();
  126. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  127. }
  128. ::table_statu::InitAsDefaultInstance();
  129. }
  130. void InitDefaultstable_statu() {
  131. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  132. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultstable_statuImpl);
  133. }
  134. void InitDefaultsplate_number_infoImpl() {
  135. GOOGLE_PROTOBUF_VERIFY_VERSION;
  136. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  137. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  138. #else
  139. ::google::protobuf::internal::InitProtobufDefaults();
  140. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  141. {
  142. void* ptr = &::_plate_number_info_default_instance_;
  143. new (ptr) ::plate_number_info();
  144. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  145. }
  146. ::plate_number_info::InitAsDefaultInstance();
  147. }
  148. void InitDefaultsplate_number_info() {
  149. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  150. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsplate_number_infoImpl);
  151. }
  152. void InitDefaultspark_tableImpl() {
  153. GOOGLE_PROTOBUF_VERIFY_VERSION;
  154. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  155. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  156. #else
  157. ::google::protobuf::internal::InitProtobufDefaults();
  158. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  159. protobuf_message_2eproto::InitDefaultstable_statu();
  160. protobuf_message_2eproto::InitDefaultsmeasure_info();
  161. protobuf_message_2eproto::InitDefaultsparkspace_info();
  162. protobuf_message_2eproto::InitDefaultsplate_number_info();
  163. {
  164. void* ptr = &::_park_table_default_instance_;
  165. new (ptr) ::park_table();
  166. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  167. }
  168. ::park_table::InitAsDefaultInstance();
  169. }
  170. void InitDefaultspark_table() {
  171. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  172. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspark_tableImpl);
  173. }
  174. void InitDefaultspick_tableImpl() {
  175. GOOGLE_PROTOBUF_VERIFY_VERSION;
  176. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  177. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  178. #else
  179. ::google::protobuf::internal::InitProtobufDefaults();
  180. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  181. protobuf_message_2eproto::InitDefaultstable_statu();
  182. protobuf_message_2eproto::InitDefaultsparkspace_info();
  183. protobuf_message_2eproto::InitDefaultsmeasure_info();
  184. {
  185. void* ptr = &::_pick_table_default_instance_;
  186. new (ptr) ::pick_table();
  187. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  188. }
  189. ::pick_table::InitAsDefaultInstance();
  190. }
  191. void InitDefaultspick_table() {
  192. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  193. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspick_tableImpl);
  194. }
  195. void InitDefaultsout_mcpu_statuImpl() {
  196. GOOGLE_PROTOBUF_VERIFY_VERSION;
  197. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  198. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  199. #else
  200. ::google::protobuf::internal::InitProtobufDefaults();
  201. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  202. {
  203. void* ptr = &::_out_mcpu_statu_default_instance_;
  204. new (ptr) ::out_mcpu_statu();
  205. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  206. }
  207. ::out_mcpu_statu::InitAsDefaultInstance();
  208. }
  209. void InitDefaultsout_mcpu_statu() {
  210. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  211. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsout_mcpu_statuImpl);
  212. }
  213. void InitDefaultsin_mcpu_statuImpl() {
  214. GOOGLE_PROTOBUF_VERIFY_VERSION;
  215. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  216. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  217. #else
  218. ::google::protobuf::internal::InitProtobufDefaults();
  219. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  220. {
  221. void* ptr = &::_in_mcpu_statu_default_instance_;
  222. new (ptr) ::in_mcpu_statu();
  223. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  224. }
  225. ::in_mcpu_statu::InitAsDefaultInstance();
  226. }
  227. void InitDefaultsin_mcpu_statu() {
  228. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  229. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsin_mcpu_statuImpl);
  230. }
  231. void InitDefaultsmeasure_statuImpl() {
  232. GOOGLE_PROTOBUF_VERIFY_VERSION;
  233. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  234. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  235. #else
  236. ::google::protobuf::internal::InitProtobufDefaults();
  237. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  238. protobuf_message_2eproto::InitDefaultsmeasure_info();
  239. {
  240. void* ptr = &::_measure_statu_default_instance_;
  241. new (ptr) ::measure_statu();
  242. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  243. }
  244. ::measure_statu::InitAsDefaultInstance();
  245. }
  246. void InitDefaultsmeasure_statu() {
  247. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  248. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_statuImpl);
  249. }
  250. void InitDefaultsdispatch_plc_passway_statusImpl() {
  251. GOOGLE_PROTOBUF_VERIFY_VERSION;
  252. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  253. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  254. #else
  255. ::google::protobuf::internal::InitProtobufDefaults();
  256. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  257. {
  258. void* ptr = &::_dispatch_plc_passway_status_default_instance_;
  259. new (ptr) ::dispatch_plc_passway_status();
  260. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  261. }
  262. ::dispatch_plc_passway_status::InitAsDefaultInstance();
  263. }
  264. void InitDefaultsdispatch_plc_passway_status() {
  265. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  266. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_plc_passway_statusImpl);
  267. }
  268. void InitDefaultsdispatch_node_statuImpl() {
  269. GOOGLE_PROTOBUF_VERIFY_VERSION;
  270. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  271. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  272. #else
  273. ::google::protobuf::internal::InitProtobufDefaults();
  274. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  275. protobuf_message_2eproto::InitDefaultspark_table();
  276. protobuf_message_2eproto::InitDefaultspick_table();
  277. protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
  278. {
  279. void* ptr = &::_dispatch_node_statu_default_instance_;
  280. new (ptr) ::dispatch_node_statu();
  281. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  282. }
  283. ::dispatch_node_statu::InitAsDefaultInstance();
  284. }
  285. void InitDefaultsdispatch_node_statu() {
  286. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  287. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_node_statuImpl);
  288. }
  289. void InitDefaultsterminal_node_statuImpl() {
  290. GOOGLE_PROTOBUF_VERIFY_VERSION;
  291. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  292. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  293. #else
  294. ::google::protobuf::internal::InitProtobufDefaults();
  295. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  296. {
  297. void* ptr = &::_terminal_node_statu_default_instance_;
  298. new (ptr) ::terminal_node_statu();
  299. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  300. }
  301. ::terminal_node_statu::InitAsDefaultInstance();
  302. }
  303. void InitDefaultsterminal_node_statu() {
  304. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  305. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsterminal_node_statuImpl);
  306. }
  307. ::google::protobuf::Metadata file_level_metadata[12];
  308. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
  309. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  310. ~0u, // no _has_bits_
  311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, _internal_metadata_),
  312. ~0u, // no _extensions_
  313. ~0u, // no _oneof_case_
  314. ~0u, // no _weak_field_map_
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cx_),
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cy_),
  317. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, theta_),
  318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, length_),
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, width_),
  320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, height_),
  321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, wheelbase_),
  322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, front_theta_),
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, border_statu_),
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, ground_status_),
  325. ~0u, // no _has_bits_
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, _internal_metadata_),
  327. ~0u, // no _extensions_
  328. ~0u, // no _oneof_case_
  329. ~0u, // no _weak_field_map_
  330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, id_),
  331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, serial_id_),
  332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, table_id_),
  333. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, unit_id_),
  334. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, floor_),
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, room_id_),
  336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, height_),
  337. ~0u, // no _has_bits_
  338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, _internal_metadata_),
  339. ~0u, // no _extensions_
  340. ~0u, // no _oneof_case_
  341. ~0u, // no _weak_field_map_
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, execute_statu_),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, statu_description_),
  344. ~0u, // no _has_bits_
  345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, _internal_metadata_),
  346. ~0u, // no _extensions_
  347. ~0u, // no _oneof_case_
  348. ~0u, // no _weak_field_map_
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_number_),
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_color_),
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_type_),
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_confidence_),
  353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, recognition_time_),
  354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_full_image_),
  355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_clip_image_),
  356. ~0u, // no _has_bits_
  357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, _internal_metadata_),
  358. ~0u, // no _extensions_
  359. ~0u, // no _oneof_case_
  360. ~0u, // no _weak_field_map_
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, statu_),
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, queue_id_),
  363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_),
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, unit_id_),
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, terminal_id_),
  366. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, primary_key_),
  367. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, entrance_measure_info_),
  368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, allocated_space_info_),
  369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_measure_info_),
  370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_space_info_),
  371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, import_id_),
  372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_info_),
  373. ~0u, // no _has_bits_
  374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, _internal_metadata_),
  375. ~0u, // no _extensions_
  376. ~0u, // no _oneof_case_
  377. ~0u, // no _weak_field_map_
  378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, statu_),
  379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, queue_id_),
  380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, car_number_),
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, unit_id_),
  382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, terminal_id_),
  383. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, primary_key_),
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_space_info_),
  385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_measure_info_),
  386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, export_id_),
  387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, is_leaved_),
  388. ~0u, // no _has_bits_
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, _internal_metadata_),
  390. ~0u, // no _extensions_
  391. ~0u, // no _oneof_case_
  392. ~0u, // no _weak_field_map_
  393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, door_statu_),
  394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, outside_safety_),
  395. ~0u, // no _has_bits_
  396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, _internal_metadata_),
  397. ~0u, // no _extensions_
  398. ~0u, // no _oneof_case_
  399. ~0u, // no _weak_field_map_
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, door_statu_),
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, back_io_),
  402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, is_occupy_),
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, heighth_),
  404. ~0u, // no _has_bits_
  405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, _internal_metadata_),
  406. ~0u, // no _extensions_
  407. ~0u, // no _oneof_case_
  408. ~0u, // no _weak_field_map_
  409. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, info_),
  410. ~0u, // no _has_bits_
  411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, _internal_metadata_),
  412. ~0u, // no _extensions_
  413. ~0u, // no _oneof_case_
  414. ~0u, // no _weak_field_map_
  415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, car_height_),
  416. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, outside_door_status_),
  417. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, inside_door_status_),
  418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, comb_body_status_),
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, turnplate_angle_min_),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, turnplate_angle_max_),
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, sensor_1_),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, sensor_2_),
  423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, plc_passway_enable_),
  424. ~0u, // no _has_bits_
  425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, _internal_metadata_),
  426. ~0u, // no _extensions_
  427. ~0u, // no _oneof_case_
  428. ~0u, // no _weak_field_map_
  429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, statu_),
  430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, idle_stop_floor_),
  431. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pack_info_),
  432. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pick_info_),
  433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, unit_id_),
  434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_heartbeat_),
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_status_info_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_carrier_status_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_inlet_1_status_),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_inlet_2_status_),
  439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_outlet_3_status_),
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_outlet_4_status_),
  441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, dispatch_plc_passway_status_vector_),
  442. ~0u, // no _has_bits_
  443. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, _internal_metadata_),
  444. ~0u, // no _extensions_
  445. ~0u, // no _oneof_case_
  446. ~0u, // no _weak_field_map_
  447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, terminal_id_),
  448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, import_id_),
  449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, car_number_),
  450. };
  451. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  452. { 0, -1, sizeof(::measure_info)},
  453. { 15, -1, sizeof(::parkspace_info)},
  454. { 27, -1, sizeof(::table_statu)},
  455. { 34, -1, sizeof(::plate_number_info)},
  456. { 46, -1, sizeof(::park_table)},
  457. { 63, -1, sizeof(::pick_table)},
  458. { 78, -1, sizeof(::out_mcpu_statu)},
  459. { 85, -1, sizeof(::in_mcpu_statu)},
  460. { 94, -1, sizeof(::measure_statu)},
  461. { 100, -1, sizeof(::dispatch_plc_passway_status)},
  462. { 114, -1, sizeof(::dispatch_node_statu)},
  463. { 132, -1, sizeof(::terminal_node_statu)},
  464. };
  465. static ::google::protobuf::Message const * const file_default_instances[] = {
  466. reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_info_default_instance_),
  467. reinterpret_cast<const ::google::protobuf::Message*>(&::_parkspace_info_default_instance_),
  468. reinterpret_cast<const ::google::protobuf::Message*>(&::_table_statu_default_instance_),
  469. reinterpret_cast<const ::google::protobuf::Message*>(&::_plate_number_info_default_instance_),
  470. reinterpret_cast<const ::google::protobuf::Message*>(&::_park_table_default_instance_),
  471. reinterpret_cast<const ::google::protobuf::Message*>(&::_pick_table_default_instance_),
  472. reinterpret_cast<const ::google::protobuf::Message*>(&::_out_mcpu_statu_default_instance_),
  473. reinterpret_cast<const ::google::protobuf::Message*>(&::_in_mcpu_statu_default_instance_),
  474. reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_statu_default_instance_),
  475. reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_plc_passway_status_default_instance_),
  476. reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_node_statu_default_instance_),
  477. reinterpret_cast<const ::google::protobuf::Message*>(&::_terminal_node_statu_default_instance_),
  478. };
  479. void protobuf_AssignDescriptors() {
  480. AddDescriptors();
  481. ::google::protobuf::MessageFactory* factory = NULL;
  482. AssignDescriptors(
  483. "message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
  484. file_level_metadata, file_level_enum_descriptors, NULL);
  485. }
  486. void protobuf_AssignDescriptorsOnce() {
  487. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  488. ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
  489. }
  490. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  491. void protobuf_RegisterTypes(const ::std::string&) {
  492. protobuf_AssignDescriptorsOnce();
  493. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 12);
  494. }
  495. void AddDescriptorsImpl() {
  496. InitDefaults();
  497. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  498. "\n\rmessage.proto\"\271\001\n\014measure_info\022\n\n\002cx\030\001"
  499. " \001(\002\022\n\n\002cy\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\022\016\n\006lengt"
  500. "h\030\004 \001(\002\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002\022\021"
  501. "\n\twheelbase\030\007 \001(\002\022\023\n\013front_theta\030\010 \001(\002\022\024"
  502. "\n\014border_statu\030\t \001(\005\022\025\n\rground_status\030\n "
  503. "\001(\005\"\202\001\n\016parkspace_info\022\n\n\002id\030\001 \001(\005\022\021\n\tse"
  504. "rial_id\030\002 \001(\005\022\020\n\010table_id\030\003 \001(\005\022\017\n\007unit_"
  505. "id\030\004 \001(\005\022\r\n\005floor\030\005 \001(\005\022\017\n\007room_id\030\006 \001(\005"
  506. "\022\016\n\006height\030\007 \001(\002\"G\n\013table_statu\022\035\n\rexecu"
  507. "te_statu\030\001 \001(\0162\006.STATU\022\031\n\021statu_descript"
  508. "ion\030\002 \001(\t\"\272\001\n\021plate_number_info\022\024\n\014plate"
  509. "_number\030\001 \001(\t\022\023\n\013plate_color\030\002 \001(\t\022\022\n\npl"
  510. "ate_type\030\003 \001(\t\022\030\n\020plate_confidence\030\004 \001(\005"
  511. "\022\030\n\020recognition_time\030\005 \001(\t\022\030\n\020plate_full"
  512. "_image\030\006 \001(\t\022\030\n\020plate_clip_image\030\007 \001(\t\"\203"
  513. "\003\n\npark_table\022\033\n\005statu\030\001 \001(\0132\014.table_sta"
  514. "tu\022\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t"
  515. "\022\017\n\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023"
  516. "\n\013primary_key\030\006 \001(\t\022,\n\025entrance_measure_"
  517. "info\030\007 \001(\0132\r.measure_info\022-\n\024allocated_s"
  518. "pace_info\030\010 \001(\0132\017.parkspace_info\022,\n\025actu"
  519. "ally_measure_info\030\t \001(\0132\r.measure_info\022,"
  520. "\n\023actually_space_info\030\n \001(\0132\017.parkspace_"
  521. "info\022\021\n\timport_id\030\013 \001(\005\022+\n\017car_number_in"
  522. "fo\030\014 \001(\0132\022.plate_number_info\"\214\002\n\npick_ta"
  523. "ble\022\033\n\005statu\030\001 \001(\0132\014.table_statu\022\020\n\010queu"
  524. "e_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t\022\017\n\007unit_i"
  525. "d\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023\n\013primary_"
  526. "key\030\006 \001(\t\022,\n\023actually_space_info\030\007 \001(\0132\017"
  527. ".parkspace_info\022,\n\025actually_measure_info"
  528. "\030\010 \001(\0132\r.measure_info\022\021\n\texport_id\030\t \001(\005"
  529. "\022\021\n\tis_leaved\030\n \001(\010\"<\n\016out_mcpu_statu\022\022\n"
  530. "\ndoor_statu\030\001 \001(\005\022\026\n\016outside_safety\030\002 \001("
  531. "\005\"X\n\rin_mcpu_statu\022\022\n\ndoor_statu\030\001 \001(\005\022\017"
  532. "\n\007back_io\030\002 \001(\005\022\021\n\tis_occupy\030\003 \001(\005\022\017\n\007he"
  533. "ighth\030\004 \001(\005\",\n\rmeasure_statu\022\033\n\004info\030\001 \001"
  534. "(\0132\r.measure_info\"\376\001\n\033dispatch_plc_passw"
  535. "ay_status\022\022\n\ncar_height\030\001 \001(\005\022\033\n\023outside"
  536. "_door_status\030\002 \001(\005\022\032\n\022inside_door_status"
  537. "\030\003 \001(\005\022\030\n\020comb_body_status\030\004 \001(\005\022\033\n\023turn"
  538. "plate_angle_min\030\005 \001(\002\022\033\n\023turnplate_angle"
  539. "_max\030\006 \001(\002\022\020\n\010sensor_1\030\007 \001(\005\022\020\n\010sensor_2"
  540. "\030\010 \001(\005\022\032\n\022plc_passway_enable\030\t \001(\005\"\265\003\n\023d"
  541. "ispatch_node_statu\022\034\n\005statu\030\001 \001(\0162\r.Carr"
  542. "ierStatu\022\027\n\017idle_stop_floor\030\002 \001(\005\022&\n\021run"
  543. "ning_pack_info\030\003 \001(\0132\013.park_table\022&\n\021run"
  544. "ning_pick_info\030\004 \001(\0132\013.pick_table\022\017\n\007uni"
  545. "t_id\030\005 \001(\005\022\025\n\rplc_heartbeat\030\006 \001(\005\022\027\n\017plc"
  546. "_status_info\030\007 \001(\005\022\032\n\022plc_carrier_status"
  547. "\030\010 \001(\005\022\032\n\022plc_inlet_1_status\030\t \001(\005\022\032\n\022pl"
  548. "c_inlet_2_status\030\n \001(\005\022\033\n\023plc_outlet_3_s"
  549. "tatus\030\013 \001(\005\022\033\n\023plc_outlet_4_status\030\014 \001(\005"
  550. "\022H\n\"dispatch_plc_passway_status_vector\030\r"
  551. " \003(\0132\034.dispatch_plc_passway_status\"Q\n\023te"
  552. "rminal_node_statu\022\023\n\013terminal_id\030\001 \001(\005\022\021"
  553. "\n\timport_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t* \n"
  554. "\005STATU\022\013\n\007eNormal\020\000\022\n\n\006eError\020\001*0\n\014Carri"
  555. "erStatu\022\t\n\005eIdle\020\000\022\t\n\005eBusy\020\001\022\n\n\006eFault\020"
  556. "\002b\006proto3"
  557. };
  558. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  559. descriptor, 2329);
  560. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  561. "message.proto", &protobuf_RegisterTypes);
  562. }
  563. void AddDescriptors() {
  564. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  565. ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
  566. }
  567. // Force AddDescriptors() to be called at dynamic initialization time.
  568. struct StaticDescriptorInitializer {
  569. StaticDescriptorInitializer() {
  570. AddDescriptors();
  571. }
  572. } static_descriptor_initializer;
  573. } // namespace protobuf_message_2eproto
  574. const ::google::protobuf::EnumDescriptor* STATU_descriptor() {
  575. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  576. return protobuf_message_2eproto::file_level_enum_descriptors[0];
  577. }
  578. bool STATU_IsValid(int value) {
  579. switch (value) {
  580. case 0:
  581. case 1:
  582. return true;
  583. default:
  584. return false;
  585. }
  586. }
  587. const ::google::protobuf::EnumDescriptor* CarrierStatu_descriptor() {
  588. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  589. return protobuf_message_2eproto::file_level_enum_descriptors[1];
  590. }
  591. bool CarrierStatu_IsValid(int value) {
  592. switch (value) {
  593. case 0:
  594. case 1:
  595. case 2:
  596. return true;
  597. default:
  598. return false;
  599. }
  600. }
  601. // ===================================================================
  602. void measure_info::InitAsDefaultInstance() {
  603. }
  604. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  605. const int measure_info::kCxFieldNumber;
  606. const int measure_info::kCyFieldNumber;
  607. const int measure_info::kThetaFieldNumber;
  608. const int measure_info::kLengthFieldNumber;
  609. const int measure_info::kWidthFieldNumber;
  610. const int measure_info::kHeightFieldNumber;
  611. const int measure_info::kWheelbaseFieldNumber;
  612. const int measure_info::kFrontThetaFieldNumber;
  613. const int measure_info::kBorderStatuFieldNumber;
  614. const int measure_info::kGroundStatusFieldNumber;
  615. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  616. measure_info::measure_info()
  617. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  618. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  619. ::protobuf_message_2eproto::InitDefaultsmeasure_info();
  620. }
  621. SharedCtor();
  622. // @@protoc_insertion_point(constructor:measure_info)
  623. }
  624. measure_info::measure_info(const measure_info& from)
  625. : ::google::protobuf::Message(),
  626. _internal_metadata_(NULL),
  627. _cached_size_(0) {
  628. _internal_metadata_.MergeFrom(from._internal_metadata_);
  629. ::memcpy(&cx_, &from.cx_,
  630. static_cast<size_t>(reinterpret_cast<char*>(&ground_status_) -
  631. reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
  632. // @@protoc_insertion_point(copy_constructor:measure_info)
  633. }
  634. void measure_info::SharedCtor() {
  635. ::memset(&cx_, 0, static_cast<size_t>(
  636. reinterpret_cast<char*>(&ground_status_) -
  637. reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
  638. _cached_size_ = 0;
  639. }
  640. measure_info::~measure_info() {
  641. // @@protoc_insertion_point(destructor:measure_info)
  642. SharedDtor();
  643. }
  644. void measure_info::SharedDtor() {
  645. }
  646. void measure_info::SetCachedSize(int size) const {
  647. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  648. _cached_size_ = size;
  649. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  650. }
  651. const ::google::protobuf::Descriptor* measure_info::descriptor() {
  652. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  653. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  654. }
  655. const measure_info& measure_info::default_instance() {
  656. ::protobuf_message_2eproto::InitDefaultsmeasure_info();
  657. return *internal_default_instance();
  658. }
  659. measure_info* measure_info::New(::google::protobuf::Arena* arena) const {
  660. measure_info* n = new measure_info;
  661. if (arena != NULL) {
  662. arena->Own(n);
  663. }
  664. return n;
  665. }
  666. void measure_info::Clear() {
  667. // @@protoc_insertion_point(message_clear_start:measure_info)
  668. ::google::protobuf::uint32 cached_has_bits = 0;
  669. // Prevent compiler warnings about cached_has_bits being unused
  670. (void) cached_has_bits;
  671. ::memset(&cx_, 0, static_cast<size_t>(
  672. reinterpret_cast<char*>(&ground_status_) -
  673. reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
  674. _internal_metadata_.Clear();
  675. }
  676. bool measure_info::MergePartialFromCodedStream(
  677. ::google::protobuf::io::CodedInputStream* input) {
  678. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  679. ::google::protobuf::uint32 tag;
  680. // @@protoc_insertion_point(parse_start:measure_info)
  681. for (;;) {
  682. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  683. tag = p.first;
  684. if (!p.second) goto handle_unusual;
  685. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  686. // float cx = 1;
  687. case 1: {
  688. if (static_cast< ::google::protobuf::uint8>(tag) ==
  689. static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
  690. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  691. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  692. input, &cx_)));
  693. } else {
  694. goto handle_unusual;
  695. }
  696. break;
  697. }
  698. // float cy = 2;
  699. case 2: {
  700. if (static_cast< ::google::protobuf::uint8>(tag) ==
  701. static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
  702. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  703. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  704. input, &cy_)));
  705. } else {
  706. goto handle_unusual;
  707. }
  708. break;
  709. }
  710. // float theta = 3;
  711. case 3: {
  712. if (static_cast< ::google::protobuf::uint8>(tag) ==
  713. static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
  714. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  715. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  716. input, &theta_)));
  717. } else {
  718. goto handle_unusual;
  719. }
  720. break;
  721. }
  722. // float length = 4;
  723. case 4: {
  724. if (static_cast< ::google::protobuf::uint8>(tag) ==
  725. static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
  726. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  727. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  728. input, &length_)));
  729. } else {
  730. goto handle_unusual;
  731. }
  732. break;
  733. }
  734. // float width = 5;
  735. case 5: {
  736. if (static_cast< ::google::protobuf::uint8>(tag) ==
  737. static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
  738. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  739. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  740. input, &width_)));
  741. } else {
  742. goto handle_unusual;
  743. }
  744. break;
  745. }
  746. // float height = 6;
  747. case 6: {
  748. if (static_cast< ::google::protobuf::uint8>(tag) ==
  749. static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
  750. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  751. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  752. input, &height_)));
  753. } else {
  754. goto handle_unusual;
  755. }
  756. break;
  757. }
  758. // float wheelbase = 7;
  759. case 7: {
  760. if (static_cast< ::google::protobuf::uint8>(tag) ==
  761. static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
  762. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  763. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  764. input, &wheelbase_)));
  765. } else {
  766. goto handle_unusual;
  767. }
  768. break;
  769. }
  770. // float front_theta = 8;
  771. case 8: {
  772. if (static_cast< ::google::protobuf::uint8>(tag) ==
  773. static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
  774. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  775. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  776. input, &front_theta_)));
  777. } else {
  778. goto handle_unusual;
  779. }
  780. break;
  781. }
  782. // int32 border_statu = 9;
  783. case 9: {
  784. if (static_cast< ::google::protobuf::uint8>(tag) ==
  785. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  786. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  787. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  788. input, &border_statu_)));
  789. } else {
  790. goto handle_unusual;
  791. }
  792. break;
  793. }
  794. // int32 ground_status = 10;
  795. case 10: {
  796. if (static_cast< ::google::protobuf::uint8>(tag) ==
  797. static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
  798. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  799. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  800. input, &ground_status_)));
  801. } else {
  802. goto handle_unusual;
  803. }
  804. break;
  805. }
  806. default: {
  807. handle_unusual:
  808. if (tag == 0) {
  809. goto success;
  810. }
  811. DO_(::google::protobuf::internal::WireFormat::SkipField(
  812. input, tag, _internal_metadata_.mutable_unknown_fields()));
  813. break;
  814. }
  815. }
  816. }
  817. success:
  818. // @@protoc_insertion_point(parse_success:measure_info)
  819. return true;
  820. failure:
  821. // @@protoc_insertion_point(parse_failure:measure_info)
  822. return false;
  823. #undef DO_
  824. }
  825. void measure_info::SerializeWithCachedSizes(
  826. ::google::protobuf::io::CodedOutputStream* output) const {
  827. // @@protoc_insertion_point(serialize_start:measure_info)
  828. ::google::protobuf::uint32 cached_has_bits = 0;
  829. (void) cached_has_bits;
  830. // float cx = 1;
  831. if (this->cx() != 0) {
  832. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cx(), output);
  833. }
  834. // float cy = 2;
  835. if (this->cy() != 0) {
  836. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->cy(), output);
  837. }
  838. // float theta = 3;
  839. if (this->theta() != 0) {
  840. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->theta(), output);
  841. }
  842. // float length = 4;
  843. if (this->length() != 0) {
  844. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->length(), output);
  845. }
  846. // float width = 5;
  847. if (this->width() != 0) {
  848. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->width(), output);
  849. }
  850. // float height = 6;
  851. if (this->height() != 0) {
  852. ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->height(), output);
  853. }
  854. // float wheelbase = 7;
  855. if (this->wheelbase() != 0) {
  856. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->wheelbase(), output);
  857. }
  858. // float front_theta = 8;
  859. if (this->front_theta() != 0) {
  860. ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->front_theta(), output);
  861. }
  862. // int32 border_statu = 9;
  863. if (this->border_statu() != 0) {
  864. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_statu(), output);
  865. }
  866. // int32 ground_status = 10;
  867. if (this->ground_status() != 0) {
  868. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->ground_status(), output);
  869. }
  870. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  871. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  872. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  873. }
  874. // @@protoc_insertion_point(serialize_end:measure_info)
  875. }
  876. ::google::protobuf::uint8* measure_info::InternalSerializeWithCachedSizesToArray(
  877. bool deterministic, ::google::protobuf::uint8* target) const {
  878. (void)deterministic; // Unused
  879. // @@protoc_insertion_point(serialize_to_array_start:measure_info)
  880. ::google::protobuf::uint32 cached_has_bits = 0;
  881. (void) cached_has_bits;
  882. // float cx = 1;
  883. if (this->cx() != 0) {
  884. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cx(), target);
  885. }
  886. // float cy = 2;
  887. if (this->cy() != 0) {
  888. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->cy(), target);
  889. }
  890. // float theta = 3;
  891. if (this->theta() != 0) {
  892. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->theta(), target);
  893. }
  894. // float length = 4;
  895. if (this->length() != 0) {
  896. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->length(), target);
  897. }
  898. // float width = 5;
  899. if (this->width() != 0) {
  900. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->width(), target);
  901. }
  902. // float height = 6;
  903. if (this->height() != 0) {
  904. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->height(), target);
  905. }
  906. // float wheelbase = 7;
  907. if (this->wheelbase() != 0) {
  908. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->wheelbase(), target);
  909. }
  910. // float front_theta = 8;
  911. if (this->front_theta() != 0) {
  912. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->front_theta(), target);
  913. }
  914. // int32 border_statu = 9;
  915. if (this->border_statu() != 0) {
  916. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_statu(), target);
  917. }
  918. // int32 ground_status = 10;
  919. if (this->ground_status() != 0) {
  920. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->ground_status(), target);
  921. }
  922. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  923. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  924. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  925. }
  926. // @@protoc_insertion_point(serialize_to_array_end:measure_info)
  927. return target;
  928. }
  929. size_t measure_info::ByteSizeLong() const {
  930. // @@protoc_insertion_point(message_byte_size_start:measure_info)
  931. size_t total_size = 0;
  932. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  933. total_size +=
  934. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  935. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  936. }
  937. // float cx = 1;
  938. if (this->cx() != 0) {
  939. total_size += 1 + 4;
  940. }
  941. // float cy = 2;
  942. if (this->cy() != 0) {
  943. total_size += 1 + 4;
  944. }
  945. // float theta = 3;
  946. if (this->theta() != 0) {
  947. total_size += 1 + 4;
  948. }
  949. // float length = 4;
  950. if (this->length() != 0) {
  951. total_size += 1 + 4;
  952. }
  953. // float width = 5;
  954. if (this->width() != 0) {
  955. total_size += 1 + 4;
  956. }
  957. // float height = 6;
  958. if (this->height() != 0) {
  959. total_size += 1 + 4;
  960. }
  961. // float wheelbase = 7;
  962. if (this->wheelbase() != 0) {
  963. total_size += 1 + 4;
  964. }
  965. // float front_theta = 8;
  966. if (this->front_theta() != 0) {
  967. total_size += 1 + 4;
  968. }
  969. // int32 border_statu = 9;
  970. if (this->border_statu() != 0) {
  971. total_size += 1 +
  972. ::google::protobuf::internal::WireFormatLite::Int32Size(
  973. this->border_statu());
  974. }
  975. // int32 ground_status = 10;
  976. if (this->ground_status() != 0) {
  977. total_size += 1 +
  978. ::google::protobuf::internal::WireFormatLite::Int32Size(
  979. this->ground_status());
  980. }
  981. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  982. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  983. _cached_size_ = cached_size;
  984. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  985. return total_size;
  986. }
  987. void measure_info::MergeFrom(const ::google::protobuf::Message& from) {
  988. // @@protoc_insertion_point(generalized_merge_from_start:measure_info)
  989. GOOGLE_DCHECK_NE(&from, this);
  990. const measure_info* source =
  991. ::google::protobuf::internal::DynamicCastToGenerated<const measure_info>(
  992. &from);
  993. if (source == NULL) {
  994. // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_info)
  995. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  996. } else {
  997. // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_info)
  998. MergeFrom(*source);
  999. }
  1000. }
  1001. void measure_info::MergeFrom(const measure_info& from) {
  1002. // @@protoc_insertion_point(class_specific_merge_from_start:measure_info)
  1003. GOOGLE_DCHECK_NE(&from, this);
  1004. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1005. ::google::protobuf::uint32 cached_has_bits = 0;
  1006. (void) cached_has_bits;
  1007. if (from.cx() != 0) {
  1008. set_cx(from.cx());
  1009. }
  1010. if (from.cy() != 0) {
  1011. set_cy(from.cy());
  1012. }
  1013. if (from.theta() != 0) {
  1014. set_theta(from.theta());
  1015. }
  1016. if (from.length() != 0) {
  1017. set_length(from.length());
  1018. }
  1019. if (from.width() != 0) {
  1020. set_width(from.width());
  1021. }
  1022. if (from.height() != 0) {
  1023. set_height(from.height());
  1024. }
  1025. if (from.wheelbase() != 0) {
  1026. set_wheelbase(from.wheelbase());
  1027. }
  1028. if (from.front_theta() != 0) {
  1029. set_front_theta(from.front_theta());
  1030. }
  1031. if (from.border_statu() != 0) {
  1032. set_border_statu(from.border_statu());
  1033. }
  1034. if (from.ground_status() != 0) {
  1035. set_ground_status(from.ground_status());
  1036. }
  1037. }
  1038. void measure_info::CopyFrom(const ::google::protobuf::Message& from) {
  1039. // @@protoc_insertion_point(generalized_copy_from_start:measure_info)
  1040. if (&from == this) return;
  1041. Clear();
  1042. MergeFrom(from);
  1043. }
  1044. void measure_info::CopyFrom(const measure_info& from) {
  1045. // @@protoc_insertion_point(class_specific_copy_from_start:measure_info)
  1046. if (&from == this) return;
  1047. Clear();
  1048. MergeFrom(from);
  1049. }
  1050. bool measure_info::IsInitialized() const {
  1051. return true;
  1052. }
  1053. void measure_info::Swap(measure_info* other) {
  1054. if (other == this) return;
  1055. InternalSwap(other);
  1056. }
  1057. void measure_info::InternalSwap(measure_info* other) {
  1058. using std::swap;
  1059. swap(cx_, other->cx_);
  1060. swap(cy_, other->cy_);
  1061. swap(theta_, other->theta_);
  1062. swap(length_, other->length_);
  1063. swap(width_, other->width_);
  1064. swap(height_, other->height_);
  1065. swap(wheelbase_, other->wheelbase_);
  1066. swap(front_theta_, other->front_theta_);
  1067. swap(border_statu_, other->border_statu_);
  1068. swap(ground_status_, other->ground_status_);
  1069. _internal_metadata_.Swap(&other->_internal_metadata_);
  1070. swap(_cached_size_, other->_cached_size_);
  1071. }
  1072. ::google::protobuf::Metadata measure_info::GetMetadata() const {
  1073. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1074. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  1075. }
  1076. // ===================================================================
  1077. void parkspace_info::InitAsDefaultInstance() {
  1078. }
  1079. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1080. const int parkspace_info::kIdFieldNumber;
  1081. const int parkspace_info::kSerialIdFieldNumber;
  1082. const int parkspace_info::kTableIdFieldNumber;
  1083. const int parkspace_info::kUnitIdFieldNumber;
  1084. const int parkspace_info::kFloorFieldNumber;
  1085. const int parkspace_info::kRoomIdFieldNumber;
  1086. const int parkspace_info::kHeightFieldNumber;
  1087. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1088. parkspace_info::parkspace_info()
  1089. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1090. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  1091. ::protobuf_message_2eproto::InitDefaultsparkspace_info();
  1092. }
  1093. SharedCtor();
  1094. // @@protoc_insertion_point(constructor:parkspace_info)
  1095. }
  1096. parkspace_info::parkspace_info(const parkspace_info& from)
  1097. : ::google::protobuf::Message(),
  1098. _internal_metadata_(NULL),
  1099. _cached_size_(0) {
  1100. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1101. ::memcpy(&id_, &from.id_,
  1102. static_cast<size_t>(reinterpret_cast<char*>(&height_) -
  1103. reinterpret_cast<char*>(&id_)) + sizeof(height_));
  1104. // @@protoc_insertion_point(copy_constructor:parkspace_info)
  1105. }
  1106. void parkspace_info::SharedCtor() {
  1107. ::memset(&id_, 0, static_cast<size_t>(
  1108. reinterpret_cast<char*>(&height_) -
  1109. reinterpret_cast<char*>(&id_)) + sizeof(height_));
  1110. _cached_size_ = 0;
  1111. }
  1112. parkspace_info::~parkspace_info() {
  1113. // @@protoc_insertion_point(destructor:parkspace_info)
  1114. SharedDtor();
  1115. }
  1116. void parkspace_info::SharedDtor() {
  1117. }
  1118. void parkspace_info::SetCachedSize(int size) const {
  1119. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1120. _cached_size_ = size;
  1121. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1122. }
  1123. const ::google::protobuf::Descriptor* parkspace_info::descriptor() {
  1124. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1125. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1126. }
  1127. const parkspace_info& parkspace_info::default_instance() {
  1128. ::protobuf_message_2eproto::InitDefaultsparkspace_info();
  1129. return *internal_default_instance();
  1130. }
  1131. parkspace_info* parkspace_info::New(::google::protobuf::Arena* arena) const {
  1132. parkspace_info* n = new parkspace_info;
  1133. if (arena != NULL) {
  1134. arena->Own(n);
  1135. }
  1136. return n;
  1137. }
  1138. void parkspace_info::Clear() {
  1139. // @@protoc_insertion_point(message_clear_start:parkspace_info)
  1140. ::google::protobuf::uint32 cached_has_bits = 0;
  1141. // Prevent compiler warnings about cached_has_bits being unused
  1142. (void) cached_has_bits;
  1143. ::memset(&id_, 0, static_cast<size_t>(
  1144. reinterpret_cast<char*>(&height_) -
  1145. reinterpret_cast<char*>(&id_)) + sizeof(height_));
  1146. _internal_metadata_.Clear();
  1147. }
  1148. bool parkspace_info::MergePartialFromCodedStream(
  1149. ::google::protobuf::io::CodedInputStream* input) {
  1150. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1151. ::google::protobuf::uint32 tag;
  1152. // @@protoc_insertion_point(parse_start:parkspace_info)
  1153. for (;;) {
  1154. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1155. tag = p.first;
  1156. if (!p.second) goto handle_unusual;
  1157. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1158. // int32 id = 1;
  1159. case 1: {
  1160. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1161. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  1162. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1163. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1164. input, &id_)));
  1165. } else {
  1166. goto handle_unusual;
  1167. }
  1168. break;
  1169. }
  1170. // int32 serial_id = 2;
  1171. case 2: {
  1172. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1173. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  1174. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1175. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1176. input, &serial_id_)));
  1177. } else {
  1178. goto handle_unusual;
  1179. }
  1180. break;
  1181. }
  1182. // int32 table_id = 3;
  1183. case 3: {
  1184. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1185. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  1186. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1187. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1188. input, &table_id_)));
  1189. } else {
  1190. goto handle_unusual;
  1191. }
  1192. break;
  1193. }
  1194. // int32 unit_id = 4;
  1195. case 4: {
  1196. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1197. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  1198. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1199. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1200. input, &unit_id_)));
  1201. } else {
  1202. goto handle_unusual;
  1203. }
  1204. break;
  1205. }
  1206. // int32 floor = 5;
  1207. case 5: {
  1208. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1209. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  1210. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1211. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1212. input, &floor_)));
  1213. } else {
  1214. goto handle_unusual;
  1215. }
  1216. break;
  1217. }
  1218. // int32 room_id = 6;
  1219. case 6: {
  1220. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1221. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  1222. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1223. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1224. input, &room_id_)));
  1225. } else {
  1226. goto handle_unusual;
  1227. }
  1228. break;
  1229. }
  1230. // float height = 7;
  1231. case 7: {
  1232. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1233. static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
  1234. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1235. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  1236. input, &height_)));
  1237. } else {
  1238. goto handle_unusual;
  1239. }
  1240. break;
  1241. }
  1242. default: {
  1243. handle_unusual:
  1244. if (tag == 0) {
  1245. goto success;
  1246. }
  1247. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1248. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1249. break;
  1250. }
  1251. }
  1252. }
  1253. success:
  1254. // @@protoc_insertion_point(parse_success:parkspace_info)
  1255. return true;
  1256. failure:
  1257. // @@protoc_insertion_point(parse_failure:parkspace_info)
  1258. return false;
  1259. #undef DO_
  1260. }
  1261. void parkspace_info::SerializeWithCachedSizes(
  1262. ::google::protobuf::io::CodedOutputStream* output) const {
  1263. // @@protoc_insertion_point(serialize_start:parkspace_info)
  1264. ::google::protobuf::uint32 cached_has_bits = 0;
  1265. (void) cached_has_bits;
  1266. // int32 id = 1;
  1267. if (this->id() != 0) {
  1268. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  1269. }
  1270. // int32 serial_id = 2;
  1271. if (this->serial_id() != 0) {
  1272. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->serial_id(), output);
  1273. }
  1274. // int32 table_id = 3;
  1275. if (this->table_id() != 0) {
  1276. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->table_id(), output);
  1277. }
  1278. // int32 unit_id = 4;
  1279. if (this->unit_id() != 0) {
  1280. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
  1281. }
  1282. // int32 floor = 5;
  1283. if (this->floor() != 0) {
  1284. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->floor(), output);
  1285. }
  1286. // int32 room_id = 6;
  1287. if (this->room_id() != 0) {
  1288. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->room_id(), output);
  1289. }
  1290. // float height = 7;
  1291. if (this->height() != 0) {
  1292. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->height(), output);
  1293. }
  1294. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1295. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1296. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1297. }
  1298. // @@protoc_insertion_point(serialize_end:parkspace_info)
  1299. }
  1300. ::google::protobuf::uint8* parkspace_info::InternalSerializeWithCachedSizesToArray(
  1301. bool deterministic, ::google::protobuf::uint8* target) const {
  1302. (void)deterministic; // Unused
  1303. // @@protoc_insertion_point(serialize_to_array_start:parkspace_info)
  1304. ::google::protobuf::uint32 cached_has_bits = 0;
  1305. (void) cached_has_bits;
  1306. // int32 id = 1;
  1307. if (this->id() != 0) {
  1308. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
  1309. }
  1310. // int32 serial_id = 2;
  1311. if (this->serial_id() != 0) {
  1312. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->serial_id(), target);
  1313. }
  1314. // int32 table_id = 3;
  1315. if (this->table_id() != 0) {
  1316. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->table_id(), target);
  1317. }
  1318. // int32 unit_id = 4;
  1319. if (this->unit_id() != 0) {
  1320. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
  1321. }
  1322. // int32 floor = 5;
  1323. if (this->floor() != 0) {
  1324. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->floor(), target);
  1325. }
  1326. // int32 room_id = 6;
  1327. if (this->room_id() != 0) {
  1328. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->room_id(), target);
  1329. }
  1330. // float height = 7;
  1331. if (this->height() != 0) {
  1332. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->height(), target);
  1333. }
  1334. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1335. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1336. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  1337. }
  1338. // @@protoc_insertion_point(serialize_to_array_end:parkspace_info)
  1339. return target;
  1340. }
  1341. size_t parkspace_info::ByteSizeLong() const {
  1342. // @@protoc_insertion_point(message_byte_size_start:parkspace_info)
  1343. size_t total_size = 0;
  1344. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1345. total_size +=
  1346. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1347. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  1348. }
  1349. // int32 id = 1;
  1350. if (this->id() != 0) {
  1351. total_size += 1 +
  1352. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1353. this->id());
  1354. }
  1355. // int32 serial_id = 2;
  1356. if (this->serial_id() != 0) {
  1357. total_size += 1 +
  1358. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1359. this->serial_id());
  1360. }
  1361. // int32 table_id = 3;
  1362. if (this->table_id() != 0) {
  1363. total_size += 1 +
  1364. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1365. this->table_id());
  1366. }
  1367. // int32 unit_id = 4;
  1368. if (this->unit_id() != 0) {
  1369. total_size += 1 +
  1370. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1371. this->unit_id());
  1372. }
  1373. // int32 floor = 5;
  1374. if (this->floor() != 0) {
  1375. total_size += 1 +
  1376. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1377. this->floor());
  1378. }
  1379. // int32 room_id = 6;
  1380. if (this->room_id() != 0) {
  1381. total_size += 1 +
  1382. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1383. this->room_id());
  1384. }
  1385. // float height = 7;
  1386. if (this->height() != 0) {
  1387. total_size += 1 + 4;
  1388. }
  1389. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1390. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1391. _cached_size_ = cached_size;
  1392. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1393. return total_size;
  1394. }
  1395. void parkspace_info::MergeFrom(const ::google::protobuf::Message& from) {
  1396. // @@protoc_insertion_point(generalized_merge_from_start:parkspace_info)
  1397. GOOGLE_DCHECK_NE(&from, this);
  1398. const parkspace_info* source =
  1399. ::google::protobuf::internal::DynamicCastToGenerated<const parkspace_info>(
  1400. &from);
  1401. if (source == NULL) {
  1402. // @@protoc_insertion_point(generalized_merge_from_cast_fail:parkspace_info)
  1403. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1404. } else {
  1405. // @@protoc_insertion_point(generalized_merge_from_cast_success:parkspace_info)
  1406. MergeFrom(*source);
  1407. }
  1408. }
  1409. void parkspace_info::MergeFrom(const parkspace_info& from) {
  1410. // @@protoc_insertion_point(class_specific_merge_from_start:parkspace_info)
  1411. GOOGLE_DCHECK_NE(&from, this);
  1412. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1413. ::google::protobuf::uint32 cached_has_bits = 0;
  1414. (void) cached_has_bits;
  1415. if (from.id() != 0) {
  1416. set_id(from.id());
  1417. }
  1418. if (from.serial_id() != 0) {
  1419. set_serial_id(from.serial_id());
  1420. }
  1421. if (from.table_id() != 0) {
  1422. set_table_id(from.table_id());
  1423. }
  1424. if (from.unit_id() != 0) {
  1425. set_unit_id(from.unit_id());
  1426. }
  1427. if (from.floor() != 0) {
  1428. set_floor(from.floor());
  1429. }
  1430. if (from.room_id() != 0) {
  1431. set_room_id(from.room_id());
  1432. }
  1433. if (from.height() != 0) {
  1434. set_height(from.height());
  1435. }
  1436. }
  1437. void parkspace_info::CopyFrom(const ::google::protobuf::Message& from) {
  1438. // @@protoc_insertion_point(generalized_copy_from_start:parkspace_info)
  1439. if (&from == this) return;
  1440. Clear();
  1441. MergeFrom(from);
  1442. }
  1443. void parkspace_info::CopyFrom(const parkspace_info& from) {
  1444. // @@protoc_insertion_point(class_specific_copy_from_start:parkspace_info)
  1445. if (&from == this) return;
  1446. Clear();
  1447. MergeFrom(from);
  1448. }
  1449. bool parkspace_info::IsInitialized() const {
  1450. return true;
  1451. }
  1452. void parkspace_info::Swap(parkspace_info* other) {
  1453. if (other == this) return;
  1454. InternalSwap(other);
  1455. }
  1456. void parkspace_info::InternalSwap(parkspace_info* other) {
  1457. using std::swap;
  1458. swap(id_, other->id_);
  1459. swap(serial_id_, other->serial_id_);
  1460. swap(table_id_, other->table_id_);
  1461. swap(unit_id_, other->unit_id_);
  1462. swap(floor_, other->floor_);
  1463. swap(room_id_, other->room_id_);
  1464. swap(height_, other->height_);
  1465. _internal_metadata_.Swap(&other->_internal_metadata_);
  1466. swap(_cached_size_, other->_cached_size_);
  1467. }
  1468. ::google::protobuf::Metadata parkspace_info::GetMetadata() const {
  1469. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1470. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  1471. }
  1472. // ===================================================================
  1473. void table_statu::InitAsDefaultInstance() {
  1474. }
  1475. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1476. const int table_statu::kExecuteStatuFieldNumber;
  1477. const int table_statu::kStatuDescriptionFieldNumber;
  1478. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1479. table_statu::table_statu()
  1480. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1481. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  1482. ::protobuf_message_2eproto::InitDefaultstable_statu();
  1483. }
  1484. SharedCtor();
  1485. // @@protoc_insertion_point(constructor:table_statu)
  1486. }
  1487. table_statu::table_statu(const table_statu& from)
  1488. : ::google::protobuf::Message(),
  1489. _internal_metadata_(NULL),
  1490. _cached_size_(0) {
  1491. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1492. statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1493. if (from.statu_description().size() > 0) {
  1494. statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
  1495. }
  1496. execute_statu_ = from.execute_statu_;
  1497. // @@protoc_insertion_point(copy_constructor:table_statu)
  1498. }
  1499. void table_statu::SharedCtor() {
  1500. statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1501. execute_statu_ = 0;
  1502. _cached_size_ = 0;
  1503. }
  1504. table_statu::~table_statu() {
  1505. // @@protoc_insertion_point(destructor:table_statu)
  1506. SharedDtor();
  1507. }
  1508. void table_statu::SharedDtor() {
  1509. statu_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1510. }
  1511. void table_statu::SetCachedSize(int size) const {
  1512. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1513. _cached_size_ = size;
  1514. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1515. }
  1516. const ::google::protobuf::Descriptor* table_statu::descriptor() {
  1517. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1518. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1519. }
  1520. const table_statu& table_statu::default_instance() {
  1521. ::protobuf_message_2eproto::InitDefaultstable_statu();
  1522. return *internal_default_instance();
  1523. }
  1524. table_statu* table_statu::New(::google::protobuf::Arena* arena) const {
  1525. table_statu* n = new table_statu;
  1526. if (arena != NULL) {
  1527. arena->Own(n);
  1528. }
  1529. return n;
  1530. }
  1531. void table_statu::Clear() {
  1532. // @@protoc_insertion_point(message_clear_start:table_statu)
  1533. ::google::protobuf::uint32 cached_has_bits = 0;
  1534. // Prevent compiler warnings about cached_has_bits being unused
  1535. (void) cached_has_bits;
  1536. statu_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1537. execute_statu_ = 0;
  1538. _internal_metadata_.Clear();
  1539. }
  1540. bool table_statu::MergePartialFromCodedStream(
  1541. ::google::protobuf::io::CodedInputStream* input) {
  1542. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1543. ::google::protobuf::uint32 tag;
  1544. // @@protoc_insertion_point(parse_start:table_statu)
  1545. for (;;) {
  1546. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1547. tag = p.first;
  1548. if (!p.second) goto handle_unusual;
  1549. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1550. // .STATU execute_statu = 1;
  1551. case 1: {
  1552. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1553. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  1554. int value;
  1555. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1556. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1557. input, &value)));
  1558. set_execute_statu(static_cast< ::STATU >(value));
  1559. } else {
  1560. goto handle_unusual;
  1561. }
  1562. break;
  1563. }
  1564. // string statu_description = 2;
  1565. case 2: {
  1566. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1567. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1568. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1569. input, this->mutable_statu_description()));
  1570. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1571. this->statu_description().data(), static_cast<int>(this->statu_description().length()),
  1572. ::google::protobuf::internal::WireFormatLite::PARSE,
  1573. "table_statu.statu_description"));
  1574. } else {
  1575. goto handle_unusual;
  1576. }
  1577. break;
  1578. }
  1579. default: {
  1580. handle_unusual:
  1581. if (tag == 0) {
  1582. goto success;
  1583. }
  1584. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1585. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1586. break;
  1587. }
  1588. }
  1589. }
  1590. success:
  1591. // @@protoc_insertion_point(parse_success:table_statu)
  1592. return true;
  1593. failure:
  1594. // @@protoc_insertion_point(parse_failure:table_statu)
  1595. return false;
  1596. #undef DO_
  1597. }
  1598. void table_statu::SerializeWithCachedSizes(
  1599. ::google::protobuf::io::CodedOutputStream* output) const {
  1600. // @@protoc_insertion_point(serialize_start:table_statu)
  1601. ::google::protobuf::uint32 cached_has_bits = 0;
  1602. (void) cached_has_bits;
  1603. // .STATU execute_statu = 1;
  1604. if (this->execute_statu() != 0) {
  1605. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1606. 1, this->execute_statu(), output);
  1607. }
  1608. // string statu_description = 2;
  1609. if (this->statu_description().size() > 0) {
  1610. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1611. this->statu_description().data(), static_cast<int>(this->statu_description().length()),
  1612. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1613. "table_statu.statu_description");
  1614. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1615. 2, this->statu_description(), output);
  1616. }
  1617. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1618. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1619. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1620. }
  1621. // @@protoc_insertion_point(serialize_end:table_statu)
  1622. }
  1623. ::google::protobuf::uint8* table_statu::InternalSerializeWithCachedSizesToArray(
  1624. bool deterministic, ::google::protobuf::uint8* target) const {
  1625. (void)deterministic; // Unused
  1626. // @@protoc_insertion_point(serialize_to_array_start:table_statu)
  1627. ::google::protobuf::uint32 cached_has_bits = 0;
  1628. (void) cached_has_bits;
  1629. // .STATU execute_statu = 1;
  1630. if (this->execute_statu() != 0) {
  1631. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1632. 1, this->execute_statu(), target);
  1633. }
  1634. // string statu_description = 2;
  1635. if (this->statu_description().size() > 0) {
  1636. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1637. this->statu_description().data(), static_cast<int>(this->statu_description().length()),
  1638. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1639. "table_statu.statu_description");
  1640. target =
  1641. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1642. 2, this->statu_description(), target);
  1643. }
  1644. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1645. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1646. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  1647. }
  1648. // @@protoc_insertion_point(serialize_to_array_end:table_statu)
  1649. return target;
  1650. }
  1651. size_t table_statu::ByteSizeLong() const {
  1652. // @@protoc_insertion_point(message_byte_size_start:table_statu)
  1653. size_t total_size = 0;
  1654. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1655. total_size +=
  1656. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1657. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  1658. }
  1659. // string statu_description = 2;
  1660. if (this->statu_description().size() > 0) {
  1661. total_size += 1 +
  1662. ::google::protobuf::internal::WireFormatLite::StringSize(
  1663. this->statu_description());
  1664. }
  1665. // .STATU execute_statu = 1;
  1666. if (this->execute_statu() != 0) {
  1667. total_size += 1 +
  1668. ::google::protobuf::internal::WireFormatLite::EnumSize(this->execute_statu());
  1669. }
  1670. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1671. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1672. _cached_size_ = cached_size;
  1673. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1674. return total_size;
  1675. }
  1676. void table_statu::MergeFrom(const ::google::protobuf::Message& from) {
  1677. // @@protoc_insertion_point(generalized_merge_from_start:table_statu)
  1678. GOOGLE_DCHECK_NE(&from, this);
  1679. const table_statu* source =
  1680. ::google::protobuf::internal::DynamicCastToGenerated<const table_statu>(
  1681. &from);
  1682. if (source == NULL) {
  1683. // @@protoc_insertion_point(generalized_merge_from_cast_fail:table_statu)
  1684. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1685. } else {
  1686. // @@protoc_insertion_point(generalized_merge_from_cast_success:table_statu)
  1687. MergeFrom(*source);
  1688. }
  1689. }
  1690. void table_statu::MergeFrom(const table_statu& from) {
  1691. // @@protoc_insertion_point(class_specific_merge_from_start:table_statu)
  1692. GOOGLE_DCHECK_NE(&from, this);
  1693. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1694. ::google::protobuf::uint32 cached_has_bits = 0;
  1695. (void) cached_has_bits;
  1696. if (from.statu_description().size() > 0) {
  1697. statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
  1698. }
  1699. if (from.execute_statu() != 0) {
  1700. set_execute_statu(from.execute_statu());
  1701. }
  1702. }
  1703. void table_statu::CopyFrom(const ::google::protobuf::Message& from) {
  1704. // @@protoc_insertion_point(generalized_copy_from_start:table_statu)
  1705. if (&from == this) return;
  1706. Clear();
  1707. MergeFrom(from);
  1708. }
  1709. void table_statu::CopyFrom(const table_statu& from) {
  1710. // @@protoc_insertion_point(class_specific_copy_from_start:table_statu)
  1711. if (&from == this) return;
  1712. Clear();
  1713. MergeFrom(from);
  1714. }
  1715. bool table_statu::IsInitialized() const {
  1716. return true;
  1717. }
  1718. void table_statu::Swap(table_statu* other) {
  1719. if (other == this) return;
  1720. InternalSwap(other);
  1721. }
  1722. void table_statu::InternalSwap(table_statu* other) {
  1723. using std::swap;
  1724. statu_description_.Swap(&other->statu_description_);
  1725. swap(execute_statu_, other->execute_statu_);
  1726. _internal_metadata_.Swap(&other->_internal_metadata_);
  1727. swap(_cached_size_, other->_cached_size_);
  1728. }
  1729. ::google::protobuf::Metadata table_statu::GetMetadata() const {
  1730. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1731. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  1732. }
  1733. // ===================================================================
  1734. void plate_number_info::InitAsDefaultInstance() {
  1735. }
  1736. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1737. const int plate_number_info::kPlateNumberFieldNumber;
  1738. const int plate_number_info::kPlateColorFieldNumber;
  1739. const int plate_number_info::kPlateTypeFieldNumber;
  1740. const int plate_number_info::kPlateConfidenceFieldNumber;
  1741. const int plate_number_info::kRecognitionTimeFieldNumber;
  1742. const int plate_number_info::kPlateFullImageFieldNumber;
  1743. const int plate_number_info::kPlateClipImageFieldNumber;
  1744. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1745. plate_number_info::plate_number_info()
  1746. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1747. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  1748. ::protobuf_message_2eproto::InitDefaultsplate_number_info();
  1749. }
  1750. SharedCtor();
  1751. // @@protoc_insertion_point(constructor:plate_number_info)
  1752. }
  1753. plate_number_info::plate_number_info(const plate_number_info& from)
  1754. : ::google::protobuf::Message(),
  1755. _internal_metadata_(NULL),
  1756. _cached_size_(0) {
  1757. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1758. plate_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1759. if (from.plate_number().size() > 0) {
  1760. plate_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_number_);
  1761. }
  1762. plate_color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1763. if (from.plate_color().size() > 0) {
  1764. plate_color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_color_);
  1765. }
  1766. plate_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1767. if (from.plate_type().size() > 0) {
  1768. plate_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_type_);
  1769. }
  1770. recognition_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1771. if (from.recognition_time().size() > 0) {
  1772. recognition_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.recognition_time_);
  1773. }
  1774. plate_full_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1775. if (from.plate_full_image().size() > 0) {
  1776. plate_full_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_full_image_);
  1777. }
  1778. plate_clip_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1779. if (from.plate_clip_image().size() > 0) {
  1780. plate_clip_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_clip_image_);
  1781. }
  1782. plate_confidence_ = from.plate_confidence_;
  1783. // @@protoc_insertion_point(copy_constructor:plate_number_info)
  1784. }
  1785. void plate_number_info::SharedCtor() {
  1786. plate_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1787. plate_color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1788. plate_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1789. recognition_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1790. plate_full_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1791. plate_clip_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1792. plate_confidence_ = 0;
  1793. _cached_size_ = 0;
  1794. }
  1795. plate_number_info::~plate_number_info() {
  1796. // @@protoc_insertion_point(destructor:plate_number_info)
  1797. SharedDtor();
  1798. }
  1799. void plate_number_info::SharedDtor() {
  1800. plate_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1801. plate_color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1802. plate_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1803. recognition_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1804. plate_full_image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1805. plate_clip_image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1806. }
  1807. void plate_number_info::SetCachedSize(int size) const {
  1808. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1809. _cached_size_ = size;
  1810. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1811. }
  1812. const ::google::protobuf::Descriptor* plate_number_info::descriptor() {
  1813. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  1814. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1815. }
  1816. const plate_number_info& plate_number_info::default_instance() {
  1817. ::protobuf_message_2eproto::InitDefaultsplate_number_info();
  1818. return *internal_default_instance();
  1819. }
  1820. plate_number_info* plate_number_info::New(::google::protobuf::Arena* arena) const {
  1821. plate_number_info* n = new plate_number_info;
  1822. if (arena != NULL) {
  1823. arena->Own(n);
  1824. }
  1825. return n;
  1826. }
  1827. void plate_number_info::Clear() {
  1828. // @@protoc_insertion_point(message_clear_start:plate_number_info)
  1829. ::google::protobuf::uint32 cached_has_bits = 0;
  1830. // Prevent compiler warnings about cached_has_bits being unused
  1831. (void) cached_has_bits;
  1832. plate_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1833. plate_color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1834. plate_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1835. recognition_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1836. plate_full_image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1837. plate_clip_image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1838. plate_confidence_ = 0;
  1839. _internal_metadata_.Clear();
  1840. }
  1841. bool plate_number_info::MergePartialFromCodedStream(
  1842. ::google::protobuf::io::CodedInputStream* input) {
  1843. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1844. ::google::protobuf::uint32 tag;
  1845. // @@protoc_insertion_point(parse_start:plate_number_info)
  1846. for (;;) {
  1847. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1848. tag = p.first;
  1849. if (!p.second) goto handle_unusual;
  1850. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1851. // string plate_number = 1;
  1852. case 1: {
  1853. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1854. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1855. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1856. input, this->mutable_plate_number()));
  1857. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1858. this->plate_number().data(), static_cast<int>(this->plate_number().length()),
  1859. ::google::protobuf::internal::WireFormatLite::PARSE,
  1860. "plate_number_info.plate_number"));
  1861. } else {
  1862. goto handle_unusual;
  1863. }
  1864. break;
  1865. }
  1866. // string plate_color = 2;
  1867. case 2: {
  1868. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1869. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1870. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1871. input, this->mutable_plate_color()));
  1872. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1873. this->plate_color().data(), static_cast<int>(this->plate_color().length()),
  1874. ::google::protobuf::internal::WireFormatLite::PARSE,
  1875. "plate_number_info.plate_color"));
  1876. } else {
  1877. goto handle_unusual;
  1878. }
  1879. break;
  1880. }
  1881. // string plate_type = 3;
  1882. case 3: {
  1883. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1884. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1885. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1886. input, this->mutable_plate_type()));
  1887. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1888. this->plate_type().data(), static_cast<int>(this->plate_type().length()),
  1889. ::google::protobuf::internal::WireFormatLite::PARSE,
  1890. "plate_number_info.plate_type"));
  1891. } else {
  1892. goto handle_unusual;
  1893. }
  1894. break;
  1895. }
  1896. // int32 plate_confidence = 4;
  1897. case 4: {
  1898. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1899. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  1900. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1901. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1902. input, &plate_confidence_)));
  1903. } else {
  1904. goto handle_unusual;
  1905. }
  1906. break;
  1907. }
  1908. // string recognition_time = 5;
  1909. case 5: {
  1910. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1911. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  1912. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1913. input, this->mutable_recognition_time()));
  1914. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1915. this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
  1916. ::google::protobuf::internal::WireFormatLite::PARSE,
  1917. "plate_number_info.recognition_time"));
  1918. } else {
  1919. goto handle_unusual;
  1920. }
  1921. break;
  1922. }
  1923. // string plate_full_image = 6;
  1924. case 6: {
  1925. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1926. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  1927. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1928. input, this->mutable_plate_full_image()));
  1929. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1930. this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
  1931. ::google::protobuf::internal::WireFormatLite::PARSE,
  1932. "plate_number_info.plate_full_image"));
  1933. } else {
  1934. goto handle_unusual;
  1935. }
  1936. break;
  1937. }
  1938. // string plate_clip_image = 7;
  1939. case 7: {
  1940. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1941. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  1942. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1943. input, this->mutable_plate_clip_image()));
  1944. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1945. this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
  1946. ::google::protobuf::internal::WireFormatLite::PARSE,
  1947. "plate_number_info.plate_clip_image"));
  1948. } else {
  1949. goto handle_unusual;
  1950. }
  1951. break;
  1952. }
  1953. default: {
  1954. handle_unusual:
  1955. if (tag == 0) {
  1956. goto success;
  1957. }
  1958. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1959. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1960. break;
  1961. }
  1962. }
  1963. }
  1964. success:
  1965. // @@protoc_insertion_point(parse_success:plate_number_info)
  1966. return true;
  1967. failure:
  1968. // @@protoc_insertion_point(parse_failure:plate_number_info)
  1969. return false;
  1970. #undef DO_
  1971. }
  1972. void plate_number_info::SerializeWithCachedSizes(
  1973. ::google::protobuf::io::CodedOutputStream* output) const {
  1974. // @@protoc_insertion_point(serialize_start:plate_number_info)
  1975. ::google::protobuf::uint32 cached_has_bits = 0;
  1976. (void) cached_has_bits;
  1977. // string plate_number = 1;
  1978. if (this->plate_number().size() > 0) {
  1979. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1980. this->plate_number().data(), static_cast<int>(this->plate_number().length()),
  1981. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1982. "plate_number_info.plate_number");
  1983. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1984. 1, this->plate_number(), output);
  1985. }
  1986. // string plate_color = 2;
  1987. if (this->plate_color().size() > 0) {
  1988. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1989. this->plate_color().data(), static_cast<int>(this->plate_color().length()),
  1990. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1991. "plate_number_info.plate_color");
  1992. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1993. 2, this->plate_color(), output);
  1994. }
  1995. // string plate_type = 3;
  1996. if (this->plate_type().size() > 0) {
  1997. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1998. this->plate_type().data(), static_cast<int>(this->plate_type().length()),
  1999. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2000. "plate_number_info.plate_type");
  2001. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2002. 3, this->plate_type(), output);
  2003. }
  2004. // int32 plate_confidence = 4;
  2005. if (this->plate_confidence() != 0) {
  2006. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->plate_confidence(), output);
  2007. }
  2008. // string recognition_time = 5;
  2009. if (this->recognition_time().size() > 0) {
  2010. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2011. this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
  2012. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2013. "plate_number_info.recognition_time");
  2014. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2015. 5, this->recognition_time(), output);
  2016. }
  2017. // string plate_full_image = 6;
  2018. if (this->plate_full_image().size() > 0) {
  2019. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2020. this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
  2021. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2022. "plate_number_info.plate_full_image");
  2023. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2024. 6, this->plate_full_image(), output);
  2025. }
  2026. // string plate_clip_image = 7;
  2027. if (this->plate_clip_image().size() > 0) {
  2028. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2029. this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
  2030. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2031. "plate_number_info.plate_clip_image");
  2032. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2033. 7, this->plate_clip_image(), output);
  2034. }
  2035. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2036. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2037. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  2038. }
  2039. // @@protoc_insertion_point(serialize_end:plate_number_info)
  2040. }
  2041. ::google::protobuf::uint8* plate_number_info::InternalSerializeWithCachedSizesToArray(
  2042. bool deterministic, ::google::protobuf::uint8* target) const {
  2043. (void)deterministic; // Unused
  2044. // @@protoc_insertion_point(serialize_to_array_start:plate_number_info)
  2045. ::google::protobuf::uint32 cached_has_bits = 0;
  2046. (void) cached_has_bits;
  2047. // string plate_number = 1;
  2048. if (this->plate_number().size() > 0) {
  2049. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2050. this->plate_number().data(), static_cast<int>(this->plate_number().length()),
  2051. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2052. "plate_number_info.plate_number");
  2053. target =
  2054. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2055. 1, this->plate_number(), target);
  2056. }
  2057. // string plate_color = 2;
  2058. if (this->plate_color().size() > 0) {
  2059. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2060. this->plate_color().data(), static_cast<int>(this->plate_color().length()),
  2061. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2062. "plate_number_info.plate_color");
  2063. target =
  2064. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2065. 2, this->plate_color(), target);
  2066. }
  2067. // string plate_type = 3;
  2068. if (this->plate_type().size() > 0) {
  2069. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2070. this->plate_type().data(), static_cast<int>(this->plate_type().length()),
  2071. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2072. "plate_number_info.plate_type");
  2073. target =
  2074. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2075. 3, this->plate_type(), target);
  2076. }
  2077. // int32 plate_confidence = 4;
  2078. if (this->plate_confidence() != 0) {
  2079. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->plate_confidence(), target);
  2080. }
  2081. // string recognition_time = 5;
  2082. if (this->recognition_time().size() > 0) {
  2083. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2084. this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
  2085. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2086. "plate_number_info.recognition_time");
  2087. target =
  2088. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2089. 5, this->recognition_time(), target);
  2090. }
  2091. // string plate_full_image = 6;
  2092. if (this->plate_full_image().size() > 0) {
  2093. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2094. this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
  2095. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2096. "plate_number_info.plate_full_image");
  2097. target =
  2098. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2099. 6, this->plate_full_image(), target);
  2100. }
  2101. // string plate_clip_image = 7;
  2102. if (this->plate_clip_image().size() > 0) {
  2103. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2104. this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
  2105. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2106. "plate_number_info.plate_clip_image");
  2107. target =
  2108. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2109. 7, this->plate_clip_image(), target);
  2110. }
  2111. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2112. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2113. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2114. }
  2115. // @@protoc_insertion_point(serialize_to_array_end:plate_number_info)
  2116. return target;
  2117. }
  2118. size_t plate_number_info::ByteSizeLong() const {
  2119. // @@protoc_insertion_point(message_byte_size_start:plate_number_info)
  2120. size_t total_size = 0;
  2121. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2122. total_size +=
  2123. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2124. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2125. }
  2126. // string plate_number = 1;
  2127. if (this->plate_number().size() > 0) {
  2128. total_size += 1 +
  2129. ::google::protobuf::internal::WireFormatLite::StringSize(
  2130. this->plate_number());
  2131. }
  2132. // string plate_color = 2;
  2133. if (this->plate_color().size() > 0) {
  2134. total_size += 1 +
  2135. ::google::protobuf::internal::WireFormatLite::StringSize(
  2136. this->plate_color());
  2137. }
  2138. // string plate_type = 3;
  2139. if (this->plate_type().size() > 0) {
  2140. total_size += 1 +
  2141. ::google::protobuf::internal::WireFormatLite::StringSize(
  2142. this->plate_type());
  2143. }
  2144. // string recognition_time = 5;
  2145. if (this->recognition_time().size() > 0) {
  2146. total_size += 1 +
  2147. ::google::protobuf::internal::WireFormatLite::StringSize(
  2148. this->recognition_time());
  2149. }
  2150. // string plate_full_image = 6;
  2151. if (this->plate_full_image().size() > 0) {
  2152. total_size += 1 +
  2153. ::google::protobuf::internal::WireFormatLite::StringSize(
  2154. this->plate_full_image());
  2155. }
  2156. // string plate_clip_image = 7;
  2157. if (this->plate_clip_image().size() > 0) {
  2158. total_size += 1 +
  2159. ::google::protobuf::internal::WireFormatLite::StringSize(
  2160. this->plate_clip_image());
  2161. }
  2162. // int32 plate_confidence = 4;
  2163. if (this->plate_confidence() != 0) {
  2164. total_size += 1 +
  2165. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2166. this->plate_confidence());
  2167. }
  2168. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2169. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2170. _cached_size_ = cached_size;
  2171. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2172. return total_size;
  2173. }
  2174. void plate_number_info::MergeFrom(const ::google::protobuf::Message& from) {
  2175. // @@protoc_insertion_point(generalized_merge_from_start:plate_number_info)
  2176. GOOGLE_DCHECK_NE(&from, this);
  2177. const plate_number_info* source =
  2178. ::google::protobuf::internal::DynamicCastToGenerated<const plate_number_info>(
  2179. &from);
  2180. if (source == NULL) {
  2181. // @@protoc_insertion_point(generalized_merge_from_cast_fail:plate_number_info)
  2182. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2183. } else {
  2184. // @@protoc_insertion_point(generalized_merge_from_cast_success:plate_number_info)
  2185. MergeFrom(*source);
  2186. }
  2187. }
  2188. void plate_number_info::MergeFrom(const plate_number_info& from) {
  2189. // @@protoc_insertion_point(class_specific_merge_from_start:plate_number_info)
  2190. GOOGLE_DCHECK_NE(&from, this);
  2191. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2192. ::google::protobuf::uint32 cached_has_bits = 0;
  2193. (void) cached_has_bits;
  2194. if (from.plate_number().size() > 0) {
  2195. plate_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_number_);
  2196. }
  2197. if (from.plate_color().size() > 0) {
  2198. plate_color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_color_);
  2199. }
  2200. if (from.plate_type().size() > 0) {
  2201. plate_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_type_);
  2202. }
  2203. if (from.recognition_time().size() > 0) {
  2204. recognition_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.recognition_time_);
  2205. }
  2206. if (from.plate_full_image().size() > 0) {
  2207. plate_full_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_full_image_);
  2208. }
  2209. if (from.plate_clip_image().size() > 0) {
  2210. plate_clip_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_clip_image_);
  2211. }
  2212. if (from.plate_confidence() != 0) {
  2213. set_plate_confidence(from.plate_confidence());
  2214. }
  2215. }
  2216. void plate_number_info::CopyFrom(const ::google::protobuf::Message& from) {
  2217. // @@protoc_insertion_point(generalized_copy_from_start:plate_number_info)
  2218. if (&from == this) return;
  2219. Clear();
  2220. MergeFrom(from);
  2221. }
  2222. void plate_number_info::CopyFrom(const plate_number_info& from) {
  2223. // @@protoc_insertion_point(class_specific_copy_from_start:plate_number_info)
  2224. if (&from == this) return;
  2225. Clear();
  2226. MergeFrom(from);
  2227. }
  2228. bool plate_number_info::IsInitialized() const {
  2229. return true;
  2230. }
  2231. void plate_number_info::Swap(plate_number_info* other) {
  2232. if (other == this) return;
  2233. InternalSwap(other);
  2234. }
  2235. void plate_number_info::InternalSwap(plate_number_info* other) {
  2236. using std::swap;
  2237. plate_number_.Swap(&other->plate_number_);
  2238. plate_color_.Swap(&other->plate_color_);
  2239. plate_type_.Swap(&other->plate_type_);
  2240. recognition_time_.Swap(&other->recognition_time_);
  2241. plate_full_image_.Swap(&other->plate_full_image_);
  2242. plate_clip_image_.Swap(&other->plate_clip_image_);
  2243. swap(plate_confidence_, other->plate_confidence_);
  2244. _internal_metadata_.Swap(&other->_internal_metadata_);
  2245. swap(_cached_size_, other->_cached_size_);
  2246. }
  2247. ::google::protobuf::Metadata plate_number_info::GetMetadata() const {
  2248. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  2249. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  2250. }
  2251. // ===================================================================
  2252. void park_table::InitAsDefaultInstance() {
  2253. ::_park_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
  2254. ::table_statu::internal_default_instance());
  2255. ::_park_table_default_instance_._instance.get_mutable()->entrance_measure_info_ = const_cast< ::measure_info*>(
  2256. ::measure_info::internal_default_instance());
  2257. ::_park_table_default_instance_._instance.get_mutable()->allocated_space_info_ = const_cast< ::parkspace_info*>(
  2258. ::parkspace_info::internal_default_instance());
  2259. ::_park_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
  2260. ::measure_info::internal_default_instance());
  2261. ::_park_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
  2262. ::parkspace_info::internal_default_instance());
  2263. ::_park_table_default_instance_._instance.get_mutable()->car_number_info_ = const_cast< ::plate_number_info*>(
  2264. ::plate_number_info::internal_default_instance());
  2265. }
  2266. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2267. const int park_table::kStatuFieldNumber;
  2268. const int park_table::kQueueIdFieldNumber;
  2269. const int park_table::kCarNumberFieldNumber;
  2270. const int park_table::kUnitIdFieldNumber;
  2271. const int park_table::kTerminalIdFieldNumber;
  2272. const int park_table::kPrimaryKeyFieldNumber;
  2273. const int park_table::kEntranceMeasureInfoFieldNumber;
  2274. const int park_table::kAllocatedSpaceInfoFieldNumber;
  2275. const int park_table::kActuallyMeasureInfoFieldNumber;
  2276. const int park_table::kActuallySpaceInfoFieldNumber;
  2277. const int park_table::kImportIdFieldNumber;
  2278. const int park_table::kCarNumberInfoFieldNumber;
  2279. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2280. park_table::park_table()
  2281. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2282. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  2283. ::protobuf_message_2eproto::InitDefaultspark_table();
  2284. }
  2285. SharedCtor();
  2286. // @@protoc_insertion_point(constructor:park_table)
  2287. }
  2288. park_table::park_table(const park_table& from)
  2289. : ::google::protobuf::Message(),
  2290. _internal_metadata_(NULL),
  2291. _cached_size_(0) {
  2292. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2293. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2294. if (from.car_number().size() > 0) {
  2295. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  2296. }
  2297. primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2298. if (from.primary_key().size() > 0) {
  2299. primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
  2300. }
  2301. if (from.has_statu()) {
  2302. statu_ = new ::table_statu(*from.statu_);
  2303. } else {
  2304. statu_ = NULL;
  2305. }
  2306. if (from.has_entrance_measure_info()) {
  2307. entrance_measure_info_ = new ::measure_info(*from.entrance_measure_info_);
  2308. } else {
  2309. entrance_measure_info_ = NULL;
  2310. }
  2311. if (from.has_allocated_space_info()) {
  2312. allocated_space_info_ = new ::parkspace_info(*from.allocated_space_info_);
  2313. } else {
  2314. allocated_space_info_ = NULL;
  2315. }
  2316. if (from.has_actually_measure_info()) {
  2317. actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
  2318. } else {
  2319. actually_measure_info_ = NULL;
  2320. }
  2321. if (from.has_actually_space_info()) {
  2322. actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
  2323. } else {
  2324. actually_space_info_ = NULL;
  2325. }
  2326. if (from.has_car_number_info()) {
  2327. car_number_info_ = new ::plate_number_info(*from.car_number_info_);
  2328. } else {
  2329. car_number_info_ = NULL;
  2330. }
  2331. ::memcpy(&queue_id_, &from.queue_id_,
  2332. static_cast<size_t>(reinterpret_cast<char*>(&import_id_) -
  2333. reinterpret_cast<char*>(&queue_id_)) + sizeof(import_id_));
  2334. // @@protoc_insertion_point(copy_constructor:park_table)
  2335. }
  2336. void park_table::SharedCtor() {
  2337. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2338. primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2339. ::memset(&statu_, 0, static_cast<size_t>(
  2340. reinterpret_cast<char*>(&import_id_) -
  2341. reinterpret_cast<char*>(&statu_)) + sizeof(import_id_));
  2342. _cached_size_ = 0;
  2343. }
  2344. park_table::~park_table() {
  2345. // @@protoc_insertion_point(destructor:park_table)
  2346. SharedDtor();
  2347. }
  2348. void park_table::SharedDtor() {
  2349. car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2350. primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2351. if (this != internal_default_instance()) delete statu_;
  2352. if (this != internal_default_instance()) delete entrance_measure_info_;
  2353. if (this != internal_default_instance()) delete allocated_space_info_;
  2354. if (this != internal_default_instance()) delete actually_measure_info_;
  2355. if (this != internal_default_instance()) delete actually_space_info_;
  2356. if (this != internal_default_instance()) delete car_number_info_;
  2357. }
  2358. void park_table::SetCachedSize(int size) const {
  2359. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2360. _cached_size_ = size;
  2361. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2362. }
  2363. const ::google::protobuf::Descriptor* park_table::descriptor() {
  2364. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  2365. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2366. }
  2367. const park_table& park_table::default_instance() {
  2368. ::protobuf_message_2eproto::InitDefaultspark_table();
  2369. return *internal_default_instance();
  2370. }
  2371. park_table* park_table::New(::google::protobuf::Arena* arena) const {
  2372. park_table* n = new park_table;
  2373. if (arena != NULL) {
  2374. arena->Own(n);
  2375. }
  2376. return n;
  2377. }
  2378. void park_table::Clear() {
  2379. // @@protoc_insertion_point(message_clear_start:park_table)
  2380. ::google::protobuf::uint32 cached_has_bits = 0;
  2381. // Prevent compiler warnings about cached_has_bits being unused
  2382. (void) cached_has_bits;
  2383. car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2384. primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2385. if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
  2386. delete statu_;
  2387. }
  2388. statu_ = NULL;
  2389. if (GetArenaNoVirtual() == NULL && entrance_measure_info_ != NULL) {
  2390. delete entrance_measure_info_;
  2391. }
  2392. entrance_measure_info_ = NULL;
  2393. if (GetArenaNoVirtual() == NULL && allocated_space_info_ != NULL) {
  2394. delete allocated_space_info_;
  2395. }
  2396. allocated_space_info_ = NULL;
  2397. if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
  2398. delete actually_measure_info_;
  2399. }
  2400. actually_measure_info_ = NULL;
  2401. if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
  2402. delete actually_space_info_;
  2403. }
  2404. actually_space_info_ = NULL;
  2405. if (GetArenaNoVirtual() == NULL && car_number_info_ != NULL) {
  2406. delete car_number_info_;
  2407. }
  2408. car_number_info_ = NULL;
  2409. ::memset(&queue_id_, 0, static_cast<size_t>(
  2410. reinterpret_cast<char*>(&import_id_) -
  2411. reinterpret_cast<char*>(&queue_id_)) + sizeof(import_id_));
  2412. _internal_metadata_.Clear();
  2413. }
  2414. bool park_table::MergePartialFromCodedStream(
  2415. ::google::protobuf::io::CodedInputStream* input) {
  2416. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2417. ::google::protobuf::uint32 tag;
  2418. // @@protoc_insertion_point(parse_start:park_table)
  2419. for (;;) {
  2420. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2421. tag = p.first;
  2422. if (!p.second) goto handle_unusual;
  2423. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2424. // .table_statu statu = 1;
  2425. case 1: {
  2426. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2427. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2428. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2429. input, mutable_statu()));
  2430. } else {
  2431. goto handle_unusual;
  2432. }
  2433. break;
  2434. }
  2435. // int32 queue_id = 2;
  2436. case 2: {
  2437. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2438. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  2439. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2440. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2441. input, &queue_id_)));
  2442. } else {
  2443. goto handle_unusual;
  2444. }
  2445. break;
  2446. }
  2447. // string car_number = 3;
  2448. case 3: {
  2449. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2450. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  2451. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2452. input, this->mutable_car_number()));
  2453. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2454. this->car_number().data(), static_cast<int>(this->car_number().length()),
  2455. ::google::protobuf::internal::WireFormatLite::PARSE,
  2456. "park_table.car_number"));
  2457. } else {
  2458. goto handle_unusual;
  2459. }
  2460. break;
  2461. }
  2462. // int32 unit_id = 4;
  2463. case 4: {
  2464. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2465. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  2466. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2467. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2468. input, &unit_id_)));
  2469. } else {
  2470. goto handle_unusual;
  2471. }
  2472. break;
  2473. }
  2474. // int32 terminal_id = 5;
  2475. case 5: {
  2476. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2477. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  2478. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2479. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2480. input, &terminal_id_)));
  2481. } else {
  2482. goto handle_unusual;
  2483. }
  2484. break;
  2485. }
  2486. // string primary_key = 6;
  2487. case 6: {
  2488. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2489. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  2490. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2491. input, this->mutable_primary_key()));
  2492. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2493. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  2494. ::google::protobuf::internal::WireFormatLite::PARSE,
  2495. "park_table.primary_key"));
  2496. } else {
  2497. goto handle_unusual;
  2498. }
  2499. break;
  2500. }
  2501. // .measure_info entrance_measure_info = 7;
  2502. case 7: {
  2503. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2504. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  2505. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2506. input, mutable_entrance_measure_info()));
  2507. } else {
  2508. goto handle_unusual;
  2509. }
  2510. break;
  2511. }
  2512. // .parkspace_info allocated_space_info = 8;
  2513. case 8: {
  2514. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2515. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  2516. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2517. input, mutable_allocated_space_info()));
  2518. } else {
  2519. goto handle_unusual;
  2520. }
  2521. break;
  2522. }
  2523. // .measure_info actually_measure_info = 9;
  2524. case 9: {
  2525. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2526. static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
  2527. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2528. input, mutable_actually_measure_info()));
  2529. } else {
  2530. goto handle_unusual;
  2531. }
  2532. break;
  2533. }
  2534. // .parkspace_info actually_space_info = 10;
  2535. case 10: {
  2536. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2537. static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
  2538. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2539. input, mutable_actually_space_info()));
  2540. } else {
  2541. goto handle_unusual;
  2542. }
  2543. break;
  2544. }
  2545. // int32 import_id = 11;
  2546. case 11: {
  2547. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2548. static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
  2549. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2550. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2551. input, &import_id_)));
  2552. } else {
  2553. goto handle_unusual;
  2554. }
  2555. break;
  2556. }
  2557. // .plate_number_info car_number_info = 12;
  2558. case 12: {
  2559. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2560. static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
  2561. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2562. input, mutable_car_number_info()));
  2563. } else {
  2564. goto handle_unusual;
  2565. }
  2566. break;
  2567. }
  2568. default: {
  2569. handle_unusual:
  2570. if (tag == 0) {
  2571. goto success;
  2572. }
  2573. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2574. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2575. break;
  2576. }
  2577. }
  2578. }
  2579. success:
  2580. // @@protoc_insertion_point(parse_success:park_table)
  2581. return true;
  2582. failure:
  2583. // @@protoc_insertion_point(parse_failure:park_table)
  2584. return false;
  2585. #undef DO_
  2586. }
  2587. void park_table::SerializeWithCachedSizes(
  2588. ::google::protobuf::io::CodedOutputStream* output) const {
  2589. // @@protoc_insertion_point(serialize_start:park_table)
  2590. ::google::protobuf::uint32 cached_has_bits = 0;
  2591. (void) cached_has_bits;
  2592. // .table_statu statu = 1;
  2593. if (this->has_statu()) {
  2594. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2595. 1, *this->statu_, output);
  2596. }
  2597. // int32 queue_id = 2;
  2598. if (this->queue_id() != 0) {
  2599. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
  2600. }
  2601. // string car_number = 3;
  2602. if (this->car_number().size() > 0) {
  2603. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2604. this->car_number().data(), static_cast<int>(this->car_number().length()),
  2605. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2606. "park_table.car_number");
  2607. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2608. 3, this->car_number(), output);
  2609. }
  2610. // int32 unit_id = 4;
  2611. if (this->unit_id() != 0) {
  2612. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
  2613. }
  2614. // int32 terminal_id = 5;
  2615. if (this->terminal_id() != 0) {
  2616. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
  2617. }
  2618. // string primary_key = 6;
  2619. if (this->primary_key().size() > 0) {
  2620. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2621. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  2622. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2623. "park_table.primary_key");
  2624. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2625. 6, this->primary_key(), output);
  2626. }
  2627. // .measure_info entrance_measure_info = 7;
  2628. if (this->has_entrance_measure_info()) {
  2629. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2630. 7, *this->entrance_measure_info_, output);
  2631. }
  2632. // .parkspace_info allocated_space_info = 8;
  2633. if (this->has_allocated_space_info()) {
  2634. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2635. 8, *this->allocated_space_info_, output);
  2636. }
  2637. // .measure_info actually_measure_info = 9;
  2638. if (this->has_actually_measure_info()) {
  2639. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2640. 9, *this->actually_measure_info_, output);
  2641. }
  2642. // .parkspace_info actually_space_info = 10;
  2643. if (this->has_actually_space_info()) {
  2644. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2645. 10, *this->actually_space_info_, output);
  2646. }
  2647. // int32 import_id = 11;
  2648. if (this->import_id() != 0) {
  2649. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->import_id(), output);
  2650. }
  2651. // .plate_number_info car_number_info = 12;
  2652. if (this->has_car_number_info()) {
  2653. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2654. 12, *this->car_number_info_, output);
  2655. }
  2656. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2657. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2658. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  2659. }
  2660. // @@protoc_insertion_point(serialize_end:park_table)
  2661. }
  2662. ::google::protobuf::uint8* park_table::InternalSerializeWithCachedSizesToArray(
  2663. bool deterministic, ::google::protobuf::uint8* target) const {
  2664. (void)deterministic; // Unused
  2665. // @@protoc_insertion_point(serialize_to_array_start:park_table)
  2666. ::google::protobuf::uint32 cached_has_bits = 0;
  2667. (void) cached_has_bits;
  2668. // .table_statu statu = 1;
  2669. if (this->has_statu()) {
  2670. target = ::google::protobuf::internal::WireFormatLite::
  2671. InternalWriteMessageToArray(
  2672. 1, *this->statu_, deterministic, target);
  2673. }
  2674. // int32 queue_id = 2;
  2675. if (this->queue_id() != 0) {
  2676. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
  2677. }
  2678. // string car_number = 3;
  2679. if (this->car_number().size() > 0) {
  2680. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2681. this->car_number().data(), static_cast<int>(this->car_number().length()),
  2682. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2683. "park_table.car_number");
  2684. target =
  2685. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2686. 3, this->car_number(), target);
  2687. }
  2688. // int32 unit_id = 4;
  2689. if (this->unit_id() != 0) {
  2690. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
  2691. }
  2692. // int32 terminal_id = 5;
  2693. if (this->terminal_id() != 0) {
  2694. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
  2695. }
  2696. // string primary_key = 6;
  2697. if (this->primary_key().size() > 0) {
  2698. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2699. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  2700. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2701. "park_table.primary_key");
  2702. target =
  2703. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2704. 6, this->primary_key(), target);
  2705. }
  2706. // .measure_info entrance_measure_info = 7;
  2707. if (this->has_entrance_measure_info()) {
  2708. target = ::google::protobuf::internal::WireFormatLite::
  2709. InternalWriteMessageToArray(
  2710. 7, *this->entrance_measure_info_, deterministic, target);
  2711. }
  2712. // .parkspace_info allocated_space_info = 8;
  2713. if (this->has_allocated_space_info()) {
  2714. target = ::google::protobuf::internal::WireFormatLite::
  2715. InternalWriteMessageToArray(
  2716. 8, *this->allocated_space_info_, deterministic, target);
  2717. }
  2718. // .measure_info actually_measure_info = 9;
  2719. if (this->has_actually_measure_info()) {
  2720. target = ::google::protobuf::internal::WireFormatLite::
  2721. InternalWriteMessageToArray(
  2722. 9, *this->actually_measure_info_, deterministic, target);
  2723. }
  2724. // .parkspace_info actually_space_info = 10;
  2725. if (this->has_actually_space_info()) {
  2726. target = ::google::protobuf::internal::WireFormatLite::
  2727. InternalWriteMessageToArray(
  2728. 10, *this->actually_space_info_, deterministic, target);
  2729. }
  2730. // int32 import_id = 11;
  2731. if (this->import_id() != 0) {
  2732. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->import_id(), target);
  2733. }
  2734. // .plate_number_info car_number_info = 12;
  2735. if (this->has_car_number_info()) {
  2736. target = ::google::protobuf::internal::WireFormatLite::
  2737. InternalWriteMessageToArray(
  2738. 12, *this->car_number_info_, deterministic, target);
  2739. }
  2740. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2741. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2742. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2743. }
  2744. // @@protoc_insertion_point(serialize_to_array_end:park_table)
  2745. return target;
  2746. }
  2747. size_t park_table::ByteSizeLong() const {
  2748. // @@protoc_insertion_point(message_byte_size_start:park_table)
  2749. size_t total_size = 0;
  2750. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2751. total_size +=
  2752. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2753. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2754. }
  2755. // string car_number = 3;
  2756. if (this->car_number().size() > 0) {
  2757. total_size += 1 +
  2758. ::google::protobuf::internal::WireFormatLite::StringSize(
  2759. this->car_number());
  2760. }
  2761. // string primary_key = 6;
  2762. if (this->primary_key().size() > 0) {
  2763. total_size += 1 +
  2764. ::google::protobuf::internal::WireFormatLite::StringSize(
  2765. this->primary_key());
  2766. }
  2767. // .table_statu statu = 1;
  2768. if (this->has_statu()) {
  2769. total_size += 1 +
  2770. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2771. *this->statu_);
  2772. }
  2773. // .measure_info entrance_measure_info = 7;
  2774. if (this->has_entrance_measure_info()) {
  2775. total_size += 1 +
  2776. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2777. *this->entrance_measure_info_);
  2778. }
  2779. // .parkspace_info allocated_space_info = 8;
  2780. if (this->has_allocated_space_info()) {
  2781. total_size += 1 +
  2782. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2783. *this->allocated_space_info_);
  2784. }
  2785. // .measure_info actually_measure_info = 9;
  2786. if (this->has_actually_measure_info()) {
  2787. total_size += 1 +
  2788. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2789. *this->actually_measure_info_);
  2790. }
  2791. // .parkspace_info actually_space_info = 10;
  2792. if (this->has_actually_space_info()) {
  2793. total_size += 1 +
  2794. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2795. *this->actually_space_info_);
  2796. }
  2797. // .plate_number_info car_number_info = 12;
  2798. if (this->has_car_number_info()) {
  2799. total_size += 1 +
  2800. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2801. *this->car_number_info_);
  2802. }
  2803. // int32 queue_id = 2;
  2804. if (this->queue_id() != 0) {
  2805. total_size += 1 +
  2806. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2807. this->queue_id());
  2808. }
  2809. // int32 unit_id = 4;
  2810. if (this->unit_id() != 0) {
  2811. total_size += 1 +
  2812. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2813. this->unit_id());
  2814. }
  2815. // int32 terminal_id = 5;
  2816. if (this->terminal_id() != 0) {
  2817. total_size += 1 +
  2818. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2819. this->terminal_id());
  2820. }
  2821. // int32 import_id = 11;
  2822. if (this->import_id() != 0) {
  2823. total_size += 1 +
  2824. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2825. this->import_id());
  2826. }
  2827. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2828. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2829. _cached_size_ = cached_size;
  2830. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2831. return total_size;
  2832. }
  2833. void park_table::MergeFrom(const ::google::protobuf::Message& from) {
  2834. // @@protoc_insertion_point(generalized_merge_from_start:park_table)
  2835. GOOGLE_DCHECK_NE(&from, this);
  2836. const park_table* source =
  2837. ::google::protobuf::internal::DynamicCastToGenerated<const park_table>(
  2838. &from);
  2839. if (source == NULL) {
  2840. // @@protoc_insertion_point(generalized_merge_from_cast_fail:park_table)
  2841. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2842. } else {
  2843. // @@protoc_insertion_point(generalized_merge_from_cast_success:park_table)
  2844. MergeFrom(*source);
  2845. }
  2846. }
  2847. void park_table::MergeFrom(const park_table& from) {
  2848. // @@protoc_insertion_point(class_specific_merge_from_start:park_table)
  2849. GOOGLE_DCHECK_NE(&from, this);
  2850. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2851. ::google::protobuf::uint32 cached_has_bits = 0;
  2852. (void) cached_has_bits;
  2853. if (from.car_number().size() > 0) {
  2854. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  2855. }
  2856. if (from.primary_key().size() > 0) {
  2857. primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
  2858. }
  2859. if (from.has_statu()) {
  2860. mutable_statu()->::table_statu::MergeFrom(from.statu());
  2861. }
  2862. if (from.has_entrance_measure_info()) {
  2863. mutable_entrance_measure_info()->::measure_info::MergeFrom(from.entrance_measure_info());
  2864. }
  2865. if (from.has_allocated_space_info()) {
  2866. mutable_allocated_space_info()->::parkspace_info::MergeFrom(from.allocated_space_info());
  2867. }
  2868. if (from.has_actually_measure_info()) {
  2869. mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
  2870. }
  2871. if (from.has_actually_space_info()) {
  2872. mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
  2873. }
  2874. if (from.has_car_number_info()) {
  2875. mutable_car_number_info()->::plate_number_info::MergeFrom(from.car_number_info());
  2876. }
  2877. if (from.queue_id() != 0) {
  2878. set_queue_id(from.queue_id());
  2879. }
  2880. if (from.unit_id() != 0) {
  2881. set_unit_id(from.unit_id());
  2882. }
  2883. if (from.terminal_id() != 0) {
  2884. set_terminal_id(from.terminal_id());
  2885. }
  2886. if (from.import_id() != 0) {
  2887. set_import_id(from.import_id());
  2888. }
  2889. }
  2890. void park_table::CopyFrom(const ::google::protobuf::Message& from) {
  2891. // @@protoc_insertion_point(generalized_copy_from_start:park_table)
  2892. if (&from == this) return;
  2893. Clear();
  2894. MergeFrom(from);
  2895. }
  2896. void park_table::CopyFrom(const park_table& from) {
  2897. // @@protoc_insertion_point(class_specific_copy_from_start:park_table)
  2898. if (&from == this) return;
  2899. Clear();
  2900. MergeFrom(from);
  2901. }
  2902. bool park_table::IsInitialized() const {
  2903. return true;
  2904. }
  2905. void park_table::Swap(park_table* other) {
  2906. if (other == this) return;
  2907. InternalSwap(other);
  2908. }
  2909. void park_table::InternalSwap(park_table* other) {
  2910. using std::swap;
  2911. car_number_.Swap(&other->car_number_);
  2912. primary_key_.Swap(&other->primary_key_);
  2913. swap(statu_, other->statu_);
  2914. swap(entrance_measure_info_, other->entrance_measure_info_);
  2915. swap(allocated_space_info_, other->allocated_space_info_);
  2916. swap(actually_measure_info_, other->actually_measure_info_);
  2917. swap(actually_space_info_, other->actually_space_info_);
  2918. swap(car_number_info_, other->car_number_info_);
  2919. swap(queue_id_, other->queue_id_);
  2920. swap(unit_id_, other->unit_id_);
  2921. swap(terminal_id_, other->terminal_id_);
  2922. swap(import_id_, other->import_id_);
  2923. _internal_metadata_.Swap(&other->_internal_metadata_);
  2924. swap(_cached_size_, other->_cached_size_);
  2925. }
  2926. ::google::protobuf::Metadata park_table::GetMetadata() const {
  2927. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  2928. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  2929. }
  2930. // ===================================================================
  2931. void pick_table::InitAsDefaultInstance() {
  2932. ::_pick_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
  2933. ::table_statu::internal_default_instance());
  2934. ::_pick_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
  2935. ::parkspace_info::internal_default_instance());
  2936. ::_pick_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
  2937. ::measure_info::internal_default_instance());
  2938. }
  2939. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2940. const int pick_table::kStatuFieldNumber;
  2941. const int pick_table::kQueueIdFieldNumber;
  2942. const int pick_table::kCarNumberFieldNumber;
  2943. const int pick_table::kUnitIdFieldNumber;
  2944. const int pick_table::kTerminalIdFieldNumber;
  2945. const int pick_table::kPrimaryKeyFieldNumber;
  2946. const int pick_table::kActuallySpaceInfoFieldNumber;
  2947. const int pick_table::kActuallyMeasureInfoFieldNumber;
  2948. const int pick_table::kExportIdFieldNumber;
  2949. const int pick_table::kIsLeavedFieldNumber;
  2950. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2951. pick_table::pick_table()
  2952. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2953. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  2954. ::protobuf_message_2eproto::InitDefaultspick_table();
  2955. }
  2956. SharedCtor();
  2957. // @@protoc_insertion_point(constructor:pick_table)
  2958. }
  2959. pick_table::pick_table(const pick_table& from)
  2960. : ::google::protobuf::Message(),
  2961. _internal_metadata_(NULL),
  2962. _cached_size_(0) {
  2963. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2964. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2965. if (from.car_number().size() > 0) {
  2966. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  2967. }
  2968. primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2969. if (from.primary_key().size() > 0) {
  2970. primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
  2971. }
  2972. if (from.has_statu()) {
  2973. statu_ = new ::table_statu(*from.statu_);
  2974. } else {
  2975. statu_ = NULL;
  2976. }
  2977. if (from.has_actually_space_info()) {
  2978. actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
  2979. } else {
  2980. actually_space_info_ = NULL;
  2981. }
  2982. if (from.has_actually_measure_info()) {
  2983. actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
  2984. } else {
  2985. actually_measure_info_ = NULL;
  2986. }
  2987. ::memcpy(&queue_id_, &from.queue_id_,
  2988. static_cast<size_t>(reinterpret_cast<char*>(&is_leaved_) -
  2989. reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
  2990. // @@protoc_insertion_point(copy_constructor:pick_table)
  2991. }
  2992. void pick_table::SharedCtor() {
  2993. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2994. primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2995. ::memset(&statu_, 0, static_cast<size_t>(
  2996. reinterpret_cast<char*>(&is_leaved_) -
  2997. reinterpret_cast<char*>(&statu_)) + sizeof(is_leaved_));
  2998. _cached_size_ = 0;
  2999. }
  3000. pick_table::~pick_table() {
  3001. // @@protoc_insertion_point(destructor:pick_table)
  3002. SharedDtor();
  3003. }
  3004. void pick_table::SharedDtor() {
  3005. car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3006. primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3007. if (this != internal_default_instance()) delete statu_;
  3008. if (this != internal_default_instance()) delete actually_space_info_;
  3009. if (this != internal_default_instance()) delete actually_measure_info_;
  3010. }
  3011. void pick_table::SetCachedSize(int size) const {
  3012. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3013. _cached_size_ = size;
  3014. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3015. }
  3016. const ::google::protobuf::Descriptor* pick_table::descriptor() {
  3017. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  3018. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3019. }
  3020. const pick_table& pick_table::default_instance() {
  3021. ::protobuf_message_2eproto::InitDefaultspick_table();
  3022. return *internal_default_instance();
  3023. }
  3024. pick_table* pick_table::New(::google::protobuf::Arena* arena) const {
  3025. pick_table* n = new pick_table;
  3026. if (arena != NULL) {
  3027. arena->Own(n);
  3028. }
  3029. return n;
  3030. }
  3031. void pick_table::Clear() {
  3032. // @@protoc_insertion_point(message_clear_start:pick_table)
  3033. ::google::protobuf::uint32 cached_has_bits = 0;
  3034. // Prevent compiler warnings about cached_has_bits being unused
  3035. (void) cached_has_bits;
  3036. car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3037. primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3038. if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
  3039. delete statu_;
  3040. }
  3041. statu_ = NULL;
  3042. if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
  3043. delete actually_space_info_;
  3044. }
  3045. actually_space_info_ = NULL;
  3046. if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
  3047. delete actually_measure_info_;
  3048. }
  3049. actually_measure_info_ = NULL;
  3050. ::memset(&queue_id_, 0, static_cast<size_t>(
  3051. reinterpret_cast<char*>(&is_leaved_) -
  3052. reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
  3053. _internal_metadata_.Clear();
  3054. }
  3055. bool pick_table::MergePartialFromCodedStream(
  3056. ::google::protobuf::io::CodedInputStream* input) {
  3057. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3058. ::google::protobuf::uint32 tag;
  3059. // @@protoc_insertion_point(parse_start:pick_table)
  3060. for (;;) {
  3061. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3062. tag = p.first;
  3063. if (!p.second) goto handle_unusual;
  3064. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3065. // .table_statu statu = 1;
  3066. case 1: {
  3067. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3068. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  3069. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3070. input, mutable_statu()));
  3071. } else {
  3072. goto handle_unusual;
  3073. }
  3074. break;
  3075. }
  3076. // int32 queue_id = 2;
  3077. case 2: {
  3078. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3079. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  3080. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3081. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3082. input, &queue_id_)));
  3083. } else {
  3084. goto handle_unusual;
  3085. }
  3086. break;
  3087. }
  3088. // string car_number = 3;
  3089. case 3: {
  3090. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3091. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  3092. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3093. input, this->mutable_car_number()));
  3094. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3095. this->car_number().data(), static_cast<int>(this->car_number().length()),
  3096. ::google::protobuf::internal::WireFormatLite::PARSE,
  3097. "pick_table.car_number"));
  3098. } else {
  3099. goto handle_unusual;
  3100. }
  3101. break;
  3102. }
  3103. // int32 unit_id = 4;
  3104. case 4: {
  3105. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3106. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  3107. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3108. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3109. input, &unit_id_)));
  3110. } else {
  3111. goto handle_unusual;
  3112. }
  3113. break;
  3114. }
  3115. // int32 terminal_id = 5;
  3116. case 5: {
  3117. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3118. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  3119. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3120. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3121. input, &terminal_id_)));
  3122. } else {
  3123. goto handle_unusual;
  3124. }
  3125. break;
  3126. }
  3127. // string primary_key = 6;
  3128. case 6: {
  3129. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3130. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  3131. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3132. input, this->mutable_primary_key()));
  3133. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3134. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  3135. ::google::protobuf::internal::WireFormatLite::PARSE,
  3136. "pick_table.primary_key"));
  3137. } else {
  3138. goto handle_unusual;
  3139. }
  3140. break;
  3141. }
  3142. // .parkspace_info actually_space_info = 7;
  3143. case 7: {
  3144. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3145. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  3146. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3147. input, mutable_actually_space_info()));
  3148. } else {
  3149. goto handle_unusual;
  3150. }
  3151. break;
  3152. }
  3153. // .measure_info actually_measure_info = 8;
  3154. case 8: {
  3155. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3156. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  3157. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  3158. input, mutable_actually_measure_info()));
  3159. } else {
  3160. goto handle_unusual;
  3161. }
  3162. break;
  3163. }
  3164. // int32 export_id = 9;
  3165. case 9: {
  3166. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3167. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  3168. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3169. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3170. input, &export_id_)));
  3171. } else {
  3172. goto handle_unusual;
  3173. }
  3174. break;
  3175. }
  3176. // bool is_leaved = 10;
  3177. case 10: {
  3178. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3179. static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
  3180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3181. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  3182. input, &is_leaved_)));
  3183. } else {
  3184. goto handle_unusual;
  3185. }
  3186. break;
  3187. }
  3188. default: {
  3189. handle_unusual:
  3190. if (tag == 0) {
  3191. goto success;
  3192. }
  3193. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3194. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3195. break;
  3196. }
  3197. }
  3198. }
  3199. success:
  3200. // @@protoc_insertion_point(parse_success:pick_table)
  3201. return true;
  3202. failure:
  3203. // @@protoc_insertion_point(parse_failure:pick_table)
  3204. return false;
  3205. #undef DO_
  3206. }
  3207. void pick_table::SerializeWithCachedSizes(
  3208. ::google::protobuf::io::CodedOutputStream* output) const {
  3209. // @@protoc_insertion_point(serialize_start:pick_table)
  3210. ::google::protobuf::uint32 cached_has_bits = 0;
  3211. (void) cached_has_bits;
  3212. // .table_statu statu = 1;
  3213. if (this->has_statu()) {
  3214. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3215. 1, *this->statu_, output);
  3216. }
  3217. // int32 queue_id = 2;
  3218. if (this->queue_id() != 0) {
  3219. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
  3220. }
  3221. // string car_number = 3;
  3222. if (this->car_number().size() > 0) {
  3223. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3224. this->car_number().data(), static_cast<int>(this->car_number().length()),
  3225. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3226. "pick_table.car_number");
  3227. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3228. 3, this->car_number(), output);
  3229. }
  3230. // int32 unit_id = 4;
  3231. if (this->unit_id() != 0) {
  3232. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
  3233. }
  3234. // int32 terminal_id = 5;
  3235. if (this->terminal_id() != 0) {
  3236. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
  3237. }
  3238. // string primary_key = 6;
  3239. if (this->primary_key().size() > 0) {
  3240. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3241. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  3242. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3243. "pick_table.primary_key");
  3244. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3245. 6, this->primary_key(), output);
  3246. }
  3247. // .parkspace_info actually_space_info = 7;
  3248. if (this->has_actually_space_info()) {
  3249. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3250. 7, *this->actually_space_info_, output);
  3251. }
  3252. // .measure_info actually_measure_info = 8;
  3253. if (this->has_actually_measure_info()) {
  3254. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3255. 8, *this->actually_measure_info_, output);
  3256. }
  3257. // int32 export_id = 9;
  3258. if (this->export_id() != 0) {
  3259. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->export_id(), output);
  3260. }
  3261. // bool is_leaved = 10;
  3262. if (this->is_leaved() != 0) {
  3263. ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_leaved(), output);
  3264. }
  3265. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3266. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3267. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  3268. }
  3269. // @@protoc_insertion_point(serialize_end:pick_table)
  3270. }
  3271. ::google::protobuf::uint8* pick_table::InternalSerializeWithCachedSizesToArray(
  3272. bool deterministic, ::google::protobuf::uint8* target) const {
  3273. (void)deterministic; // Unused
  3274. // @@protoc_insertion_point(serialize_to_array_start:pick_table)
  3275. ::google::protobuf::uint32 cached_has_bits = 0;
  3276. (void) cached_has_bits;
  3277. // .table_statu statu = 1;
  3278. if (this->has_statu()) {
  3279. target = ::google::protobuf::internal::WireFormatLite::
  3280. InternalWriteMessageToArray(
  3281. 1, *this->statu_, deterministic, target);
  3282. }
  3283. // int32 queue_id = 2;
  3284. if (this->queue_id() != 0) {
  3285. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
  3286. }
  3287. // string car_number = 3;
  3288. if (this->car_number().size() > 0) {
  3289. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3290. this->car_number().data(), static_cast<int>(this->car_number().length()),
  3291. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3292. "pick_table.car_number");
  3293. target =
  3294. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3295. 3, this->car_number(), target);
  3296. }
  3297. // int32 unit_id = 4;
  3298. if (this->unit_id() != 0) {
  3299. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
  3300. }
  3301. // int32 terminal_id = 5;
  3302. if (this->terminal_id() != 0) {
  3303. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
  3304. }
  3305. // string primary_key = 6;
  3306. if (this->primary_key().size() > 0) {
  3307. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3308. this->primary_key().data(), static_cast<int>(this->primary_key().length()),
  3309. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3310. "pick_table.primary_key");
  3311. target =
  3312. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3313. 6, this->primary_key(), target);
  3314. }
  3315. // .parkspace_info actually_space_info = 7;
  3316. if (this->has_actually_space_info()) {
  3317. target = ::google::protobuf::internal::WireFormatLite::
  3318. InternalWriteMessageToArray(
  3319. 7, *this->actually_space_info_, deterministic, target);
  3320. }
  3321. // .measure_info actually_measure_info = 8;
  3322. if (this->has_actually_measure_info()) {
  3323. target = ::google::protobuf::internal::WireFormatLite::
  3324. InternalWriteMessageToArray(
  3325. 8, *this->actually_measure_info_, deterministic, target);
  3326. }
  3327. // int32 export_id = 9;
  3328. if (this->export_id() != 0) {
  3329. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->export_id(), target);
  3330. }
  3331. // bool is_leaved = 10;
  3332. if (this->is_leaved() != 0) {
  3333. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_leaved(), target);
  3334. }
  3335. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3336. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3337. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  3338. }
  3339. // @@protoc_insertion_point(serialize_to_array_end:pick_table)
  3340. return target;
  3341. }
  3342. size_t pick_table::ByteSizeLong() const {
  3343. // @@protoc_insertion_point(message_byte_size_start:pick_table)
  3344. size_t total_size = 0;
  3345. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3346. total_size +=
  3347. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3348. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  3349. }
  3350. // string car_number = 3;
  3351. if (this->car_number().size() > 0) {
  3352. total_size += 1 +
  3353. ::google::protobuf::internal::WireFormatLite::StringSize(
  3354. this->car_number());
  3355. }
  3356. // string primary_key = 6;
  3357. if (this->primary_key().size() > 0) {
  3358. total_size += 1 +
  3359. ::google::protobuf::internal::WireFormatLite::StringSize(
  3360. this->primary_key());
  3361. }
  3362. // .table_statu statu = 1;
  3363. if (this->has_statu()) {
  3364. total_size += 1 +
  3365. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3366. *this->statu_);
  3367. }
  3368. // .parkspace_info actually_space_info = 7;
  3369. if (this->has_actually_space_info()) {
  3370. total_size += 1 +
  3371. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3372. *this->actually_space_info_);
  3373. }
  3374. // .measure_info actually_measure_info = 8;
  3375. if (this->has_actually_measure_info()) {
  3376. total_size += 1 +
  3377. ::google::protobuf::internal::WireFormatLite::MessageSize(
  3378. *this->actually_measure_info_);
  3379. }
  3380. // int32 queue_id = 2;
  3381. if (this->queue_id() != 0) {
  3382. total_size += 1 +
  3383. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3384. this->queue_id());
  3385. }
  3386. // int32 unit_id = 4;
  3387. if (this->unit_id() != 0) {
  3388. total_size += 1 +
  3389. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3390. this->unit_id());
  3391. }
  3392. // int32 terminal_id = 5;
  3393. if (this->terminal_id() != 0) {
  3394. total_size += 1 +
  3395. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3396. this->terminal_id());
  3397. }
  3398. // int32 export_id = 9;
  3399. if (this->export_id() != 0) {
  3400. total_size += 1 +
  3401. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3402. this->export_id());
  3403. }
  3404. // bool is_leaved = 10;
  3405. if (this->is_leaved() != 0) {
  3406. total_size += 1 + 1;
  3407. }
  3408. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3409. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3410. _cached_size_ = cached_size;
  3411. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3412. return total_size;
  3413. }
  3414. void pick_table::MergeFrom(const ::google::protobuf::Message& from) {
  3415. // @@protoc_insertion_point(generalized_merge_from_start:pick_table)
  3416. GOOGLE_DCHECK_NE(&from, this);
  3417. const pick_table* source =
  3418. ::google::protobuf::internal::DynamicCastToGenerated<const pick_table>(
  3419. &from);
  3420. if (source == NULL) {
  3421. // @@protoc_insertion_point(generalized_merge_from_cast_fail:pick_table)
  3422. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3423. } else {
  3424. // @@protoc_insertion_point(generalized_merge_from_cast_success:pick_table)
  3425. MergeFrom(*source);
  3426. }
  3427. }
  3428. void pick_table::MergeFrom(const pick_table& from) {
  3429. // @@protoc_insertion_point(class_specific_merge_from_start:pick_table)
  3430. GOOGLE_DCHECK_NE(&from, this);
  3431. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3432. ::google::protobuf::uint32 cached_has_bits = 0;
  3433. (void) cached_has_bits;
  3434. if (from.car_number().size() > 0) {
  3435. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  3436. }
  3437. if (from.primary_key().size() > 0) {
  3438. primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
  3439. }
  3440. if (from.has_statu()) {
  3441. mutable_statu()->::table_statu::MergeFrom(from.statu());
  3442. }
  3443. if (from.has_actually_space_info()) {
  3444. mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
  3445. }
  3446. if (from.has_actually_measure_info()) {
  3447. mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
  3448. }
  3449. if (from.queue_id() != 0) {
  3450. set_queue_id(from.queue_id());
  3451. }
  3452. if (from.unit_id() != 0) {
  3453. set_unit_id(from.unit_id());
  3454. }
  3455. if (from.terminal_id() != 0) {
  3456. set_terminal_id(from.terminal_id());
  3457. }
  3458. if (from.export_id() != 0) {
  3459. set_export_id(from.export_id());
  3460. }
  3461. if (from.is_leaved() != 0) {
  3462. set_is_leaved(from.is_leaved());
  3463. }
  3464. }
  3465. void pick_table::CopyFrom(const ::google::protobuf::Message& from) {
  3466. // @@protoc_insertion_point(generalized_copy_from_start:pick_table)
  3467. if (&from == this) return;
  3468. Clear();
  3469. MergeFrom(from);
  3470. }
  3471. void pick_table::CopyFrom(const pick_table& from) {
  3472. // @@protoc_insertion_point(class_specific_copy_from_start:pick_table)
  3473. if (&from == this) return;
  3474. Clear();
  3475. MergeFrom(from);
  3476. }
  3477. bool pick_table::IsInitialized() const {
  3478. return true;
  3479. }
  3480. void pick_table::Swap(pick_table* other) {
  3481. if (other == this) return;
  3482. InternalSwap(other);
  3483. }
  3484. void pick_table::InternalSwap(pick_table* other) {
  3485. using std::swap;
  3486. car_number_.Swap(&other->car_number_);
  3487. primary_key_.Swap(&other->primary_key_);
  3488. swap(statu_, other->statu_);
  3489. swap(actually_space_info_, other->actually_space_info_);
  3490. swap(actually_measure_info_, other->actually_measure_info_);
  3491. swap(queue_id_, other->queue_id_);
  3492. swap(unit_id_, other->unit_id_);
  3493. swap(terminal_id_, other->terminal_id_);
  3494. swap(export_id_, other->export_id_);
  3495. swap(is_leaved_, other->is_leaved_);
  3496. _internal_metadata_.Swap(&other->_internal_metadata_);
  3497. swap(_cached_size_, other->_cached_size_);
  3498. }
  3499. ::google::protobuf::Metadata pick_table::GetMetadata() const {
  3500. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  3501. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  3502. }
  3503. // ===================================================================
  3504. void out_mcpu_statu::InitAsDefaultInstance() {
  3505. }
  3506. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  3507. const int out_mcpu_statu::kDoorStatuFieldNumber;
  3508. const int out_mcpu_statu::kOutsideSafetyFieldNumber;
  3509. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  3510. out_mcpu_statu::out_mcpu_statu()
  3511. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3512. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  3513. ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
  3514. }
  3515. SharedCtor();
  3516. // @@protoc_insertion_point(constructor:out_mcpu_statu)
  3517. }
  3518. out_mcpu_statu::out_mcpu_statu(const out_mcpu_statu& from)
  3519. : ::google::protobuf::Message(),
  3520. _internal_metadata_(NULL),
  3521. _cached_size_(0) {
  3522. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3523. ::memcpy(&door_statu_, &from.door_statu_,
  3524. static_cast<size_t>(reinterpret_cast<char*>(&outside_safety_) -
  3525. reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
  3526. // @@protoc_insertion_point(copy_constructor:out_mcpu_statu)
  3527. }
  3528. void out_mcpu_statu::SharedCtor() {
  3529. ::memset(&door_statu_, 0, static_cast<size_t>(
  3530. reinterpret_cast<char*>(&outside_safety_) -
  3531. reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
  3532. _cached_size_ = 0;
  3533. }
  3534. out_mcpu_statu::~out_mcpu_statu() {
  3535. // @@protoc_insertion_point(destructor:out_mcpu_statu)
  3536. SharedDtor();
  3537. }
  3538. void out_mcpu_statu::SharedDtor() {
  3539. }
  3540. void out_mcpu_statu::SetCachedSize(int size) const {
  3541. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3542. _cached_size_ = size;
  3543. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3544. }
  3545. const ::google::protobuf::Descriptor* out_mcpu_statu::descriptor() {
  3546. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  3547. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3548. }
  3549. const out_mcpu_statu& out_mcpu_statu::default_instance() {
  3550. ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
  3551. return *internal_default_instance();
  3552. }
  3553. out_mcpu_statu* out_mcpu_statu::New(::google::protobuf::Arena* arena) const {
  3554. out_mcpu_statu* n = new out_mcpu_statu;
  3555. if (arena != NULL) {
  3556. arena->Own(n);
  3557. }
  3558. return n;
  3559. }
  3560. void out_mcpu_statu::Clear() {
  3561. // @@protoc_insertion_point(message_clear_start:out_mcpu_statu)
  3562. ::google::protobuf::uint32 cached_has_bits = 0;
  3563. // Prevent compiler warnings about cached_has_bits being unused
  3564. (void) cached_has_bits;
  3565. ::memset(&door_statu_, 0, static_cast<size_t>(
  3566. reinterpret_cast<char*>(&outside_safety_) -
  3567. reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
  3568. _internal_metadata_.Clear();
  3569. }
  3570. bool out_mcpu_statu::MergePartialFromCodedStream(
  3571. ::google::protobuf::io::CodedInputStream* input) {
  3572. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3573. ::google::protobuf::uint32 tag;
  3574. // @@protoc_insertion_point(parse_start:out_mcpu_statu)
  3575. for (;;) {
  3576. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3577. tag = p.first;
  3578. if (!p.second) goto handle_unusual;
  3579. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3580. // int32 door_statu = 1;
  3581. case 1: {
  3582. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3583. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  3584. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3585. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3586. input, &door_statu_)));
  3587. } else {
  3588. goto handle_unusual;
  3589. }
  3590. break;
  3591. }
  3592. // int32 outside_safety = 2;
  3593. case 2: {
  3594. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3595. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  3596. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3597. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3598. input, &outside_safety_)));
  3599. } else {
  3600. goto handle_unusual;
  3601. }
  3602. break;
  3603. }
  3604. default: {
  3605. handle_unusual:
  3606. if (tag == 0) {
  3607. goto success;
  3608. }
  3609. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3610. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3611. break;
  3612. }
  3613. }
  3614. }
  3615. success:
  3616. // @@protoc_insertion_point(parse_success:out_mcpu_statu)
  3617. return true;
  3618. failure:
  3619. // @@protoc_insertion_point(parse_failure:out_mcpu_statu)
  3620. return false;
  3621. #undef DO_
  3622. }
  3623. void out_mcpu_statu::SerializeWithCachedSizes(
  3624. ::google::protobuf::io::CodedOutputStream* output) const {
  3625. // @@protoc_insertion_point(serialize_start:out_mcpu_statu)
  3626. ::google::protobuf::uint32 cached_has_bits = 0;
  3627. (void) cached_has_bits;
  3628. // int32 door_statu = 1;
  3629. if (this->door_statu() != 0) {
  3630. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
  3631. }
  3632. // int32 outside_safety = 2;
  3633. if (this->outside_safety() != 0) {
  3634. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_safety(), output);
  3635. }
  3636. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3637. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3638. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  3639. }
  3640. // @@protoc_insertion_point(serialize_end:out_mcpu_statu)
  3641. }
  3642. ::google::protobuf::uint8* out_mcpu_statu::InternalSerializeWithCachedSizesToArray(
  3643. bool deterministic, ::google::protobuf::uint8* target) const {
  3644. (void)deterministic; // Unused
  3645. // @@protoc_insertion_point(serialize_to_array_start:out_mcpu_statu)
  3646. ::google::protobuf::uint32 cached_has_bits = 0;
  3647. (void) cached_has_bits;
  3648. // int32 door_statu = 1;
  3649. if (this->door_statu() != 0) {
  3650. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
  3651. }
  3652. // int32 outside_safety = 2;
  3653. if (this->outside_safety() != 0) {
  3654. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_safety(), target);
  3655. }
  3656. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3657. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3658. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  3659. }
  3660. // @@protoc_insertion_point(serialize_to_array_end:out_mcpu_statu)
  3661. return target;
  3662. }
  3663. size_t out_mcpu_statu::ByteSizeLong() const {
  3664. // @@protoc_insertion_point(message_byte_size_start:out_mcpu_statu)
  3665. size_t total_size = 0;
  3666. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3667. total_size +=
  3668. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3669. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  3670. }
  3671. // int32 door_statu = 1;
  3672. if (this->door_statu() != 0) {
  3673. total_size += 1 +
  3674. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3675. this->door_statu());
  3676. }
  3677. // int32 outside_safety = 2;
  3678. if (this->outside_safety() != 0) {
  3679. total_size += 1 +
  3680. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3681. this->outside_safety());
  3682. }
  3683. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3684. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3685. _cached_size_ = cached_size;
  3686. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3687. return total_size;
  3688. }
  3689. void out_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
  3690. // @@protoc_insertion_point(generalized_merge_from_start:out_mcpu_statu)
  3691. GOOGLE_DCHECK_NE(&from, this);
  3692. const out_mcpu_statu* source =
  3693. ::google::protobuf::internal::DynamicCastToGenerated<const out_mcpu_statu>(
  3694. &from);
  3695. if (source == NULL) {
  3696. // @@protoc_insertion_point(generalized_merge_from_cast_fail:out_mcpu_statu)
  3697. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3698. } else {
  3699. // @@protoc_insertion_point(generalized_merge_from_cast_success:out_mcpu_statu)
  3700. MergeFrom(*source);
  3701. }
  3702. }
  3703. void out_mcpu_statu::MergeFrom(const out_mcpu_statu& from) {
  3704. // @@protoc_insertion_point(class_specific_merge_from_start:out_mcpu_statu)
  3705. GOOGLE_DCHECK_NE(&from, this);
  3706. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3707. ::google::protobuf::uint32 cached_has_bits = 0;
  3708. (void) cached_has_bits;
  3709. if (from.door_statu() != 0) {
  3710. set_door_statu(from.door_statu());
  3711. }
  3712. if (from.outside_safety() != 0) {
  3713. set_outside_safety(from.outside_safety());
  3714. }
  3715. }
  3716. void out_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
  3717. // @@protoc_insertion_point(generalized_copy_from_start:out_mcpu_statu)
  3718. if (&from == this) return;
  3719. Clear();
  3720. MergeFrom(from);
  3721. }
  3722. void out_mcpu_statu::CopyFrom(const out_mcpu_statu& from) {
  3723. // @@protoc_insertion_point(class_specific_copy_from_start:out_mcpu_statu)
  3724. if (&from == this) return;
  3725. Clear();
  3726. MergeFrom(from);
  3727. }
  3728. bool out_mcpu_statu::IsInitialized() const {
  3729. return true;
  3730. }
  3731. void out_mcpu_statu::Swap(out_mcpu_statu* other) {
  3732. if (other == this) return;
  3733. InternalSwap(other);
  3734. }
  3735. void out_mcpu_statu::InternalSwap(out_mcpu_statu* other) {
  3736. using std::swap;
  3737. swap(door_statu_, other->door_statu_);
  3738. swap(outside_safety_, other->outside_safety_);
  3739. _internal_metadata_.Swap(&other->_internal_metadata_);
  3740. swap(_cached_size_, other->_cached_size_);
  3741. }
  3742. ::google::protobuf::Metadata out_mcpu_statu::GetMetadata() const {
  3743. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  3744. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  3745. }
  3746. // ===================================================================
  3747. void in_mcpu_statu::InitAsDefaultInstance() {
  3748. }
  3749. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  3750. const int in_mcpu_statu::kDoorStatuFieldNumber;
  3751. const int in_mcpu_statu::kBackIoFieldNumber;
  3752. const int in_mcpu_statu::kIsOccupyFieldNumber;
  3753. const int in_mcpu_statu::kHeighthFieldNumber;
  3754. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  3755. in_mcpu_statu::in_mcpu_statu()
  3756. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3757. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  3758. ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
  3759. }
  3760. SharedCtor();
  3761. // @@protoc_insertion_point(constructor:in_mcpu_statu)
  3762. }
  3763. in_mcpu_statu::in_mcpu_statu(const in_mcpu_statu& from)
  3764. : ::google::protobuf::Message(),
  3765. _internal_metadata_(NULL),
  3766. _cached_size_(0) {
  3767. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3768. ::memcpy(&door_statu_, &from.door_statu_,
  3769. static_cast<size_t>(reinterpret_cast<char*>(&heighth_) -
  3770. reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
  3771. // @@protoc_insertion_point(copy_constructor:in_mcpu_statu)
  3772. }
  3773. void in_mcpu_statu::SharedCtor() {
  3774. ::memset(&door_statu_, 0, static_cast<size_t>(
  3775. reinterpret_cast<char*>(&heighth_) -
  3776. reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
  3777. _cached_size_ = 0;
  3778. }
  3779. in_mcpu_statu::~in_mcpu_statu() {
  3780. // @@protoc_insertion_point(destructor:in_mcpu_statu)
  3781. SharedDtor();
  3782. }
  3783. void in_mcpu_statu::SharedDtor() {
  3784. }
  3785. void in_mcpu_statu::SetCachedSize(int size) const {
  3786. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3787. _cached_size_ = size;
  3788. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3789. }
  3790. const ::google::protobuf::Descriptor* in_mcpu_statu::descriptor() {
  3791. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  3792. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  3793. }
  3794. const in_mcpu_statu& in_mcpu_statu::default_instance() {
  3795. ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
  3796. return *internal_default_instance();
  3797. }
  3798. in_mcpu_statu* in_mcpu_statu::New(::google::protobuf::Arena* arena) const {
  3799. in_mcpu_statu* n = new in_mcpu_statu;
  3800. if (arena != NULL) {
  3801. arena->Own(n);
  3802. }
  3803. return n;
  3804. }
  3805. void in_mcpu_statu::Clear() {
  3806. // @@protoc_insertion_point(message_clear_start:in_mcpu_statu)
  3807. ::google::protobuf::uint32 cached_has_bits = 0;
  3808. // Prevent compiler warnings about cached_has_bits being unused
  3809. (void) cached_has_bits;
  3810. ::memset(&door_statu_, 0, static_cast<size_t>(
  3811. reinterpret_cast<char*>(&heighth_) -
  3812. reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
  3813. _internal_metadata_.Clear();
  3814. }
  3815. bool in_mcpu_statu::MergePartialFromCodedStream(
  3816. ::google::protobuf::io::CodedInputStream* input) {
  3817. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  3818. ::google::protobuf::uint32 tag;
  3819. // @@protoc_insertion_point(parse_start:in_mcpu_statu)
  3820. for (;;) {
  3821. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  3822. tag = p.first;
  3823. if (!p.second) goto handle_unusual;
  3824. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3825. // int32 door_statu = 1;
  3826. case 1: {
  3827. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3828. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  3829. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3830. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3831. input, &door_statu_)));
  3832. } else {
  3833. goto handle_unusual;
  3834. }
  3835. break;
  3836. }
  3837. // int32 back_io = 2;
  3838. case 2: {
  3839. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3840. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  3841. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3842. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3843. input, &back_io_)));
  3844. } else {
  3845. goto handle_unusual;
  3846. }
  3847. break;
  3848. }
  3849. // int32 is_occupy = 3;
  3850. case 3: {
  3851. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3852. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  3853. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3854. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3855. input, &is_occupy_)));
  3856. } else {
  3857. goto handle_unusual;
  3858. }
  3859. break;
  3860. }
  3861. // int32 heighth = 4;
  3862. case 4: {
  3863. if (static_cast< ::google::protobuf::uint8>(tag) ==
  3864. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  3865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3867. input, &heighth_)));
  3868. } else {
  3869. goto handle_unusual;
  3870. }
  3871. break;
  3872. }
  3873. default: {
  3874. handle_unusual:
  3875. if (tag == 0) {
  3876. goto success;
  3877. }
  3878. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3879. input, tag, _internal_metadata_.mutable_unknown_fields()));
  3880. break;
  3881. }
  3882. }
  3883. }
  3884. success:
  3885. // @@protoc_insertion_point(parse_success:in_mcpu_statu)
  3886. return true;
  3887. failure:
  3888. // @@protoc_insertion_point(parse_failure:in_mcpu_statu)
  3889. return false;
  3890. #undef DO_
  3891. }
  3892. void in_mcpu_statu::SerializeWithCachedSizes(
  3893. ::google::protobuf::io::CodedOutputStream* output) const {
  3894. // @@protoc_insertion_point(serialize_start:in_mcpu_statu)
  3895. ::google::protobuf::uint32 cached_has_bits = 0;
  3896. (void) cached_has_bits;
  3897. // int32 door_statu = 1;
  3898. if (this->door_statu() != 0) {
  3899. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
  3900. }
  3901. // int32 back_io = 2;
  3902. if (this->back_io() != 0) {
  3903. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->back_io(), output);
  3904. }
  3905. // int32 is_occupy = 3;
  3906. if (this->is_occupy() != 0) {
  3907. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->is_occupy(), output);
  3908. }
  3909. // int32 heighth = 4;
  3910. if (this->heighth() != 0) {
  3911. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->heighth(), output);
  3912. }
  3913. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3914. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3915. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  3916. }
  3917. // @@protoc_insertion_point(serialize_end:in_mcpu_statu)
  3918. }
  3919. ::google::protobuf::uint8* in_mcpu_statu::InternalSerializeWithCachedSizesToArray(
  3920. bool deterministic, ::google::protobuf::uint8* target) const {
  3921. (void)deterministic; // Unused
  3922. // @@protoc_insertion_point(serialize_to_array_start:in_mcpu_statu)
  3923. ::google::protobuf::uint32 cached_has_bits = 0;
  3924. (void) cached_has_bits;
  3925. // int32 door_statu = 1;
  3926. if (this->door_statu() != 0) {
  3927. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
  3928. }
  3929. // int32 back_io = 2;
  3930. if (this->back_io() != 0) {
  3931. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->back_io(), target);
  3932. }
  3933. // int32 is_occupy = 3;
  3934. if (this->is_occupy() != 0) {
  3935. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->is_occupy(), target);
  3936. }
  3937. // int32 heighth = 4;
  3938. if (this->heighth() != 0) {
  3939. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->heighth(), target);
  3940. }
  3941. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3942. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3943. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  3944. }
  3945. // @@protoc_insertion_point(serialize_to_array_end:in_mcpu_statu)
  3946. return target;
  3947. }
  3948. size_t in_mcpu_statu::ByteSizeLong() const {
  3949. // @@protoc_insertion_point(message_byte_size_start:in_mcpu_statu)
  3950. size_t total_size = 0;
  3951. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  3952. total_size +=
  3953. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3954. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  3955. }
  3956. // int32 door_statu = 1;
  3957. if (this->door_statu() != 0) {
  3958. total_size += 1 +
  3959. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3960. this->door_statu());
  3961. }
  3962. // int32 back_io = 2;
  3963. if (this->back_io() != 0) {
  3964. total_size += 1 +
  3965. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3966. this->back_io());
  3967. }
  3968. // int32 is_occupy = 3;
  3969. if (this->is_occupy() != 0) {
  3970. total_size += 1 +
  3971. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3972. this->is_occupy());
  3973. }
  3974. // int32 heighth = 4;
  3975. if (this->heighth() != 0) {
  3976. total_size += 1 +
  3977. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3978. this->heighth());
  3979. }
  3980. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  3981. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3982. _cached_size_ = cached_size;
  3983. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3984. return total_size;
  3985. }
  3986. void in_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
  3987. // @@protoc_insertion_point(generalized_merge_from_start:in_mcpu_statu)
  3988. GOOGLE_DCHECK_NE(&from, this);
  3989. const in_mcpu_statu* source =
  3990. ::google::protobuf::internal::DynamicCastToGenerated<const in_mcpu_statu>(
  3991. &from);
  3992. if (source == NULL) {
  3993. // @@protoc_insertion_point(generalized_merge_from_cast_fail:in_mcpu_statu)
  3994. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3995. } else {
  3996. // @@protoc_insertion_point(generalized_merge_from_cast_success:in_mcpu_statu)
  3997. MergeFrom(*source);
  3998. }
  3999. }
  4000. void in_mcpu_statu::MergeFrom(const in_mcpu_statu& from) {
  4001. // @@protoc_insertion_point(class_specific_merge_from_start:in_mcpu_statu)
  4002. GOOGLE_DCHECK_NE(&from, this);
  4003. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4004. ::google::protobuf::uint32 cached_has_bits = 0;
  4005. (void) cached_has_bits;
  4006. if (from.door_statu() != 0) {
  4007. set_door_statu(from.door_statu());
  4008. }
  4009. if (from.back_io() != 0) {
  4010. set_back_io(from.back_io());
  4011. }
  4012. if (from.is_occupy() != 0) {
  4013. set_is_occupy(from.is_occupy());
  4014. }
  4015. if (from.heighth() != 0) {
  4016. set_heighth(from.heighth());
  4017. }
  4018. }
  4019. void in_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
  4020. // @@protoc_insertion_point(generalized_copy_from_start:in_mcpu_statu)
  4021. if (&from == this) return;
  4022. Clear();
  4023. MergeFrom(from);
  4024. }
  4025. void in_mcpu_statu::CopyFrom(const in_mcpu_statu& from) {
  4026. // @@protoc_insertion_point(class_specific_copy_from_start:in_mcpu_statu)
  4027. if (&from == this) return;
  4028. Clear();
  4029. MergeFrom(from);
  4030. }
  4031. bool in_mcpu_statu::IsInitialized() const {
  4032. return true;
  4033. }
  4034. void in_mcpu_statu::Swap(in_mcpu_statu* other) {
  4035. if (other == this) return;
  4036. InternalSwap(other);
  4037. }
  4038. void in_mcpu_statu::InternalSwap(in_mcpu_statu* other) {
  4039. using std::swap;
  4040. swap(door_statu_, other->door_statu_);
  4041. swap(back_io_, other->back_io_);
  4042. swap(is_occupy_, other->is_occupy_);
  4043. swap(heighth_, other->heighth_);
  4044. _internal_metadata_.Swap(&other->_internal_metadata_);
  4045. swap(_cached_size_, other->_cached_size_);
  4046. }
  4047. ::google::protobuf::Metadata in_mcpu_statu::GetMetadata() const {
  4048. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4049. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  4050. }
  4051. // ===================================================================
  4052. void measure_statu::InitAsDefaultInstance() {
  4053. ::_measure_statu_default_instance_._instance.get_mutable()->info_ = const_cast< ::measure_info*>(
  4054. ::measure_info::internal_default_instance());
  4055. }
  4056. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4057. const int measure_statu::kInfoFieldNumber;
  4058. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4059. measure_statu::measure_statu()
  4060. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4061. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  4062. ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
  4063. }
  4064. SharedCtor();
  4065. // @@protoc_insertion_point(constructor:measure_statu)
  4066. }
  4067. measure_statu::measure_statu(const measure_statu& from)
  4068. : ::google::protobuf::Message(),
  4069. _internal_metadata_(NULL),
  4070. _cached_size_(0) {
  4071. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4072. if (from.has_info()) {
  4073. info_ = new ::measure_info(*from.info_);
  4074. } else {
  4075. info_ = NULL;
  4076. }
  4077. // @@protoc_insertion_point(copy_constructor:measure_statu)
  4078. }
  4079. void measure_statu::SharedCtor() {
  4080. info_ = NULL;
  4081. _cached_size_ = 0;
  4082. }
  4083. measure_statu::~measure_statu() {
  4084. // @@protoc_insertion_point(destructor:measure_statu)
  4085. SharedDtor();
  4086. }
  4087. void measure_statu::SharedDtor() {
  4088. if (this != internal_default_instance()) delete info_;
  4089. }
  4090. void measure_statu::SetCachedSize(int size) const {
  4091. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4092. _cached_size_ = size;
  4093. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4094. }
  4095. const ::google::protobuf::Descriptor* measure_statu::descriptor() {
  4096. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4097. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4098. }
  4099. const measure_statu& measure_statu::default_instance() {
  4100. ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
  4101. return *internal_default_instance();
  4102. }
  4103. measure_statu* measure_statu::New(::google::protobuf::Arena* arena) const {
  4104. measure_statu* n = new measure_statu;
  4105. if (arena != NULL) {
  4106. arena->Own(n);
  4107. }
  4108. return n;
  4109. }
  4110. void measure_statu::Clear() {
  4111. // @@protoc_insertion_point(message_clear_start:measure_statu)
  4112. ::google::protobuf::uint32 cached_has_bits = 0;
  4113. // Prevent compiler warnings about cached_has_bits being unused
  4114. (void) cached_has_bits;
  4115. if (GetArenaNoVirtual() == NULL && info_ != NULL) {
  4116. delete info_;
  4117. }
  4118. info_ = NULL;
  4119. _internal_metadata_.Clear();
  4120. }
  4121. bool measure_statu::MergePartialFromCodedStream(
  4122. ::google::protobuf::io::CodedInputStream* input) {
  4123. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4124. ::google::protobuf::uint32 tag;
  4125. // @@protoc_insertion_point(parse_start:measure_statu)
  4126. for (;;) {
  4127. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  4128. tag = p.first;
  4129. if (!p.second) goto handle_unusual;
  4130. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4131. // .measure_info info = 1;
  4132. case 1: {
  4133. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4134. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  4135. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4136. input, mutable_info()));
  4137. } else {
  4138. goto handle_unusual;
  4139. }
  4140. break;
  4141. }
  4142. default: {
  4143. handle_unusual:
  4144. if (tag == 0) {
  4145. goto success;
  4146. }
  4147. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4148. input, tag, _internal_metadata_.mutable_unknown_fields()));
  4149. break;
  4150. }
  4151. }
  4152. }
  4153. success:
  4154. // @@protoc_insertion_point(parse_success:measure_statu)
  4155. return true;
  4156. failure:
  4157. // @@protoc_insertion_point(parse_failure:measure_statu)
  4158. return false;
  4159. #undef DO_
  4160. }
  4161. void measure_statu::SerializeWithCachedSizes(
  4162. ::google::protobuf::io::CodedOutputStream* output) const {
  4163. // @@protoc_insertion_point(serialize_start:measure_statu)
  4164. ::google::protobuf::uint32 cached_has_bits = 0;
  4165. (void) cached_has_bits;
  4166. // .measure_info info = 1;
  4167. if (this->has_info()) {
  4168. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4169. 1, *this->info_, output);
  4170. }
  4171. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4172. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4173. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  4174. }
  4175. // @@protoc_insertion_point(serialize_end:measure_statu)
  4176. }
  4177. ::google::protobuf::uint8* measure_statu::InternalSerializeWithCachedSizesToArray(
  4178. bool deterministic, ::google::protobuf::uint8* target) const {
  4179. (void)deterministic; // Unused
  4180. // @@protoc_insertion_point(serialize_to_array_start:measure_statu)
  4181. ::google::protobuf::uint32 cached_has_bits = 0;
  4182. (void) cached_has_bits;
  4183. // .measure_info info = 1;
  4184. if (this->has_info()) {
  4185. target = ::google::protobuf::internal::WireFormatLite::
  4186. InternalWriteMessageToArray(
  4187. 1, *this->info_, deterministic, target);
  4188. }
  4189. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4190. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4191. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  4192. }
  4193. // @@protoc_insertion_point(serialize_to_array_end:measure_statu)
  4194. return target;
  4195. }
  4196. size_t measure_statu::ByteSizeLong() const {
  4197. // @@protoc_insertion_point(message_byte_size_start:measure_statu)
  4198. size_t total_size = 0;
  4199. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4200. total_size +=
  4201. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4202. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  4203. }
  4204. // .measure_info info = 1;
  4205. if (this->has_info()) {
  4206. total_size += 1 +
  4207. ::google::protobuf::internal::WireFormatLite::MessageSize(
  4208. *this->info_);
  4209. }
  4210. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4211. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4212. _cached_size_ = cached_size;
  4213. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4214. return total_size;
  4215. }
  4216. void measure_statu::MergeFrom(const ::google::protobuf::Message& from) {
  4217. // @@protoc_insertion_point(generalized_merge_from_start:measure_statu)
  4218. GOOGLE_DCHECK_NE(&from, this);
  4219. const measure_statu* source =
  4220. ::google::protobuf::internal::DynamicCastToGenerated<const measure_statu>(
  4221. &from);
  4222. if (source == NULL) {
  4223. // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_statu)
  4224. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4225. } else {
  4226. // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_statu)
  4227. MergeFrom(*source);
  4228. }
  4229. }
  4230. void measure_statu::MergeFrom(const measure_statu& from) {
  4231. // @@protoc_insertion_point(class_specific_merge_from_start:measure_statu)
  4232. GOOGLE_DCHECK_NE(&from, this);
  4233. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4234. ::google::protobuf::uint32 cached_has_bits = 0;
  4235. (void) cached_has_bits;
  4236. if (from.has_info()) {
  4237. mutable_info()->::measure_info::MergeFrom(from.info());
  4238. }
  4239. }
  4240. void measure_statu::CopyFrom(const ::google::protobuf::Message& from) {
  4241. // @@protoc_insertion_point(generalized_copy_from_start:measure_statu)
  4242. if (&from == this) return;
  4243. Clear();
  4244. MergeFrom(from);
  4245. }
  4246. void measure_statu::CopyFrom(const measure_statu& from) {
  4247. // @@protoc_insertion_point(class_specific_copy_from_start:measure_statu)
  4248. if (&from == this) return;
  4249. Clear();
  4250. MergeFrom(from);
  4251. }
  4252. bool measure_statu::IsInitialized() const {
  4253. return true;
  4254. }
  4255. void measure_statu::Swap(measure_statu* other) {
  4256. if (other == this) return;
  4257. InternalSwap(other);
  4258. }
  4259. void measure_statu::InternalSwap(measure_statu* other) {
  4260. using std::swap;
  4261. swap(info_, other->info_);
  4262. _internal_metadata_.Swap(&other->_internal_metadata_);
  4263. swap(_cached_size_, other->_cached_size_);
  4264. }
  4265. ::google::protobuf::Metadata measure_statu::GetMetadata() const {
  4266. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4267. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  4268. }
  4269. // ===================================================================
  4270. void dispatch_plc_passway_status::InitAsDefaultInstance() {
  4271. }
  4272. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4273. const int dispatch_plc_passway_status::kCarHeightFieldNumber;
  4274. const int dispatch_plc_passway_status::kOutsideDoorStatusFieldNumber;
  4275. const int dispatch_plc_passway_status::kInsideDoorStatusFieldNumber;
  4276. const int dispatch_plc_passway_status::kCombBodyStatusFieldNumber;
  4277. const int dispatch_plc_passway_status::kTurnplateAngleMinFieldNumber;
  4278. const int dispatch_plc_passway_status::kTurnplateAngleMaxFieldNumber;
  4279. const int dispatch_plc_passway_status::kSensor1FieldNumber;
  4280. const int dispatch_plc_passway_status::kSensor2FieldNumber;
  4281. const int dispatch_plc_passway_status::kPlcPasswayEnableFieldNumber;
  4282. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4283. dispatch_plc_passway_status::dispatch_plc_passway_status()
  4284. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4285. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  4286. ::protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
  4287. }
  4288. SharedCtor();
  4289. // @@protoc_insertion_point(constructor:dispatch_plc_passway_status)
  4290. }
  4291. dispatch_plc_passway_status::dispatch_plc_passway_status(const dispatch_plc_passway_status& from)
  4292. : ::google::protobuf::Message(),
  4293. _internal_metadata_(NULL),
  4294. _cached_size_(0) {
  4295. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4296. ::memcpy(&car_height_, &from.car_height_,
  4297. static_cast<size_t>(reinterpret_cast<char*>(&plc_passway_enable_) -
  4298. reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
  4299. // @@protoc_insertion_point(copy_constructor:dispatch_plc_passway_status)
  4300. }
  4301. void dispatch_plc_passway_status::SharedCtor() {
  4302. ::memset(&car_height_, 0, static_cast<size_t>(
  4303. reinterpret_cast<char*>(&plc_passway_enable_) -
  4304. reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
  4305. _cached_size_ = 0;
  4306. }
  4307. dispatch_plc_passway_status::~dispatch_plc_passway_status() {
  4308. // @@protoc_insertion_point(destructor:dispatch_plc_passway_status)
  4309. SharedDtor();
  4310. }
  4311. void dispatch_plc_passway_status::SharedDtor() {
  4312. }
  4313. void dispatch_plc_passway_status::SetCachedSize(int size) const {
  4314. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4315. _cached_size_ = size;
  4316. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4317. }
  4318. const ::google::protobuf::Descriptor* dispatch_plc_passway_status::descriptor() {
  4319. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4320. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4321. }
  4322. const dispatch_plc_passway_status& dispatch_plc_passway_status::default_instance() {
  4323. ::protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
  4324. return *internal_default_instance();
  4325. }
  4326. dispatch_plc_passway_status* dispatch_plc_passway_status::New(::google::protobuf::Arena* arena) const {
  4327. dispatch_plc_passway_status* n = new dispatch_plc_passway_status;
  4328. if (arena != NULL) {
  4329. arena->Own(n);
  4330. }
  4331. return n;
  4332. }
  4333. void dispatch_plc_passway_status::Clear() {
  4334. // @@protoc_insertion_point(message_clear_start:dispatch_plc_passway_status)
  4335. ::google::protobuf::uint32 cached_has_bits = 0;
  4336. // Prevent compiler warnings about cached_has_bits being unused
  4337. (void) cached_has_bits;
  4338. ::memset(&car_height_, 0, static_cast<size_t>(
  4339. reinterpret_cast<char*>(&plc_passway_enable_) -
  4340. reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
  4341. _internal_metadata_.Clear();
  4342. }
  4343. bool dispatch_plc_passway_status::MergePartialFromCodedStream(
  4344. ::google::protobuf::io::CodedInputStream* input) {
  4345. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4346. ::google::protobuf::uint32 tag;
  4347. // @@protoc_insertion_point(parse_start:dispatch_plc_passway_status)
  4348. for (;;) {
  4349. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  4350. tag = p.first;
  4351. if (!p.second) goto handle_unusual;
  4352. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4353. // int32 car_height = 1;
  4354. case 1: {
  4355. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4356. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  4357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4358. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4359. input, &car_height_)));
  4360. } else {
  4361. goto handle_unusual;
  4362. }
  4363. break;
  4364. }
  4365. // int32 outside_door_status = 2;
  4366. case 2: {
  4367. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4368. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  4369. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4370. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4371. input, &outside_door_status_)));
  4372. } else {
  4373. goto handle_unusual;
  4374. }
  4375. break;
  4376. }
  4377. // int32 inside_door_status = 3;
  4378. case 3: {
  4379. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4380. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  4381. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4382. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4383. input, &inside_door_status_)));
  4384. } else {
  4385. goto handle_unusual;
  4386. }
  4387. break;
  4388. }
  4389. // int32 comb_body_status = 4;
  4390. case 4: {
  4391. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4392. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  4393. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4394. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4395. input, &comb_body_status_)));
  4396. } else {
  4397. goto handle_unusual;
  4398. }
  4399. break;
  4400. }
  4401. // float turnplate_angle_min = 5;
  4402. case 5: {
  4403. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4404. static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
  4405. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4406. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4407. input, &turnplate_angle_min_)));
  4408. } else {
  4409. goto handle_unusual;
  4410. }
  4411. break;
  4412. }
  4413. // float turnplate_angle_max = 6;
  4414. case 6: {
  4415. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4416. static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
  4417. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4418. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4419. input, &turnplate_angle_max_)));
  4420. } else {
  4421. goto handle_unusual;
  4422. }
  4423. break;
  4424. }
  4425. // int32 sensor_1 = 7;
  4426. case 7: {
  4427. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4428. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  4429. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4430. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4431. input, &sensor_1_)));
  4432. } else {
  4433. goto handle_unusual;
  4434. }
  4435. break;
  4436. }
  4437. // int32 sensor_2 = 8;
  4438. case 8: {
  4439. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4440. static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
  4441. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4442. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4443. input, &sensor_2_)));
  4444. } else {
  4445. goto handle_unusual;
  4446. }
  4447. break;
  4448. }
  4449. // int32 plc_passway_enable = 9;
  4450. case 9: {
  4451. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4452. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  4453. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4454. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4455. input, &plc_passway_enable_)));
  4456. } else {
  4457. goto handle_unusual;
  4458. }
  4459. break;
  4460. }
  4461. default: {
  4462. handle_unusual:
  4463. if (tag == 0) {
  4464. goto success;
  4465. }
  4466. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4467. input, tag, _internal_metadata_.mutable_unknown_fields()));
  4468. break;
  4469. }
  4470. }
  4471. }
  4472. success:
  4473. // @@protoc_insertion_point(parse_success:dispatch_plc_passway_status)
  4474. return true;
  4475. failure:
  4476. // @@protoc_insertion_point(parse_failure:dispatch_plc_passway_status)
  4477. return false;
  4478. #undef DO_
  4479. }
  4480. void dispatch_plc_passway_status::SerializeWithCachedSizes(
  4481. ::google::protobuf::io::CodedOutputStream* output) const {
  4482. // @@protoc_insertion_point(serialize_start:dispatch_plc_passway_status)
  4483. ::google::protobuf::uint32 cached_has_bits = 0;
  4484. (void) cached_has_bits;
  4485. // int32 car_height = 1;
  4486. if (this->car_height() != 0) {
  4487. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->car_height(), output);
  4488. }
  4489. // int32 outside_door_status = 2;
  4490. if (this->outside_door_status() != 0) {
  4491. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_door_status(), output);
  4492. }
  4493. // int32 inside_door_status = 3;
  4494. if (this->inside_door_status() != 0) {
  4495. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->inside_door_status(), output);
  4496. }
  4497. // int32 comb_body_status = 4;
  4498. if (this->comb_body_status() != 0) {
  4499. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->comb_body_status(), output);
  4500. }
  4501. // float turnplate_angle_min = 5;
  4502. if (this->turnplate_angle_min() != 0) {
  4503. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->turnplate_angle_min(), output);
  4504. }
  4505. // float turnplate_angle_max = 6;
  4506. if (this->turnplate_angle_max() != 0) {
  4507. ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->turnplate_angle_max(), output);
  4508. }
  4509. // int32 sensor_1 = 7;
  4510. if (this->sensor_1() != 0) {
  4511. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->sensor_1(), output);
  4512. }
  4513. // int32 sensor_2 = 8;
  4514. if (this->sensor_2() != 0) {
  4515. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->sensor_2(), output);
  4516. }
  4517. // int32 plc_passway_enable = 9;
  4518. if (this->plc_passway_enable() != 0) {
  4519. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->plc_passway_enable(), output);
  4520. }
  4521. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4522. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4523. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  4524. }
  4525. // @@protoc_insertion_point(serialize_end:dispatch_plc_passway_status)
  4526. }
  4527. ::google::protobuf::uint8* dispatch_plc_passway_status::InternalSerializeWithCachedSizesToArray(
  4528. bool deterministic, ::google::protobuf::uint8* target) const {
  4529. (void)deterministic; // Unused
  4530. // @@protoc_insertion_point(serialize_to_array_start:dispatch_plc_passway_status)
  4531. ::google::protobuf::uint32 cached_has_bits = 0;
  4532. (void) cached_has_bits;
  4533. // int32 car_height = 1;
  4534. if (this->car_height() != 0) {
  4535. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->car_height(), target);
  4536. }
  4537. // int32 outside_door_status = 2;
  4538. if (this->outside_door_status() != 0) {
  4539. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_door_status(), target);
  4540. }
  4541. // int32 inside_door_status = 3;
  4542. if (this->inside_door_status() != 0) {
  4543. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->inside_door_status(), target);
  4544. }
  4545. // int32 comb_body_status = 4;
  4546. if (this->comb_body_status() != 0) {
  4547. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->comb_body_status(), target);
  4548. }
  4549. // float turnplate_angle_min = 5;
  4550. if (this->turnplate_angle_min() != 0) {
  4551. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->turnplate_angle_min(), target);
  4552. }
  4553. // float turnplate_angle_max = 6;
  4554. if (this->turnplate_angle_max() != 0) {
  4555. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->turnplate_angle_max(), target);
  4556. }
  4557. // int32 sensor_1 = 7;
  4558. if (this->sensor_1() != 0) {
  4559. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->sensor_1(), target);
  4560. }
  4561. // int32 sensor_2 = 8;
  4562. if (this->sensor_2() != 0) {
  4563. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->sensor_2(), target);
  4564. }
  4565. // int32 plc_passway_enable = 9;
  4566. if (this->plc_passway_enable() != 0) {
  4567. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->plc_passway_enable(), target);
  4568. }
  4569. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4570. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4571. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  4572. }
  4573. // @@protoc_insertion_point(serialize_to_array_end:dispatch_plc_passway_status)
  4574. return target;
  4575. }
  4576. size_t dispatch_plc_passway_status::ByteSizeLong() const {
  4577. // @@protoc_insertion_point(message_byte_size_start:dispatch_plc_passway_status)
  4578. size_t total_size = 0;
  4579. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  4580. total_size +=
  4581. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4582. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  4583. }
  4584. // int32 car_height = 1;
  4585. if (this->car_height() != 0) {
  4586. total_size += 1 +
  4587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4588. this->car_height());
  4589. }
  4590. // int32 outside_door_status = 2;
  4591. if (this->outside_door_status() != 0) {
  4592. total_size += 1 +
  4593. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4594. this->outside_door_status());
  4595. }
  4596. // int32 inside_door_status = 3;
  4597. if (this->inside_door_status() != 0) {
  4598. total_size += 1 +
  4599. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4600. this->inside_door_status());
  4601. }
  4602. // int32 comb_body_status = 4;
  4603. if (this->comb_body_status() != 0) {
  4604. total_size += 1 +
  4605. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4606. this->comb_body_status());
  4607. }
  4608. // float turnplate_angle_min = 5;
  4609. if (this->turnplate_angle_min() != 0) {
  4610. total_size += 1 + 4;
  4611. }
  4612. // float turnplate_angle_max = 6;
  4613. if (this->turnplate_angle_max() != 0) {
  4614. total_size += 1 + 4;
  4615. }
  4616. // int32 sensor_1 = 7;
  4617. if (this->sensor_1() != 0) {
  4618. total_size += 1 +
  4619. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4620. this->sensor_1());
  4621. }
  4622. // int32 sensor_2 = 8;
  4623. if (this->sensor_2() != 0) {
  4624. total_size += 1 +
  4625. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4626. this->sensor_2());
  4627. }
  4628. // int32 plc_passway_enable = 9;
  4629. if (this->plc_passway_enable() != 0) {
  4630. total_size += 1 +
  4631. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4632. this->plc_passway_enable());
  4633. }
  4634. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  4635. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4636. _cached_size_ = cached_size;
  4637. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4638. return total_size;
  4639. }
  4640. void dispatch_plc_passway_status::MergeFrom(const ::google::protobuf::Message& from) {
  4641. // @@protoc_insertion_point(generalized_merge_from_start:dispatch_plc_passway_status)
  4642. GOOGLE_DCHECK_NE(&from, this);
  4643. const dispatch_plc_passway_status* source =
  4644. ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_plc_passway_status>(
  4645. &from);
  4646. if (source == NULL) {
  4647. // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_plc_passway_status)
  4648. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4649. } else {
  4650. // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_plc_passway_status)
  4651. MergeFrom(*source);
  4652. }
  4653. }
  4654. void dispatch_plc_passway_status::MergeFrom(const dispatch_plc_passway_status& from) {
  4655. // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_plc_passway_status)
  4656. GOOGLE_DCHECK_NE(&from, this);
  4657. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4658. ::google::protobuf::uint32 cached_has_bits = 0;
  4659. (void) cached_has_bits;
  4660. if (from.car_height() != 0) {
  4661. set_car_height(from.car_height());
  4662. }
  4663. if (from.outside_door_status() != 0) {
  4664. set_outside_door_status(from.outside_door_status());
  4665. }
  4666. if (from.inside_door_status() != 0) {
  4667. set_inside_door_status(from.inside_door_status());
  4668. }
  4669. if (from.comb_body_status() != 0) {
  4670. set_comb_body_status(from.comb_body_status());
  4671. }
  4672. if (from.turnplate_angle_min() != 0) {
  4673. set_turnplate_angle_min(from.turnplate_angle_min());
  4674. }
  4675. if (from.turnplate_angle_max() != 0) {
  4676. set_turnplate_angle_max(from.turnplate_angle_max());
  4677. }
  4678. if (from.sensor_1() != 0) {
  4679. set_sensor_1(from.sensor_1());
  4680. }
  4681. if (from.sensor_2() != 0) {
  4682. set_sensor_2(from.sensor_2());
  4683. }
  4684. if (from.plc_passway_enable() != 0) {
  4685. set_plc_passway_enable(from.plc_passway_enable());
  4686. }
  4687. }
  4688. void dispatch_plc_passway_status::CopyFrom(const ::google::protobuf::Message& from) {
  4689. // @@protoc_insertion_point(generalized_copy_from_start:dispatch_plc_passway_status)
  4690. if (&from == this) return;
  4691. Clear();
  4692. MergeFrom(from);
  4693. }
  4694. void dispatch_plc_passway_status::CopyFrom(const dispatch_plc_passway_status& from) {
  4695. // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_plc_passway_status)
  4696. if (&from == this) return;
  4697. Clear();
  4698. MergeFrom(from);
  4699. }
  4700. bool dispatch_plc_passway_status::IsInitialized() const {
  4701. return true;
  4702. }
  4703. void dispatch_plc_passway_status::Swap(dispatch_plc_passway_status* other) {
  4704. if (other == this) return;
  4705. InternalSwap(other);
  4706. }
  4707. void dispatch_plc_passway_status::InternalSwap(dispatch_plc_passway_status* other) {
  4708. using std::swap;
  4709. swap(car_height_, other->car_height_);
  4710. swap(outside_door_status_, other->outside_door_status_);
  4711. swap(inside_door_status_, other->inside_door_status_);
  4712. swap(comb_body_status_, other->comb_body_status_);
  4713. swap(turnplate_angle_min_, other->turnplate_angle_min_);
  4714. swap(turnplate_angle_max_, other->turnplate_angle_max_);
  4715. swap(sensor_1_, other->sensor_1_);
  4716. swap(sensor_2_, other->sensor_2_);
  4717. swap(plc_passway_enable_, other->plc_passway_enable_);
  4718. _internal_metadata_.Swap(&other->_internal_metadata_);
  4719. swap(_cached_size_, other->_cached_size_);
  4720. }
  4721. ::google::protobuf::Metadata dispatch_plc_passway_status::GetMetadata() const {
  4722. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4723. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  4724. }
  4725. // ===================================================================
  4726. void dispatch_node_statu::InitAsDefaultInstance() {
  4727. ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pack_info_ = const_cast< ::park_table*>(
  4728. ::park_table::internal_default_instance());
  4729. ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pick_info_ = const_cast< ::pick_table*>(
  4730. ::pick_table::internal_default_instance());
  4731. }
  4732. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  4733. const int dispatch_node_statu::kStatuFieldNumber;
  4734. const int dispatch_node_statu::kIdleStopFloorFieldNumber;
  4735. const int dispatch_node_statu::kRunningPackInfoFieldNumber;
  4736. const int dispatch_node_statu::kRunningPickInfoFieldNumber;
  4737. const int dispatch_node_statu::kUnitIdFieldNumber;
  4738. const int dispatch_node_statu::kPlcHeartbeatFieldNumber;
  4739. const int dispatch_node_statu::kPlcStatusInfoFieldNumber;
  4740. const int dispatch_node_statu::kPlcCarrierStatusFieldNumber;
  4741. const int dispatch_node_statu::kPlcInlet1StatusFieldNumber;
  4742. const int dispatch_node_statu::kPlcInlet2StatusFieldNumber;
  4743. const int dispatch_node_statu::kPlcOutlet3StatusFieldNumber;
  4744. const int dispatch_node_statu::kPlcOutlet4StatusFieldNumber;
  4745. const int dispatch_node_statu::kDispatchPlcPasswayStatusVectorFieldNumber;
  4746. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  4747. dispatch_node_statu::dispatch_node_statu()
  4748. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4749. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  4750. ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
  4751. }
  4752. SharedCtor();
  4753. // @@protoc_insertion_point(constructor:dispatch_node_statu)
  4754. }
  4755. dispatch_node_statu::dispatch_node_statu(const dispatch_node_statu& from)
  4756. : ::google::protobuf::Message(),
  4757. _internal_metadata_(NULL),
  4758. dispatch_plc_passway_status_vector_(from.dispatch_plc_passway_status_vector_),
  4759. _cached_size_(0) {
  4760. _internal_metadata_.MergeFrom(from._internal_metadata_);
  4761. if (from.has_running_pack_info()) {
  4762. running_pack_info_ = new ::park_table(*from.running_pack_info_);
  4763. } else {
  4764. running_pack_info_ = NULL;
  4765. }
  4766. if (from.has_running_pick_info()) {
  4767. running_pick_info_ = new ::pick_table(*from.running_pick_info_);
  4768. } else {
  4769. running_pick_info_ = NULL;
  4770. }
  4771. ::memcpy(&statu_, &from.statu_,
  4772. static_cast<size_t>(reinterpret_cast<char*>(&plc_outlet_4_status_) -
  4773. reinterpret_cast<char*>(&statu_)) + sizeof(plc_outlet_4_status_));
  4774. // @@protoc_insertion_point(copy_constructor:dispatch_node_statu)
  4775. }
  4776. void dispatch_node_statu::SharedCtor() {
  4777. ::memset(&running_pack_info_, 0, static_cast<size_t>(
  4778. reinterpret_cast<char*>(&plc_outlet_4_status_) -
  4779. reinterpret_cast<char*>(&running_pack_info_)) + sizeof(plc_outlet_4_status_));
  4780. _cached_size_ = 0;
  4781. }
  4782. dispatch_node_statu::~dispatch_node_statu() {
  4783. // @@protoc_insertion_point(destructor:dispatch_node_statu)
  4784. SharedDtor();
  4785. }
  4786. void dispatch_node_statu::SharedDtor() {
  4787. if (this != internal_default_instance()) delete running_pack_info_;
  4788. if (this != internal_default_instance()) delete running_pick_info_;
  4789. }
  4790. void dispatch_node_statu::SetCachedSize(int size) const {
  4791. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4792. _cached_size_ = size;
  4793. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4794. }
  4795. const ::google::protobuf::Descriptor* dispatch_node_statu::descriptor() {
  4796. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  4797. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  4798. }
  4799. const dispatch_node_statu& dispatch_node_statu::default_instance() {
  4800. ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
  4801. return *internal_default_instance();
  4802. }
  4803. dispatch_node_statu* dispatch_node_statu::New(::google::protobuf::Arena* arena) const {
  4804. dispatch_node_statu* n = new dispatch_node_statu;
  4805. if (arena != NULL) {
  4806. arena->Own(n);
  4807. }
  4808. return n;
  4809. }
  4810. void dispatch_node_statu::Clear() {
  4811. // @@protoc_insertion_point(message_clear_start:dispatch_node_statu)
  4812. ::google::protobuf::uint32 cached_has_bits = 0;
  4813. // Prevent compiler warnings about cached_has_bits being unused
  4814. (void) cached_has_bits;
  4815. dispatch_plc_passway_status_vector_.Clear();
  4816. if (GetArenaNoVirtual() == NULL && running_pack_info_ != NULL) {
  4817. delete running_pack_info_;
  4818. }
  4819. running_pack_info_ = NULL;
  4820. if (GetArenaNoVirtual() == NULL && running_pick_info_ != NULL) {
  4821. delete running_pick_info_;
  4822. }
  4823. running_pick_info_ = NULL;
  4824. ::memset(&statu_, 0, static_cast<size_t>(
  4825. reinterpret_cast<char*>(&plc_outlet_4_status_) -
  4826. reinterpret_cast<char*>(&statu_)) + sizeof(plc_outlet_4_status_));
  4827. _internal_metadata_.Clear();
  4828. }
  4829. bool dispatch_node_statu::MergePartialFromCodedStream(
  4830. ::google::protobuf::io::CodedInputStream* input) {
  4831. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  4832. ::google::protobuf::uint32 tag;
  4833. // @@protoc_insertion_point(parse_start:dispatch_node_statu)
  4834. for (;;) {
  4835. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  4836. tag = p.first;
  4837. if (!p.second) goto handle_unusual;
  4838. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4839. // .CarrierStatu statu = 1;
  4840. case 1: {
  4841. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4842. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  4843. int value;
  4844. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4845. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4846. input, &value)));
  4847. set_statu(static_cast< ::CarrierStatu >(value));
  4848. } else {
  4849. goto handle_unusual;
  4850. }
  4851. break;
  4852. }
  4853. // int32 idle_stop_floor = 2;
  4854. case 2: {
  4855. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4856. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  4857. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4858. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4859. input, &idle_stop_floor_)));
  4860. } else {
  4861. goto handle_unusual;
  4862. }
  4863. break;
  4864. }
  4865. // .park_table running_pack_info = 3;
  4866. case 3: {
  4867. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4868. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  4869. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4870. input, mutable_running_pack_info()));
  4871. } else {
  4872. goto handle_unusual;
  4873. }
  4874. break;
  4875. }
  4876. // .pick_table running_pick_info = 4;
  4877. case 4: {
  4878. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4879. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  4880. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  4881. input, mutable_running_pick_info()));
  4882. } else {
  4883. goto handle_unusual;
  4884. }
  4885. break;
  4886. }
  4887. // int32 unit_id = 5;
  4888. case 5: {
  4889. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4890. static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
  4891. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4892. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4893. input, &unit_id_)));
  4894. } else {
  4895. goto handle_unusual;
  4896. }
  4897. break;
  4898. }
  4899. // int32 plc_heartbeat = 6;
  4900. case 6: {
  4901. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4902. static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
  4903. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4904. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4905. input, &plc_heartbeat_)));
  4906. } else {
  4907. goto handle_unusual;
  4908. }
  4909. break;
  4910. }
  4911. // int32 plc_status_info = 7;
  4912. case 7: {
  4913. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4914. static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
  4915. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4916. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4917. input, &plc_status_info_)));
  4918. } else {
  4919. goto handle_unusual;
  4920. }
  4921. break;
  4922. }
  4923. // int32 plc_carrier_status = 8;
  4924. case 8: {
  4925. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4926. static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
  4927. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4928. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4929. input, &plc_carrier_status_)));
  4930. } else {
  4931. goto handle_unusual;
  4932. }
  4933. break;
  4934. }
  4935. // int32 plc_inlet_1_status = 9;
  4936. case 9: {
  4937. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4938. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  4939. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4940. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4941. input, &plc_inlet_1_status_)));
  4942. } else {
  4943. goto handle_unusual;
  4944. }
  4945. break;
  4946. }
  4947. // int32 plc_inlet_2_status = 10;
  4948. case 10: {
  4949. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4950. static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
  4951. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4952. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4953. input, &plc_inlet_2_status_)));
  4954. } else {
  4955. goto handle_unusual;
  4956. }
  4957. break;
  4958. }
  4959. // int32 plc_outlet_3_status = 11;
  4960. case 11: {
  4961. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4962. static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
  4963. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4964. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4965. input, &plc_outlet_3_status_)));
  4966. } else {
  4967. goto handle_unusual;
  4968. }
  4969. break;
  4970. }
  4971. // int32 plc_outlet_4_status = 12;
  4972. case 12: {
  4973. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4974. static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
  4975. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4976. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4977. input, &plc_outlet_4_status_)));
  4978. } else {
  4979. goto handle_unusual;
  4980. }
  4981. break;
  4982. }
  4983. // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
  4984. case 13: {
  4985. if (static_cast< ::google::protobuf::uint8>(tag) ==
  4986. static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
  4987. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_dispatch_plc_passway_status_vector()));
  4988. } else {
  4989. goto handle_unusual;
  4990. }
  4991. break;
  4992. }
  4993. default: {
  4994. handle_unusual:
  4995. if (tag == 0) {
  4996. goto success;
  4997. }
  4998. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4999. input, tag, _internal_metadata_.mutable_unknown_fields()));
  5000. break;
  5001. }
  5002. }
  5003. }
  5004. success:
  5005. // @@protoc_insertion_point(parse_success:dispatch_node_statu)
  5006. return true;
  5007. failure:
  5008. // @@protoc_insertion_point(parse_failure:dispatch_node_statu)
  5009. return false;
  5010. #undef DO_
  5011. }
  5012. void dispatch_node_statu::SerializeWithCachedSizes(
  5013. ::google::protobuf::io::CodedOutputStream* output) const {
  5014. // @@protoc_insertion_point(serialize_start:dispatch_node_statu)
  5015. ::google::protobuf::uint32 cached_has_bits = 0;
  5016. (void) cached_has_bits;
  5017. // .CarrierStatu statu = 1;
  5018. if (this->statu() != 0) {
  5019. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5020. 1, this->statu(), output);
  5021. }
  5022. // int32 idle_stop_floor = 2;
  5023. if (this->idle_stop_floor() != 0) {
  5024. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->idle_stop_floor(), output);
  5025. }
  5026. // .park_table running_pack_info = 3;
  5027. if (this->has_running_pack_info()) {
  5028. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5029. 3, *this->running_pack_info_, output);
  5030. }
  5031. // .pick_table running_pick_info = 4;
  5032. if (this->has_running_pick_info()) {
  5033. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5034. 4, *this->running_pick_info_, output);
  5035. }
  5036. // int32 unit_id = 5;
  5037. if (this->unit_id() != 0) {
  5038. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->unit_id(), output);
  5039. }
  5040. // int32 plc_heartbeat = 6;
  5041. if (this->plc_heartbeat() != 0) {
  5042. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->plc_heartbeat(), output);
  5043. }
  5044. // int32 plc_status_info = 7;
  5045. if (this->plc_status_info() != 0) {
  5046. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->plc_status_info(), output);
  5047. }
  5048. // int32 plc_carrier_status = 8;
  5049. if (this->plc_carrier_status() != 0) {
  5050. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->plc_carrier_status(), output);
  5051. }
  5052. // int32 plc_inlet_1_status = 9;
  5053. if (this->plc_inlet_1_status() != 0) {
  5054. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->plc_inlet_1_status(), output);
  5055. }
  5056. // int32 plc_inlet_2_status = 10;
  5057. if (this->plc_inlet_2_status() != 0) {
  5058. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->plc_inlet_2_status(), output);
  5059. }
  5060. // int32 plc_outlet_3_status = 11;
  5061. if (this->plc_outlet_3_status() != 0) {
  5062. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->plc_outlet_3_status(), output);
  5063. }
  5064. // int32 plc_outlet_4_status = 12;
  5065. if (this->plc_outlet_4_status() != 0) {
  5066. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->plc_outlet_4_status(), output);
  5067. }
  5068. // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
  5069. for (unsigned int i = 0,
  5070. n = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size()); i < n; i++) {
  5071. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5072. 13, this->dispatch_plc_passway_status_vector(static_cast<int>(i)), output);
  5073. }
  5074. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5075. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5076. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  5077. }
  5078. // @@protoc_insertion_point(serialize_end:dispatch_node_statu)
  5079. }
  5080. ::google::protobuf::uint8* dispatch_node_statu::InternalSerializeWithCachedSizesToArray(
  5081. bool deterministic, ::google::protobuf::uint8* target) const {
  5082. (void)deterministic; // Unused
  5083. // @@protoc_insertion_point(serialize_to_array_start:dispatch_node_statu)
  5084. ::google::protobuf::uint32 cached_has_bits = 0;
  5085. (void) cached_has_bits;
  5086. // .CarrierStatu statu = 1;
  5087. if (this->statu() != 0) {
  5088. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5089. 1, this->statu(), target);
  5090. }
  5091. // int32 idle_stop_floor = 2;
  5092. if (this->idle_stop_floor() != 0) {
  5093. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->idle_stop_floor(), target);
  5094. }
  5095. // .park_table running_pack_info = 3;
  5096. if (this->has_running_pack_info()) {
  5097. target = ::google::protobuf::internal::WireFormatLite::
  5098. InternalWriteMessageToArray(
  5099. 3, *this->running_pack_info_, deterministic, target);
  5100. }
  5101. // .pick_table running_pick_info = 4;
  5102. if (this->has_running_pick_info()) {
  5103. target = ::google::protobuf::internal::WireFormatLite::
  5104. InternalWriteMessageToArray(
  5105. 4, *this->running_pick_info_, deterministic, target);
  5106. }
  5107. // int32 unit_id = 5;
  5108. if (this->unit_id() != 0) {
  5109. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->unit_id(), target);
  5110. }
  5111. // int32 plc_heartbeat = 6;
  5112. if (this->plc_heartbeat() != 0) {
  5113. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->plc_heartbeat(), target);
  5114. }
  5115. // int32 plc_status_info = 7;
  5116. if (this->plc_status_info() != 0) {
  5117. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->plc_status_info(), target);
  5118. }
  5119. // int32 plc_carrier_status = 8;
  5120. if (this->plc_carrier_status() != 0) {
  5121. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->plc_carrier_status(), target);
  5122. }
  5123. // int32 plc_inlet_1_status = 9;
  5124. if (this->plc_inlet_1_status() != 0) {
  5125. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->plc_inlet_1_status(), target);
  5126. }
  5127. // int32 plc_inlet_2_status = 10;
  5128. if (this->plc_inlet_2_status() != 0) {
  5129. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->plc_inlet_2_status(), target);
  5130. }
  5131. // int32 plc_outlet_3_status = 11;
  5132. if (this->plc_outlet_3_status() != 0) {
  5133. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->plc_outlet_3_status(), target);
  5134. }
  5135. // int32 plc_outlet_4_status = 12;
  5136. if (this->plc_outlet_4_status() != 0) {
  5137. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->plc_outlet_4_status(), target);
  5138. }
  5139. // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
  5140. for (unsigned int i = 0,
  5141. n = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size()); i < n; i++) {
  5142. target = ::google::protobuf::internal::WireFormatLite::
  5143. InternalWriteMessageToArray(
  5144. 13, this->dispatch_plc_passway_status_vector(static_cast<int>(i)), deterministic, target);
  5145. }
  5146. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5147. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5148. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  5149. }
  5150. // @@protoc_insertion_point(serialize_to_array_end:dispatch_node_statu)
  5151. return target;
  5152. }
  5153. size_t dispatch_node_statu::ByteSizeLong() const {
  5154. // @@protoc_insertion_point(message_byte_size_start:dispatch_node_statu)
  5155. size_t total_size = 0;
  5156. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5157. total_size +=
  5158. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5159. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  5160. }
  5161. // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
  5162. {
  5163. unsigned int count = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size());
  5164. total_size += 1UL * count;
  5165. for (unsigned int i = 0; i < count; i++) {
  5166. total_size +=
  5167. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5168. this->dispatch_plc_passway_status_vector(static_cast<int>(i)));
  5169. }
  5170. }
  5171. // .park_table running_pack_info = 3;
  5172. if (this->has_running_pack_info()) {
  5173. total_size += 1 +
  5174. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5175. *this->running_pack_info_);
  5176. }
  5177. // .pick_table running_pick_info = 4;
  5178. if (this->has_running_pick_info()) {
  5179. total_size += 1 +
  5180. ::google::protobuf::internal::WireFormatLite::MessageSize(
  5181. *this->running_pick_info_);
  5182. }
  5183. // .CarrierStatu statu = 1;
  5184. if (this->statu() != 0) {
  5185. total_size += 1 +
  5186. ::google::protobuf::internal::WireFormatLite::EnumSize(this->statu());
  5187. }
  5188. // int32 idle_stop_floor = 2;
  5189. if (this->idle_stop_floor() != 0) {
  5190. total_size += 1 +
  5191. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5192. this->idle_stop_floor());
  5193. }
  5194. // int32 unit_id = 5;
  5195. if (this->unit_id() != 0) {
  5196. total_size += 1 +
  5197. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5198. this->unit_id());
  5199. }
  5200. // int32 plc_heartbeat = 6;
  5201. if (this->plc_heartbeat() != 0) {
  5202. total_size += 1 +
  5203. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5204. this->plc_heartbeat());
  5205. }
  5206. // int32 plc_status_info = 7;
  5207. if (this->plc_status_info() != 0) {
  5208. total_size += 1 +
  5209. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5210. this->plc_status_info());
  5211. }
  5212. // int32 plc_carrier_status = 8;
  5213. if (this->plc_carrier_status() != 0) {
  5214. total_size += 1 +
  5215. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5216. this->plc_carrier_status());
  5217. }
  5218. // int32 plc_inlet_1_status = 9;
  5219. if (this->plc_inlet_1_status() != 0) {
  5220. total_size += 1 +
  5221. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5222. this->plc_inlet_1_status());
  5223. }
  5224. // int32 plc_inlet_2_status = 10;
  5225. if (this->plc_inlet_2_status() != 0) {
  5226. total_size += 1 +
  5227. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5228. this->plc_inlet_2_status());
  5229. }
  5230. // int32 plc_outlet_3_status = 11;
  5231. if (this->plc_outlet_3_status() != 0) {
  5232. total_size += 1 +
  5233. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5234. this->plc_outlet_3_status());
  5235. }
  5236. // int32 plc_outlet_4_status = 12;
  5237. if (this->plc_outlet_4_status() != 0) {
  5238. total_size += 1 +
  5239. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5240. this->plc_outlet_4_status());
  5241. }
  5242. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  5243. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5244. _cached_size_ = cached_size;
  5245. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5246. return total_size;
  5247. }
  5248. void dispatch_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
  5249. // @@protoc_insertion_point(generalized_merge_from_start:dispatch_node_statu)
  5250. GOOGLE_DCHECK_NE(&from, this);
  5251. const dispatch_node_statu* source =
  5252. ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_node_statu>(
  5253. &from);
  5254. if (source == NULL) {
  5255. // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_node_statu)
  5256. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5257. } else {
  5258. // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_node_statu)
  5259. MergeFrom(*source);
  5260. }
  5261. }
  5262. void dispatch_node_statu::MergeFrom(const dispatch_node_statu& from) {
  5263. // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_node_statu)
  5264. GOOGLE_DCHECK_NE(&from, this);
  5265. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5266. ::google::protobuf::uint32 cached_has_bits = 0;
  5267. (void) cached_has_bits;
  5268. dispatch_plc_passway_status_vector_.MergeFrom(from.dispatch_plc_passway_status_vector_);
  5269. if (from.has_running_pack_info()) {
  5270. mutable_running_pack_info()->::park_table::MergeFrom(from.running_pack_info());
  5271. }
  5272. if (from.has_running_pick_info()) {
  5273. mutable_running_pick_info()->::pick_table::MergeFrom(from.running_pick_info());
  5274. }
  5275. if (from.statu() != 0) {
  5276. set_statu(from.statu());
  5277. }
  5278. if (from.idle_stop_floor() != 0) {
  5279. set_idle_stop_floor(from.idle_stop_floor());
  5280. }
  5281. if (from.unit_id() != 0) {
  5282. set_unit_id(from.unit_id());
  5283. }
  5284. if (from.plc_heartbeat() != 0) {
  5285. set_plc_heartbeat(from.plc_heartbeat());
  5286. }
  5287. if (from.plc_status_info() != 0) {
  5288. set_plc_status_info(from.plc_status_info());
  5289. }
  5290. if (from.plc_carrier_status() != 0) {
  5291. set_plc_carrier_status(from.plc_carrier_status());
  5292. }
  5293. if (from.plc_inlet_1_status() != 0) {
  5294. set_plc_inlet_1_status(from.plc_inlet_1_status());
  5295. }
  5296. if (from.plc_inlet_2_status() != 0) {
  5297. set_plc_inlet_2_status(from.plc_inlet_2_status());
  5298. }
  5299. if (from.plc_outlet_3_status() != 0) {
  5300. set_plc_outlet_3_status(from.plc_outlet_3_status());
  5301. }
  5302. if (from.plc_outlet_4_status() != 0) {
  5303. set_plc_outlet_4_status(from.plc_outlet_4_status());
  5304. }
  5305. }
  5306. void dispatch_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
  5307. // @@protoc_insertion_point(generalized_copy_from_start:dispatch_node_statu)
  5308. if (&from == this) return;
  5309. Clear();
  5310. MergeFrom(from);
  5311. }
  5312. void dispatch_node_statu::CopyFrom(const dispatch_node_statu& from) {
  5313. // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_node_statu)
  5314. if (&from == this) return;
  5315. Clear();
  5316. MergeFrom(from);
  5317. }
  5318. bool dispatch_node_statu::IsInitialized() const {
  5319. return true;
  5320. }
  5321. void dispatch_node_statu::Swap(dispatch_node_statu* other) {
  5322. if (other == this) return;
  5323. InternalSwap(other);
  5324. }
  5325. void dispatch_node_statu::InternalSwap(dispatch_node_statu* other) {
  5326. using std::swap;
  5327. dispatch_plc_passway_status_vector_.InternalSwap(&other->dispatch_plc_passway_status_vector_);
  5328. swap(running_pack_info_, other->running_pack_info_);
  5329. swap(running_pick_info_, other->running_pick_info_);
  5330. swap(statu_, other->statu_);
  5331. swap(idle_stop_floor_, other->idle_stop_floor_);
  5332. swap(unit_id_, other->unit_id_);
  5333. swap(plc_heartbeat_, other->plc_heartbeat_);
  5334. swap(plc_status_info_, other->plc_status_info_);
  5335. swap(plc_carrier_status_, other->plc_carrier_status_);
  5336. swap(plc_inlet_1_status_, other->plc_inlet_1_status_);
  5337. swap(plc_inlet_2_status_, other->plc_inlet_2_status_);
  5338. swap(plc_outlet_3_status_, other->plc_outlet_3_status_);
  5339. swap(plc_outlet_4_status_, other->plc_outlet_4_status_);
  5340. _internal_metadata_.Swap(&other->_internal_metadata_);
  5341. swap(_cached_size_, other->_cached_size_);
  5342. }
  5343. ::google::protobuf::Metadata dispatch_node_statu::GetMetadata() const {
  5344. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  5345. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  5346. }
  5347. // ===================================================================
  5348. void terminal_node_statu::InitAsDefaultInstance() {
  5349. }
  5350. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  5351. const int terminal_node_statu::kTerminalIdFieldNumber;
  5352. const int terminal_node_statu::kImportIdFieldNumber;
  5353. const int terminal_node_statu::kCarNumberFieldNumber;
  5354. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  5355. terminal_node_statu::terminal_node_statu()
  5356. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5357. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  5358. ::protobuf_message_2eproto::InitDefaultsterminal_node_statu();
  5359. }
  5360. SharedCtor();
  5361. // @@protoc_insertion_point(constructor:terminal_node_statu)
  5362. }
  5363. terminal_node_statu::terminal_node_statu(const terminal_node_statu& from)
  5364. : ::google::protobuf::Message(),
  5365. _internal_metadata_(NULL),
  5366. _cached_size_(0) {
  5367. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5368. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5369. if (from.car_number().size() > 0) {
  5370. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  5371. }
  5372. ::memcpy(&terminal_id_, &from.terminal_id_,
  5373. static_cast<size_t>(reinterpret_cast<char*>(&import_id_) -
  5374. reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
  5375. // @@protoc_insertion_point(copy_constructor:terminal_node_statu)
  5376. }
  5377. void terminal_node_statu::SharedCtor() {
  5378. car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5379. ::memset(&terminal_id_, 0, static_cast<size_t>(
  5380. reinterpret_cast<char*>(&import_id_) -
  5381. reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
  5382. _cached_size_ = 0;
  5383. }
  5384. terminal_node_statu::~terminal_node_statu() {
  5385. // @@protoc_insertion_point(destructor:terminal_node_statu)
  5386. SharedDtor();
  5387. }
  5388. void terminal_node_statu::SharedDtor() {
  5389. car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5390. }
  5391. void terminal_node_statu::SetCachedSize(int size) const {
  5392. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5393. _cached_size_ = size;
  5394. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5395. }
  5396. const ::google::protobuf::Descriptor* terminal_node_statu::descriptor() {
  5397. ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  5398. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  5399. }
  5400. const terminal_node_statu& terminal_node_statu::default_instance() {
  5401. ::protobuf_message_2eproto::InitDefaultsterminal_node_statu();
  5402. return *internal_default_instance();
  5403. }
  5404. terminal_node_statu* terminal_node_statu::New(::google::protobuf::Arena* arena) const {
  5405. terminal_node_statu* n = new terminal_node_statu;
  5406. if (arena != NULL) {
  5407. arena->Own(n);
  5408. }
  5409. return n;
  5410. }
  5411. void terminal_node_statu::Clear() {
  5412. // @@protoc_insertion_point(message_clear_start:terminal_node_statu)
  5413. ::google::protobuf::uint32 cached_has_bits = 0;
  5414. // Prevent compiler warnings about cached_has_bits being unused
  5415. (void) cached_has_bits;
  5416. car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5417. ::memset(&terminal_id_, 0, static_cast<size_t>(
  5418. reinterpret_cast<char*>(&import_id_) -
  5419. reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
  5420. _internal_metadata_.Clear();
  5421. }
  5422. bool terminal_node_statu::MergePartialFromCodedStream(
  5423. ::google::protobuf::io::CodedInputStream* input) {
  5424. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  5425. ::google::protobuf::uint32 tag;
  5426. // @@protoc_insertion_point(parse_start:terminal_node_statu)
  5427. for (;;) {
  5428. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  5429. tag = p.first;
  5430. if (!p.second) goto handle_unusual;
  5431. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5432. // int32 terminal_id = 1;
  5433. case 1: {
  5434. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5435. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  5436. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5437. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5438. input, &terminal_id_)));
  5439. } else {
  5440. goto handle_unusual;
  5441. }
  5442. break;
  5443. }
  5444. // int32 import_id = 2;
  5445. case 2: {
  5446. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5447. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  5448. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5449. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5450. input, &import_id_)));
  5451. } else {
  5452. goto handle_unusual;
  5453. }
  5454. break;
  5455. }
  5456. // string car_number = 3;
  5457. case 3: {
  5458. if (static_cast< ::google::protobuf::uint8>(tag) ==
  5459. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  5460. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5461. input, this->mutable_car_number()));
  5462. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5463. this->car_number().data(), static_cast<int>(this->car_number().length()),
  5464. ::google::protobuf::internal::WireFormatLite::PARSE,
  5465. "terminal_node_statu.car_number"));
  5466. } else {
  5467. goto handle_unusual;
  5468. }
  5469. break;
  5470. }
  5471. default: {
  5472. handle_unusual:
  5473. if (tag == 0) {
  5474. goto success;
  5475. }
  5476. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5477. input, tag, _internal_metadata_.mutable_unknown_fields()));
  5478. break;
  5479. }
  5480. }
  5481. }
  5482. success:
  5483. // @@protoc_insertion_point(parse_success:terminal_node_statu)
  5484. return true;
  5485. failure:
  5486. // @@protoc_insertion_point(parse_failure:terminal_node_statu)
  5487. return false;
  5488. #undef DO_
  5489. }
  5490. void terminal_node_statu::SerializeWithCachedSizes(
  5491. ::google::protobuf::io::CodedOutputStream* output) const {
  5492. // @@protoc_insertion_point(serialize_start:terminal_node_statu)
  5493. ::google::protobuf::uint32 cached_has_bits = 0;
  5494. (void) cached_has_bits;
  5495. // int32 terminal_id = 1;
  5496. if (this->terminal_id() != 0) {
  5497. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->terminal_id(), output);
  5498. }
  5499. // int32 import_id = 2;
  5500. if (this->import_id() != 0) {
  5501. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->import_id(), output);
  5502. }
  5503. // string car_number = 3;
  5504. if (this->car_number().size() > 0) {
  5505. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5506. this->car_number().data(), static_cast<int>(this->car_number().length()),
  5507. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5508. "terminal_node_statu.car_number");
  5509. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5510. 3, this->car_number(), output);
  5511. }
  5512. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5513. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5514. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  5515. }
  5516. // @@protoc_insertion_point(serialize_end:terminal_node_statu)
  5517. }
  5518. ::google::protobuf::uint8* terminal_node_statu::InternalSerializeWithCachedSizesToArray(
  5519. bool deterministic, ::google::protobuf::uint8* target) const {
  5520. (void)deterministic; // Unused
  5521. // @@protoc_insertion_point(serialize_to_array_start:terminal_node_statu)
  5522. ::google::protobuf::uint32 cached_has_bits = 0;
  5523. (void) cached_has_bits;
  5524. // int32 terminal_id = 1;
  5525. if (this->terminal_id() != 0) {
  5526. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->terminal_id(), target);
  5527. }
  5528. // int32 import_id = 2;
  5529. if (this->import_id() != 0) {
  5530. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->import_id(), target);
  5531. }
  5532. // string car_number = 3;
  5533. if (this->car_number().size() > 0) {
  5534. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5535. this->car_number().data(), static_cast<int>(this->car_number().length()),
  5536. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5537. "terminal_node_statu.car_number");
  5538. target =
  5539. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5540. 3, this->car_number(), target);
  5541. }
  5542. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5543. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5544. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  5545. }
  5546. // @@protoc_insertion_point(serialize_to_array_end:terminal_node_statu)
  5547. return target;
  5548. }
  5549. size_t terminal_node_statu::ByteSizeLong() const {
  5550. // @@protoc_insertion_point(message_byte_size_start:terminal_node_statu)
  5551. size_t total_size = 0;
  5552. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  5553. total_size +=
  5554. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5555. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  5556. }
  5557. // string car_number = 3;
  5558. if (this->car_number().size() > 0) {
  5559. total_size += 1 +
  5560. ::google::protobuf::internal::WireFormatLite::StringSize(
  5561. this->car_number());
  5562. }
  5563. // int32 terminal_id = 1;
  5564. if (this->terminal_id() != 0) {
  5565. total_size += 1 +
  5566. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5567. this->terminal_id());
  5568. }
  5569. // int32 import_id = 2;
  5570. if (this->import_id() != 0) {
  5571. total_size += 1 +
  5572. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5573. this->import_id());
  5574. }
  5575. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  5576. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5577. _cached_size_ = cached_size;
  5578. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5579. return total_size;
  5580. }
  5581. void terminal_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
  5582. // @@protoc_insertion_point(generalized_merge_from_start:terminal_node_statu)
  5583. GOOGLE_DCHECK_NE(&from, this);
  5584. const terminal_node_statu* source =
  5585. ::google::protobuf::internal::DynamicCastToGenerated<const terminal_node_statu>(
  5586. &from);
  5587. if (source == NULL) {
  5588. // @@protoc_insertion_point(generalized_merge_from_cast_fail:terminal_node_statu)
  5589. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5590. } else {
  5591. // @@protoc_insertion_point(generalized_merge_from_cast_success:terminal_node_statu)
  5592. MergeFrom(*source);
  5593. }
  5594. }
  5595. void terminal_node_statu::MergeFrom(const terminal_node_statu& from) {
  5596. // @@protoc_insertion_point(class_specific_merge_from_start:terminal_node_statu)
  5597. GOOGLE_DCHECK_NE(&from, this);
  5598. _internal_metadata_.MergeFrom(from._internal_metadata_);
  5599. ::google::protobuf::uint32 cached_has_bits = 0;
  5600. (void) cached_has_bits;
  5601. if (from.car_number().size() > 0) {
  5602. car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
  5603. }
  5604. if (from.terminal_id() != 0) {
  5605. set_terminal_id(from.terminal_id());
  5606. }
  5607. if (from.import_id() != 0) {
  5608. set_import_id(from.import_id());
  5609. }
  5610. }
  5611. void terminal_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
  5612. // @@protoc_insertion_point(generalized_copy_from_start:terminal_node_statu)
  5613. if (&from == this) return;
  5614. Clear();
  5615. MergeFrom(from);
  5616. }
  5617. void terminal_node_statu::CopyFrom(const terminal_node_statu& from) {
  5618. // @@protoc_insertion_point(class_specific_copy_from_start:terminal_node_statu)
  5619. if (&from == this) return;
  5620. Clear();
  5621. MergeFrom(from);
  5622. }
  5623. bool terminal_node_statu::IsInitialized() const {
  5624. return true;
  5625. }
  5626. void terminal_node_statu::Swap(terminal_node_statu* other) {
  5627. if (other == this) return;
  5628. InternalSwap(other);
  5629. }
  5630. void terminal_node_statu::InternalSwap(terminal_node_statu* other) {
  5631. using std::swap;
  5632. car_number_.Swap(&other->car_number_);
  5633. swap(terminal_id_, other->terminal_id_);
  5634. swap(import_id_, other->import_id_);
  5635. _internal_metadata_.Swap(&other->_internal_metadata_);
  5636. swap(_cached_size_, other->_cached_size_);
  5637. }
  5638. ::google::protobuf::Metadata terminal_node_statu::GetMetadata() const {
  5639. protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
  5640. return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
  5641. }
  5642. // @@protoc_insertion_point(namespace_scope)
  5643. // @@protoc_insertion_point(global_scope)