123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: message.proto
- #include "message.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- class measure_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<measure_info>
- _instance;
- } _measure_info_default_instance_;
- class parkspace_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<parkspace_info>
- _instance;
- } _parkspace_info_default_instance_;
- class table_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<table_statu>
- _instance;
- } _table_statu_default_instance_;
- class plate_number_infoDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<plate_number_info>
- _instance;
- } _plate_number_info_default_instance_;
- class park_tableDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<park_table>
- _instance;
- } _park_table_default_instance_;
- class pick_tableDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<pick_table>
- _instance;
- } _pick_table_default_instance_;
- class out_mcpu_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<out_mcpu_statu>
- _instance;
- } _out_mcpu_statu_default_instance_;
- class in_mcpu_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<in_mcpu_statu>
- _instance;
- } _in_mcpu_statu_default_instance_;
- class measure_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<measure_statu>
- _instance;
- } _measure_statu_default_instance_;
- class dispatch_plc_passway_statusDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<dispatch_plc_passway_status>
- _instance;
- } _dispatch_plc_passway_status_default_instance_;
- class dispatch_node_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<dispatch_node_statu>
- _instance;
- } _dispatch_node_statu_default_instance_;
- class terminal_node_statuDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<terminal_node_statu>
- _instance;
- } _terminal_node_statu_default_instance_;
- namespace protobuf_message_2eproto {
- void InitDefaultsmeasure_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_measure_info_default_instance_;
- new (ptr) ::measure_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_info::InitAsDefaultInstance();
- }
- void InitDefaultsmeasure_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_infoImpl);
- }
- void InitDefaultsparkspace_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_parkspace_info_default_instance_;
- new (ptr) ::parkspace_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::parkspace_info::InitAsDefaultInstance();
- }
- void InitDefaultsparkspace_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsparkspace_infoImpl);
- }
- void InitDefaultstable_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_table_statu_default_instance_;
- new (ptr) ::table_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::table_statu::InitAsDefaultInstance();
- }
- void InitDefaultstable_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultstable_statuImpl);
- }
- void InitDefaultsplate_number_infoImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_plate_number_info_default_instance_;
- new (ptr) ::plate_number_info();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::plate_number_info::InitAsDefaultInstance();
- }
- void InitDefaultsplate_number_info() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsplate_number_infoImpl);
- }
- void InitDefaultspark_tableImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultstable_statu();
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- protobuf_message_2eproto::InitDefaultsparkspace_info();
- protobuf_message_2eproto::InitDefaultsplate_number_info();
- {
- void* ptr = &::_park_table_default_instance_;
- new (ptr) ::park_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::park_table::InitAsDefaultInstance();
- }
- void InitDefaultspark_table() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspark_tableImpl);
- }
- void InitDefaultspick_tableImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultstable_statu();
- protobuf_message_2eproto::InitDefaultsparkspace_info();
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- {
- void* ptr = &::_pick_table_default_instance_;
- new (ptr) ::pick_table();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::pick_table::InitAsDefaultInstance();
- }
- void InitDefaultspick_table() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspick_tableImpl);
- }
- void InitDefaultsout_mcpu_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_out_mcpu_statu_default_instance_;
- new (ptr) ::out_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::out_mcpu_statu::InitAsDefaultInstance();
- }
- void InitDefaultsout_mcpu_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsout_mcpu_statuImpl);
- }
- void InitDefaultsin_mcpu_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_in_mcpu_statu_default_instance_;
- new (ptr) ::in_mcpu_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::in_mcpu_statu::InitAsDefaultInstance();
- }
- void InitDefaultsin_mcpu_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsin_mcpu_statuImpl);
- }
- void InitDefaultsmeasure_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultsmeasure_info();
- {
- void* ptr = &::_measure_statu_default_instance_;
- new (ptr) ::measure_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::measure_statu::InitAsDefaultInstance();
- }
- void InitDefaultsmeasure_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_statuImpl);
- }
- void InitDefaultsdispatch_plc_passway_statusImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_dispatch_plc_passway_status_default_instance_;
- new (ptr) ::dispatch_plc_passway_status();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_plc_passway_status::InitAsDefaultInstance();
- }
- void InitDefaultsdispatch_plc_passway_status() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_plc_passway_statusImpl);
- }
- void InitDefaultsdispatch_node_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_2eproto::InitDefaultspark_table();
- protobuf_message_2eproto::InitDefaultspick_table();
- protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
- {
- void* ptr = &::_dispatch_node_statu_default_instance_;
- new (ptr) ::dispatch_node_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::dispatch_node_statu::InitAsDefaultInstance();
- }
- void InitDefaultsdispatch_node_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_node_statuImpl);
- }
- void InitDefaultsterminal_node_statuImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::_terminal_node_statu_default_instance_;
- new (ptr) ::terminal_node_statu();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::terminal_node_statu::InitAsDefaultInstance();
- }
- void InitDefaultsterminal_node_statu() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsterminal_node_statuImpl);
- }
- ::google::protobuf::Metadata file_level_metadata[12];
- const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cx_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cy_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, theta_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, length_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, width_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, height_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, wheelbase_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, front_theta_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, border_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, ground_status_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, serial_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, table_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, floor_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, room_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, height_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, execute_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, statu_description_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_number_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_color_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_type_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_confidence_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, recognition_time_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_full_image_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::plate_number_info, plate_clip_image_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, queue_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, primary_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, entrance_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, allocated_space_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_space_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, import_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_info_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, queue_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, car_number_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, primary_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_space_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_measure_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, export_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, is_leaved_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, door_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, outside_safety_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, door_statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, back_io_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, is_occupy_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, heighth_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, info_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, car_height_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, outside_door_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, inside_door_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, comb_body_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, turnplate_angle_min_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, turnplate_angle_max_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, sensor_1_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, sensor_2_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_plc_passway_status, plc_passway_enable_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, statu_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, idle_stop_floor_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pack_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pick_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, unit_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_heartbeat_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_status_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_carrier_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_inlet_1_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_inlet_2_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_outlet_3_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_outlet_4_status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, dispatch_plc_passway_status_vector_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, terminal_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, import_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, car_number_),
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::measure_info)},
- { 15, -1, sizeof(::parkspace_info)},
- { 27, -1, sizeof(::table_statu)},
- { 34, -1, sizeof(::plate_number_info)},
- { 46, -1, sizeof(::park_table)},
- { 63, -1, sizeof(::pick_table)},
- { 78, -1, sizeof(::out_mcpu_statu)},
- { 85, -1, sizeof(::in_mcpu_statu)},
- { 94, -1, sizeof(::measure_statu)},
- { 100, -1, sizeof(::dispatch_plc_passway_status)},
- { 114, -1, sizeof(::dispatch_node_statu)},
- { 132, -1, sizeof(::terminal_node_statu)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_parkspace_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_table_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_plate_number_info_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_park_table_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_pick_table_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_out_mcpu_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_in_mcpu_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_plc_passway_status_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_node_statu_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_terminal_node_statu_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- ::google::protobuf::MessageFactory* factory = NULL;
- AssignDescriptors(
- "message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
- file_level_metadata, file_level_enum_descriptors, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 12);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\rmessage.proto\"\271\001\n\014measure_info\022\n\n\002cx\030\001"
- " \001(\002\022\n\n\002cy\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\022\016\n\006lengt"
- "h\030\004 \001(\002\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002\022\021"
- "\n\twheelbase\030\007 \001(\002\022\023\n\013front_theta\030\010 \001(\002\022\024"
- "\n\014border_statu\030\t \001(\005\022\025\n\rground_status\030\n "
- "\001(\005\"\202\001\n\016parkspace_info\022\n\n\002id\030\001 \001(\005\022\021\n\tse"
- "rial_id\030\002 \001(\005\022\020\n\010table_id\030\003 \001(\005\022\017\n\007unit_"
- "id\030\004 \001(\005\022\r\n\005floor\030\005 \001(\005\022\017\n\007room_id\030\006 \001(\005"
- "\022\016\n\006height\030\007 \001(\002\"G\n\013table_statu\022\035\n\rexecu"
- "te_statu\030\001 \001(\0162\006.STATU\022\031\n\021statu_descript"
- "ion\030\002 \001(\t\"\272\001\n\021plate_number_info\022\024\n\014plate"
- "_number\030\001 \001(\t\022\023\n\013plate_color\030\002 \001(\t\022\022\n\npl"
- "ate_type\030\003 \001(\t\022\030\n\020plate_confidence\030\004 \001(\005"
- "\022\030\n\020recognition_time\030\005 \001(\t\022\030\n\020plate_full"
- "_image\030\006 \001(\t\022\030\n\020plate_clip_image\030\007 \001(\t\"\203"
- "\003\n\npark_table\022\033\n\005statu\030\001 \001(\0132\014.table_sta"
- "tu\022\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t"
- "\022\017\n\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023"
- "\n\013primary_key\030\006 \001(\t\022,\n\025entrance_measure_"
- "info\030\007 \001(\0132\r.measure_info\022-\n\024allocated_s"
- "pace_info\030\010 \001(\0132\017.parkspace_info\022,\n\025actu"
- "ally_measure_info\030\t \001(\0132\r.measure_info\022,"
- "\n\023actually_space_info\030\n \001(\0132\017.parkspace_"
- "info\022\021\n\timport_id\030\013 \001(\005\022+\n\017car_number_in"
- "fo\030\014 \001(\0132\022.plate_number_info\"\214\002\n\npick_ta"
- "ble\022\033\n\005statu\030\001 \001(\0132\014.table_statu\022\020\n\010queu"
- "e_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t\022\017\n\007unit_i"
- "d\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023\n\013primary_"
- "key\030\006 \001(\t\022,\n\023actually_space_info\030\007 \001(\0132\017"
- ".parkspace_info\022,\n\025actually_measure_info"
- "\030\010 \001(\0132\r.measure_info\022\021\n\texport_id\030\t \001(\005"
- "\022\021\n\tis_leaved\030\n \001(\010\"<\n\016out_mcpu_statu\022\022\n"
- "\ndoor_statu\030\001 \001(\005\022\026\n\016outside_safety\030\002 \001("
- "\005\"X\n\rin_mcpu_statu\022\022\n\ndoor_statu\030\001 \001(\005\022\017"
- "\n\007back_io\030\002 \001(\005\022\021\n\tis_occupy\030\003 \001(\005\022\017\n\007he"
- "ighth\030\004 \001(\005\",\n\rmeasure_statu\022\033\n\004info\030\001 \001"
- "(\0132\r.measure_info\"\376\001\n\033dispatch_plc_passw"
- "ay_status\022\022\n\ncar_height\030\001 \001(\005\022\033\n\023outside"
- "_door_status\030\002 \001(\005\022\032\n\022inside_door_status"
- "\030\003 \001(\005\022\030\n\020comb_body_status\030\004 \001(\005\022\033\n\023turn"
- "plate_angle_min\030\005 \001(\002\022\033\n\023turnplate_angle"
- "_max\030\006 \001(\002\022\020\n\010sensor_1\030\007 \001(\005\022\020\n\010sensor_2"
- "\030\010 \001(\005\022\032\n\022plc_passway_enable\030\t \001(\005\"\265\003\n\023d"
- "ispatch_node_statu\022\034\n\005statu\030\001 \001(\0162\r.Carr"
- "ierStatu\022\027\n\017idle_stop_floor\030\002 \001(\005\022&\n\021run"
- "ning_pack_info\030\003 \001(\0132\013.park_table\022&\n\021run"
- "ning_pick_info\030\004 \001(\0132\013.pick_table\022\017\n\007uni"
- "t_id\030\005 \001(\005\022\025\n\rplc_heartbeat\030\006 \001(\005\022\027\n\017plc"
- "_status_info\030\007 \001(\005\022\032\n\022plc_carrier_status"
- "\030\010 \001(\005\022\032\n\022plc_inlet_1_status\030\t \001(\005\022\032\n\022pl"
- "c_inlet_2_status\030\n \001(\005\022\033\n\023plc_outlet_3_s"
- "tatus\030\013 \001(\005\022\033\n\023plc_outlet_4_status\030\014 \001(\005"
- "\022H\n\"dispatch_plc_passway_status_vector\030\r"
- " \003(\0132\034.dispatch_plc_passway_status\"Q\n\023te"
- "rminal_node_statu\022\023\n\013terminal_id\030\001 \001(\005\022\021"
- "\n\timport_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t* \n"
- "\005STATU\022\013\n\007eNormal\020\000\022\n\n\006eError\020\001*0\n\014Carri"
- "erStatu\022\t\n\005eIdle\020\000\022\t\n\005eBusy\020\001\022\n\n\006eFault\020"
- "\002b\006proto3"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 2329);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "message.proto", &protobuf_RegisterTypes);
- }
- void AddDescriptors() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_message_2eproto
- const ::google::protobuf::EnumDescriptor* STATU_descriptor() {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return protobuf_message_2eproto::file_level_enum_descriptors[0];
- }
- bool STATU_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* CarrierStatu_descriptor() {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return protobuf_message_2eproto::file_level_enum_descriptors[1];
- }
- bool CarrierStatu_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- // ===================================================================
- void measure_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int measure_info::kCxFieldNumber;
- const int measure_info::kCyFieldNumber;
- const int measure_info::kThetaFieldNumber;
- const int measure_info::kLengthFieldNumber;
- const int measure_info::kWidthFieldNumber;
- const int measure_info::kHeightFieldNumber;
- const int measure_info::kWheelbaseFieldNumber;
- const int measure_info::kFrontThetaFieldNumber;
- const int measure_info::kBorderStatuFieldNumber;
- const int measure_info::kGroundStatusFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- measure_info::measure_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsmeasure_info();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_info)
- }
- measure_info::measure_info(const measure_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&cx_, &from.cx_,
- static_cast<size_t>(reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- // @@protoc_insertion_point(copy_constructor:measure_info)
- }
- void measure_info::SharedCtor() {
- ::memset(&cx_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- _cached_size_ = 0;
- }
- measure_info::~measure_info() {
- // @@protoc_insertion_point(destructor:measure_info)
- SharedDtor();
- }
- void measure_info::SharedDtor() {
- }
- void measure_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* measure_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const measure_info& measure_info::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsmeasure_info();
- return *internal_default_instance();
- }
- measure_info* measure_info::New(::google::protobuf::Arena* arena) const {
- measure_info* n = new measure_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void measure_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&cx_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ground_status_) -
- reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
- _internal_metadata_.Clear();
- }
- bool measure_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:measure_info)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // float cx = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &cx_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float cy = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &cy_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float theta = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &theta_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float length = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &length_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float width = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &width_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float height = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &height_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float wheelbase = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &wheelbase_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float front_theta = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &front_theta_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 border_statu = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &border_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 ground_status = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &ground_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:measure_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:measure_info)
- return false;
- #undef DO_
- }
- void measure_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // float cx = 1;
- if (this->cx() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cx(), output);
- }
- // float cy = 2;
- if (this->cy() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->cy(), output);
- }
- // float theta = 3;
- if (this->theta() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->theta(), output);
- }
- // float length = 4;
- if (this->length() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->length(), output);
- }
- // float width = 5;
- if (this->width() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->width(), output);
- }
- // float height = 6;
- if (this->height() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->height(), output);
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->wheelbase(), output);
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->front_theta(), output);
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_statu(), output);
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->ground_status(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:measure_info)
- }
- ::google::protobuf::uint8* measure_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:measure_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // float cx = 1;
- if (this->cx() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cx(), target);
- }
- // float cy = 2;
- if (this->cy() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->cy(), target);
- }
- // float theta = 3;
- if (this->theta() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->theta(), target);
- }
- // float length = 4;
- if (this->length() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->length(), target);
- }
- // float width = 5;
- if (this->width() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->width(), target);
- }
- // float height = 6;
- if (this->height() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->height(), target);
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->wheelbase(), target);
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->front_theta(), target);
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_statu(), target);
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->ground_status(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:measure_info)
- return target;
- }
- size_t measure_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:measure_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // float cx = 1;
- if (this->cx() != 0) {
- total_size += 1 + 4;
- }
- // float cy = 2;
- if (this->cy() != 0) {
- total_size += 1 + 4;
- }
- // float theta = 3;
- if (this->theta() != 0) {
- total_size += 1 + 4;
- }
- // float length = 4;
- if (this->length() != 0) {
- total_size += 1 + 4;
- }
- // float width = 5;
- if (this->width() != 0) {
- total_size += 1 + 4;
- }
- // float height = 6;
- if (this->height() != 0) {
- total_size += 1 + 4;
- }
- // float wheelbase = 7;
- if (this->wheelbase() != 0) {
- total_size += 1 + 4;
- }
- // float front_theta = 8;
- if (this->front_theta() != 0) {
- total_size += 1 + 4;
- }
- // int32 border_statu = 9;
- if (this->border_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->border_statu());
- }
- // int32 ground_status = 10;
- if (this->ground_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->ground_status());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void measure_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:measure_info)
- GOOGLE_DCHECK_NE(&from, this);
- const measure_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const measure_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_info)
- MergeFrom(*source);
- }
- }
- void measure_info::MergeFrom(const measure_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:measure_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.cx() != 0) {
- set_cx(from.cx());
- }
- if (from.cy() != 0) {
- set_cy(from.cy());
- }
- if (from.theta() != 0) {
- set_theta(from.theta());
- }
- if (from.length() != 0) {
- set_length(from.length());
- }
- if (from.width() != 0) {
- set_width(from.width());
- }
- if (from.height() != 0) {
- set_height(from.height());
- }
- if (from.wheelbase() != 0) {
- set_wheelbase(from.wheelbase());
- }
- if (from.front_theta() != 0) {
- set_front_theta(from.front_theta());
- }
- if (from.border_statu() != 0) {
- set_border_statu(from.border_statu());
- }
- if (from.ground_status() != 0) {
- set_ground_status(from.ground_status());
- }
- }
- void measure_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:measure_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void measure_info::CopyFrom(const measure_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:measure_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool measure_info::IsInitialized() const {
- return true;
- }
- void measure_info::Swap(measure_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void measure_info::InternalSwap(measure_info* other) {
- using std::swap;
- swap(cx_, other->cx_);
- swap(cy_, other->cy_);
- swap(theta_, other->theta_);
- swap(length_, other->length_);
- swap(width_, other->width_);
- swap(height_, other->height_);
- swap(wheelbase_, other->wheelbase_);
- swap(front_theta_, other->front_theta_);
- swap(border_statu_, other->border_statu_);
- swap(ground_status_, other->ground_status_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata measure_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void parkspace_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int parkspace_info::kIdFieldNumber;
- const int parkspace_info::kSerialIdFieldNumber;
- const int parkspace_info::kTableIdFieldNumber;
- const int parkspace_info::kUnitIdFieldNumber;
- const int parkspace_info::kFloorFieldNumber;
- const int parkspace_info::kRoomIdFieldNumber;
- const int parkspace_info::kHeightFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- parkspace_info::parkspace_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsparkspace_info();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:parkspace_info)
- }
- parkspace_info::parkspace_info(const parkspace_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&id_, &from.id_,
- static_cast<size_t>(reinterpret_cast<char*>(&height_) -
- reinterpret_cast<char*>(&id_)) + sizeof(height_));
- // @@protoc_insertion_point(copy_constructor:parkspace_info)
- }
- void parkspace_info::SharedCtor() {
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&height_) -
- reinterpret_cast<char*>(&id_)) + sizeof(height_));
- _cached_size_ = 0;
- }
- parkspace_info::~parkspace_info() {
- // @@protoc_insertion_point(destructor:parkspace_info)
- SharedDtor();
- }
- void parkspace_info::SharedDtor() {
- }
- void parkspace_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* parkspace_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const parkspace_info& parkspace_info::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsparkspace_info();
- return *internal_default_instance();
- }
- parkspace_info* parkspace_info::New(::google::protobuf::Arena* arena) const {
- parkspace_info* n = new parkspace_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void parkspace_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&height_) -
- reinterpret_cast<char*>(&id_)) + sizeof(height_));
- _internal_metadata_.Clear();
- }
- bool parkspace_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:parkspace_info)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 serial_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &serial_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 table_id = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &table_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 floor = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &floor_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 room_id = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &room_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float height = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &height_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:parkspace_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:parkspace_info)
- return false;
- #undef DO_
- }
- void parkspace_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 id = 1;
- if (this->id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
- }
- // int32 serial_id = 2;
- if (this->serial_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->serial_id(), output);
- }
- // int32 table_id = 3;
- if (this->table_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->table_id(), output);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
- }
- // int32 floor = 5;
- if (this->floor() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->floor(), output);
- }
- // int32 room_id = 6;
- if (this->room_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->room_id(), output);
- }
- // float height = 7;
- if (this->height() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->height(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:parkspace_info)
- }
- ::google::protobuf::uint8* parkspace_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:parkspace_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 id = 1;
- if (this->id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
- }
- // int32 serial_id = 2;
- if (this->serial_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->serial_id(), target);
- }
- // int32 table_id = 3;
- if (this->table_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->table_id(), target);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
- }
- // int32 floor = 5;
- if (this->floor() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->floor(), target);
- }
- // int32 room_id = 6;
- if (this->room_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->room_id(), target);
- }
- // float height = 7;
- if (this->height() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->height(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:parkspace_info)
- return target;
- }
- size_t parkspace_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:parkspace_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 id = 1;
- if (this->id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->id());
- }
- // int32 serial_id = 2;
- if (this->serial_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->serial_id());
- }
- // int32 table_id = 3;
- if (this->table_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->table_id());
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 floor = 5;
- if (this->floor() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->floor());
- }
- // int32 room_id = 6;
- if (this->room_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->room_id());
- }
- // float height = 7;
- if (this->height() != 0) {
- total_size += 1 + 4;
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void parkspace_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:parkspace_info)
- GOOGLE_DCHECK_NE(&from, this);
- const parkspace_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const parkspace_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:parkspace_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:parkspace_info)
- MergeFrom(*source);
- }
- }
- void parkspace_info::MergeFrom(const parkspace_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:parkspace_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.id() != 0) {
- set_id(from.id());
- }
- if (from.serial_id() != 0) {
- set_serial_id(from.serial_id());
- }
- if (from.table_id() != 0) {
- set_table_id(from.table_id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.floor() != 0) {
- set_floor(from.floor());
- }
- if (from.room_id() != 0) {
- set_room_id(from.room_id());
- }
- if (from.height() != 0) {
- set_height(from.height());
- }
- }
- void parkspace_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:parkspace_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void parkspace_info::CopyFrom(const parkspace_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:parkspace_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool parkspace_info::IsInitialized() const {
- return true;
- }
- void parkspace_info::Swap(parkspace_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void parkspace_info::InternalSwap(parkspace_info* other) {
- using std::swap;
- swap(id_, other->id_);
- swap(serial_id_, other->serial_id_);
- swap(table_id_, other->table_id_);
- swap(unit_id_, other->unit_id_);
- swap(floor_, other->floor_);
- swap(room_id_, other->room_id_);
- swap(height_, other->height_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata parkspace_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void table_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int table_statu::kExecuteStatuFieldNumber;
- const int table_statu::kStatuDescriptionFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- table_statu::table_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultstable_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:table_statu)
- }
- table_statu::table_statu(const table_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.statu_description().size() > 0) {
- statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
- }
- execute_statu_ = from.execute_statu_;
- // @@protoc_insertion_point(copy_constructor:table_statu)
- }
- void table_statu::SharedCtor() {
- statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- execute_statu_ = 0;
- _cached_size_ = 0;
- }
- table_statu::~table_statu() {
- // @@protoc_insertion_point(destructor:table_statu)
- SharedDtor();
- }
- void table_statu::SharedDtor() {
- statu_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void table_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* table_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const table_statu& table_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultstable_statu();
- return *internal_default_instance();
- }
- table_statu* table_statu::New(::google::protobuf::Arena* arena) const {
- table_statu* n = new table_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void table_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- statu_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- execute_statu_ = 0;
- _internal_metadata_.Clear();
- }
- bool table_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:table_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .STATU execute_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_execute_statu(static_cast< ::STATU >(value));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string statu_description = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_statu_description()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "table_statu.statu_description"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:table_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:table_statu)
- return false;
- #undef DO_
- }
- void table_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->execute_statu(), output);
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "table_statu.statu_description");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->statu_description(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:table_statu)
- }
- ::google::protobuf::uint8* table_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:table_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->execute_statu(), target);
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->statu_description().data(), static_cast<int>(this->statu_description().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "table_statu.statu_description");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->statu_description(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:table_statu)
- return target;
- }
- size_t table_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:table_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string statu_description = 2;
- if (this->statu_description().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->statu_description());
- }
- // .STATU execute_statu = 1;
- if (this->execute_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->execute_statu());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void table_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:table_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const table_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const table_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:table_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:table_statu)
- MergeFrom(*source);
- }
- }
- void table_statu::MergeFrom(const table_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:table_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.statu_description().size() > 0) {
- statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_);
- }
- if (from.execute_statu() != 0) {
- set_execute_statu(from.execute_statu());
- }
- }
- void table_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:table_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void table_statu::CopyFrom(const table_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:table_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool table_statu::IsInitialized() const {
- return true;
- }
- void table_statu::Swap(table_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void table_statu::InternalSwap(table_statu* other) {
- using std::swap;
- statu_description_.Swap(&other->statu_description_);
- swap(execute_statu_, other->execute_statu_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata table_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void plate_number_info::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int plate_number_info::kPlateNumberFieldNumber;
- const int plate_number_info::kPlateColorFieldNumber;
- const int plate_number_info::kPlateTypeFieldNumber;
- const int plate_number_info::kPlateConfidenceFieldNumber;
- const int plate_number_info::kRecognitionTimeFieldNumber;
- const int plate_number_info::kPlateFullImageFieldNumber;
- const int plate_number_info::kPlateClipImageFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- plate_number_info::plate_number_info()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsplate_number_info();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:plate_number_info)
- }
- plate_number_info::plate_number_info(const plate_number_info& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- plate_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.plate_number().size() > 0) {
- plate_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_number_);
- }
- plate_color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.plate_color().size() > 0) {
- plate_color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_color_);
- }
- plate_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.plate_type().size() > 0) {
- plate_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_type_);
- }
- recognition_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.recognition_time().size() > 0) {
- recognition_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.recognition_time_);
- }
- plate_full_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.plate_full_image().size() > 0) {
- plate_full_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_full_image_);
- }
- plate_clip_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.plate_clip_image().size() > 0) {
- plate_clip_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_clip_image_);
- }
- plate_confidence_ = from.plate_confidence_;
- // @@protoc_insertion_point(copy_constructor:plate_number_info)
- }
- void plate_number_info::SharedCtor() {
- plate_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- recognition_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_full_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_clip_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_confidence_ = 0;
- _cached_size_ = 0;
- }
- plate_number_info::~plate_number_info() {
- // @@protoc_insertion_point(destructor:plate_number_info)
- SharedDtor();
- }
- void plate_number_info::SharedDtor() {
- plate_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- recognition_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_full_image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_clip_image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void plate_number_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* plate_number_info::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const plate_number_info& plate_number_info::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsplate_number_info();
- return *internal_default_instance();
- }
- plate_number_info* plate_number_info::New(::google::protobuf::Arena* arena) const {
- plate_number_info* n = new plate_number_info;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void plate_number_info::Clear() {
- // @@protoc_insertion_point(message_clear_start:plate_number_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- plate_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- recognition_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_full_image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_clip_image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- plate_confidence_ = 0;
- _internal_metadata_.Clear();
- }
- bool plate_number_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:plate_number_info)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // string plate_number = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_plate_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_number().data(), static_cast<int>(this->plate_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.plate_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string plate_color = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_plate_color()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_color().data(), static_cast<int>(this->plate_color().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.plate_color"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string plate_type = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_plate_type()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_type().data(), static_cast<int>(this->plate_type().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.plate_type"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plate_confidence = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plate_confidence_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string recognition_time = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_recognition_time()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.recognition_time"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string plate_full_image = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_plate_full_image()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.plate_full_image"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string plate_clip_image = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_plate_clip_image()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "plate_number_info.plate_clip_image"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:plate_number_info)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:plate_number_info)
- return false;
- #undef DO_
- }
- void plate_number_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:plate_number_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string plate_number = 1;
- if (this->plate_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_number().data(), static_cast<int>(this->plate_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->plate_number(), output);
- }
- // string plate_color = 2;
- if (this->plate_color().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_color().data(), static_cast<int>(this->plate_color().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_color");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->plate_color(), output);
- }
- // string plate_type = 3;
- if (this->plate_type().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_type().data(), static_cast<int>(this->plate_type().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_type");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->plate_type(), output);
- }
- // int32 plate_confidence = 4;
- if (this->plate_confidence() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->plate_confidence(), output);
- }
- // string recognition_time = 5;
- if (this->recognition_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.recognition_time");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->recognition_time(), output);
- }
- // string plate_full_image = 6;
- if (this->plate_full_image().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_full_image");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->plate_full_image(), output);
- }
- // string plate_clip_image = 7;
- if (this->plate_clip_image().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_clip_image");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 7, this->plate_clip_image(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:plate_number_info)
- }
- ::google::protobuf::uint8* plate_number_info::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:plate_number_info)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string plate_number = 1;
- if (this->plate_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_number().data(), static_cast<int>(this->plate_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->plate_number(), target);
- }
- // string plate_color = 2;
- if (this->plate_color().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_color().data(), static_cast<int>(this->plate_color().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_color");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->plate_color(), target);
- }
- // string plate_type = 3;
- if (this->plate_type().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_type().data(), static_cast<int>(this->plate_type().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_type");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->plate_type(), target);
- }
- // int32 plate_confidence = 4;
- if (this->plate_confidence() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->plate_confidence(), target);
- }
- // string recognition_time = 5;
- if (this->recognition_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->recognition_time().data(), static_cast<int>(this->recognition_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.recognition_time");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->recognition_time(), target);
- }
- // string plate_full_image = 6;
- if (this->plate_full_image().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_full_image().data(), static_cast<int>(this->plate_full_image().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_full_image");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->plate_full_image(), target);
- }
- // string plate_clip_image = 7;
- if (this->plate_clip_image().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->plate_clip_image().data(), static_cast<int>(this->plate_clip_image().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "plate_number_info.plate_clip_image");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 7, this->plate_clip_image(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:plate_number_info)
- return target;
- }
- size_t plate_number_info::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:plate_number_info)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string plate_number = 1;
- if (this->plate_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->plate_number());
- }
- // string plate_color = 2;
- if (this->plate_color().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->plate_color());
- }
- // string plate_type = 3;
- if (this->plate_type().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->plate_type());
- }
- // string recognition_time = 5;
- if (this->recognition_time().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->recognition_time());
- }
- // string plate_full_image = 6;
- if (this->plate_full_image().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->plate_full_image());
- }
- // string plate_clip_image = 7;
- if (this->plate_clip_image().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->plate_clip_image());
- }
- // int32 plate_confidence = 4;
- if (this->plate_confidence() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plate_confidence());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void plate_number_info::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:plate_number_info)
- GOOGLE_DCHECK_NE(&from, this);
- const plate_number_info* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const plate_number_info>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:plate_number_info)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:plate_number_info)
- MergeFrom(*source);
- }
- }
- void plate_number_info::MergeFrom(const plate_number_info& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:plate_number_info)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.plate_number().size() > 0) {
- plate_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_number_);
- }
- if (from.plate_color().size() > 0) {
- plate_color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_color_);
- }
- if (from.plate_type().size() > 0) {
- plate_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_type_);
- }
- if (from.recognition_time().size() > 0) {
- recognition_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.recognition_time_);
- }
- if (from.plate_full_image().size() > 0) {
- plate_full_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_full_image_);
- }
- if (from.plate_clip_image().size() > 0) {
- plate_clip_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plate_clip_image_);
- }
- if (from.plate_confidence() != 0) {
- set_plate_confidence(from.plate_confidence());
- }
- }
- void plate_number_info::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:plate_number_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void plate_number_info::CopyFrom(const plate_number_info& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:plate_number_info)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool plate_number_info::IsInitialized() const {
- return true;
- }
- void plate_number_info::Swap(plate_number_info* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void plate_number_info::InternalSwap(plate_number_info* other) {
- using std::swap;
- plate_number_.Swap(&other->plate_number_);
- plate_color_.Swap(&other->plate_color_);
- plate_type_.Swap(&other->plate_type_);
- recognition_time_.Swap(&other->recognition_time_);
- plate_full_image_.Swap(&other->plate_full_image_);
- plate_clip_image_.Swap(&other->plate_clip_image_);
- swap(plate_confidence_, other->plate_confidence_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata plate_number_info::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void park_table::InitAsDefaultInstance() {
- ::_park_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
- ::table_statu::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->entrance_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->allocated_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- ::_park_table_default_instance_._instance.get_mutable()->car_number_info_ = const_cast< ::plate_number_info*>(
- ::plate_number_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int park_table::kStatuFieldNumber;
- const int park_table::kQueueIdFieldNumber;
- const int park_table::kCarNumberFieldNumber;
- const int park_table::kUnitIdFieldNumber;
- const int park_table::kTerminalIdFieldNumber;
- const int park_table::kPrimaryKeyFieldNumber;
- const int park_table::kEntranceMeasureInfoFieldNumber;
- const int park_table::kAllocatedSpaceInfoFieldNumber;
- const int park_table::kActuallyMeasureInfoFieldNumber;
- const int park_table::kActuallySpaceInfoFieldNumber;
- const int park_table::kImportIdFieldNumber;
- const int park_table::kCarNumberInfoFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- park_table::park_table()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultspark_table();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:park_table)
- }
- park_table::park_table(const park_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- statu_ = new ::table_statu(*from.statu_);
- } else {
- statu_ = NULL;
- }
- if (from.has_entrance_measure_info()) {
- entrance_measure_info_ = new ::measure_info(*from.entrance_measure_info_);
- } else {
- entrance_measure_info_ = NULL;
- }
- if (from.has_allocated_space_info()) {
- allocated_space_info_ = new ::parkspace_info(*from.allocated_space_info_);
- } else {
- allocated_space_info_ = NULL;
- }
- if (from.has_actually_measure_info()) {
- actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
- } else {
- actually_measure_info_ = NULL;
- }
- if (from.has_actually_space_info()) {
- actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
- } else {
- actually_space_info_ = NULL;
- }
- if (from.has_car_number_info()) {
- car_number_info_ = new ::plate_number_info(*from.car_number_info_);
- } else {
- car_number_info_ = NULL;
- }
- ::memcpy(&queue_id_, &from.queue_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(import_id_));
- // @@protoc_insertion_point(copy_constructor:park_table)
- }
- void park_table::SharedCtor() {
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(import_id_));
- _cached_size_ = 0;
- }
- park_table::~park_table() {
- // @@protoc_insertion_point(destructor:park_table)
- SharedDtor();
- }
- void park_table::SharedDtor() {
- car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete statu_;
- if (this != internal_default_instance()) delete entrance_measure_info_;
- if (this != internal_default_instance()) delete allocated_space_info_;
- if (this != internal_default_instance()) delete actually_measure_info_;
- if (this != internal_default_instance()) delete actually_space_info_;
- if (this != internal_default_instance()) delete car_number_info_;
- }
- void park_table::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* park_table::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const park_table& park_table::default_instance() {
- ::protobuf_message_2eproto::InitDefaultspark_table();
- return *internal_default_instance();
- }
- park_table* park_table::New(::google::protobuf::Arena* arena) const {
- park_table* n = new park_table;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void park_table::Clear() {
- // @@protoc_insertion_point(message_clear_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
- delete statu_;
- }
- statu_ = NULL;
- if (GetArenaNoVirtual() == NULL && entrance_measure_info_ != NULL) {
- delete entrance_measure_info_;
- }
- entrance_measure_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && allocated_space_info_ != NULL) {
- delete allocated_space_info_;
- }
- allocated_space_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
- delete actually_measure_info_;
- }
- actually_measure_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
- delete actually_space_info_;
- }
- actually_space_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && car_number_info_ != NULL) {
- delete car_number_info_;
- }
- car_number_info_ = NULL;
- ::memset(&queue_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(import_id_));
- _internal_metadata_.Clear();
- }
- bool park_table::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:park_table)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .table_statu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_statu()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 queue_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string car_number = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_car_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "park_table.car_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 terminal_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string primary_key = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_primary_key()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "park_table.primary_key"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info entrance_measure_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_entrance_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info allocated_space_info = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_allocated_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info actually_measure_info = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info actually_space_info = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 import_id = 11;
- case 11: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &import_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .plate_number_info car_number_info = 12;
- case 12: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_car_number_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:park_table)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:park_table)
- return false;
- #undef DO_
- }
- void park_table::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->statu_, output);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.car_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->car_number(), output);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.primary_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->primary_key(), output);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, *this->entrance_measure_info_, output);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, *this->allocated_space_info_, output);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, *this->actually_measure_info_, output);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 10, *this->actually_space_info_, output);
- }
- // int32 import_id = 11;
- if (this->import_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->import_id(), output);
- }
- // .plate_number_info car_number_info = 12;
- if (this->has_car_number_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 12, *this->car_number_info_, output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:park_table)
- }
- ::google::protobuf::uint8* park_table::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:park_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->statu_, deterministic, target);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.car_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->car_number(), target);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "park_table.primary_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->primary_key(), target);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, *this->entrance_measure_info_, deterministic, target);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, *this->allocated_space_info_, deterministic, target);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 9, *this->actually_measure_info_, deterministic, target);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 10, *this->actually_space_info_, deterministic, target);
- }
- // int32 import_id = 11;
- if (this->import_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->import_id(), target);
- }
- // .plate_number_info car_number_info = 12;
- if (this->has_car_number_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 12, *this->car_number_info_, deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:park_table)
- return target;
- }
- size_t park_table::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:park_table)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_number());
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->primary_key());
- }
- // .table_statu statu = 1;
- if (this->has_statu()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->statu_);
- }
- // .measure_info entrance_measure_info = 7;
- if (this->has_entrance_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->entrance_measure_info_);
- }
- // .parkspace_info allocated_space_info = 8;
- if (this->has_allocated_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->allocated_space_info_);
- }
- // .measure_info actually_measure_info = 9;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_measure_info_);
- }
- // .parkspace_info actually_space_info = 10;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_space_info_);
- }
- // .plate_number_info car_number_info = 12;
- if (this->has_car_number_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->car_number_info_);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_id());
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- // int32 import_id = 11;
- if (this->import_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->import_id());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void park_table::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:park_table)
- GOOGLE_DCHECK_NE(&from, this);
- const park_table* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const park_table>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:park_table)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:park_table)
- MergeFrom(*source);
- }
- }
- void park_table::MergeFrom(const park_table& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:park_table)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- mutable_statu()->::table_statu::MergeFrom(from.statu());
- }
- if (from.has_entrance_measure_info()) {
- mutable_entrance_measure_info()->::measure_info::MergeFrom(from.entrance_measure_info());
- }
- if (from.has_allocated_space_info()) {
- mutable_allocated_space_info()->::parkspace_info::MergeFrom(from.allocated_space_info());
- }
- if (from.has_actually_measure_info()) {
- mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
- }
- if (from.has_actually_space_info()) {
- mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
- }
- if (from.has_car_number_info()) {
- mutable_car_number_info()->::plate_number_info::MergeFrom(from.car_number_info());
- }
- if (from.queue_id() != 0) {
- set_queue_id(from.queue_id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- if (from.import_id() != 0) {
- set_import_id(from.import_id());
- }
- }
- void park_table::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:park_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void park_table::CopyFrom(const park_table& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:park_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool park_table::IsInitialized() const {
- return true;
- }
- void park_table::Swap(park_table* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void park_table::InternalSwap(park_table* other) {
- using std::swap;
- car_number_.Swap(&other->car_number_);
- primary_key_.Swap(&other->primary_key_);
- swap(statu_, other->statu_);
- swap(entrance_measure_info_, other->entrance_measure_info_);
- swap(allocated_space_info_, other->allocated_space_info_);
- swap(actually_measure_info_, other->actually_measure_info_);
- swap(actually_space_info_, other->actually_space_info_);
- swap(car_number_info_, other->car_number_info_);
- swap(queue_id_, other->queue_id_);
- swap(unit_id_, other->unit_id_);
- swap(terminal_id_, other->terminal_id_);
- swap(import_id_, other->import_id_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata park_table::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void pick_table::InitAsDefaultInstance() {
- ::_pick_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>(
- ::table_statu::internal_default_instance());
- ::_pick_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>(
- ::parkspace_info::internal_default_instance());
- ::_pick_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int pick_table::kStatuFieldNumber;
- const int pick_table::kQueueIdFieldNumber;
- const int pick_table::kCarNumberFieldNumber;
- const int pick_table::kUnitIdFieldNumber;
- const int pick_table::kTerminalIdFieldNumber;
- const int pick_table::kPrimaryKeyFieldNumber;
- const int pick_table::kActuallySpaceInfoFieldNumber;
- const int pick_table::kActuallyMeasureInfoFieldNumber;
- const int pick_table::kExportIdFieldNumber;
- const int pick_table::kIsLeavedFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- pick_table::pick_table()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultspick_table();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:pick_table)
- }
- pick_table::pick_table(const pick_table& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- statu_ = new ::table_statu(*from.statu_);
- } else {
- statu_ = NULL;
- }
- if (from.has_actually_space_info()) {
- actually_space_info_ = new ::parkspace_info(*from.actually_space_info_);
- } else {
- actually_space_info_ = NULL;
- }
- if (from.has_actually_measure_info()) {
- actually_measure_info_ = new ::measure_info(*from.actually_measure_info_);
- } else {
- actually_measure_info_ = NULL;
- }
- ::memcpy(&queue_id_, &from.queue_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
- // @@protoc_insertion_point(copy_constructor:pick_table)
- }
- void pick_table::SharedCtor() {
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(is_leaved_));
- _cached_size_ = 0;
- }
- pick_table::~pick_table() {
- // @@protoc_insertion_point(destructor:pick_table)
- SharedDtor();
- }
- void pick_table::SharedDtor() {
- car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete statu_;
- if (this != internal_default_instance()) delete actually_space_info_;
- if (this != internal_default_instance()) delete actually_measure_info_;
- }
- void pick_table::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* pick_table::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const pick_table& pick_table::default_instance() {
- ::protobuf_message_2eproto::InitDefaultspick_table();
- return *internal_default_instance();
- }
- pick_table* pick_table::New(::google::protobuf::Arena* arena) const {
- pick_table* n = new pick_table;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void pick_table::Clear() {
- // @@protoc_insertion_point(message_clear_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (GetArenaNoVirtual() == NULL && statu_ != NULL) {
- delete statu_;
- }
- statu_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) {
- delete actually_space_info_;
- }
- actually_space_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) {
- delete actually_measure_info_;
- }
- actually_measure_info_ = NULL;
- ::memset(&queue_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&is_leaved_) -
- reinterpret_cast<char*>(&queue_id_)) + sizeof(is_leaved_));
- _internal_metadata_.Clear();
- }
- bool pick_table::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:pick_table)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .table_statu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_statu()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 queue_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string car_number = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_car_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "pick_table.car_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 terminal_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string primary_key = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_primary_key()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "pick_table.primary_key"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .parkspace_info actually_space_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_space_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .measure_info actually_measure_info = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_actually_measure_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 export_id = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &export_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // bool is_leaved = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, &is_leaved_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:pick_table)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:pick_table)
- return false;
- #undef DO_
- }
- void pick_table::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->statu_, output);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.car_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->car_number(), output);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.primary_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->primary_key(), output);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, *this->actually_space_info_, output);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, *this->actually_measure_info_, output);
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->export_id(), output);
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_leaved(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:pick_table)
- }
- ::google::protobuf::uint8* pick_table::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:pick_table)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .table_statu statu = 1;
- if (this->has_statu()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->statu_, deterministic, target);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.car_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->car_number(), target);
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target);
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target);
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->primary_key().data(), static_cast<int>(this->primary_key().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "pick_table.primary_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->primary_key(), target);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, *this->actually_space_info_, deterministic, target);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, *this->actually_measure_info_, deterministic, target);
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->export_id(), target);
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_leaved(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:pick_table)
- return target;
- }
- size_t pick_table::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:pick_table)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_number());
- }
- // string primary_key = 6;
- if (this->primary_key().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->primary_key());
- }
- // .table_statu statu = 1;
- if (this->has_statu()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->statu_);
- }
- // .parkspace_info actually_space_info = 7;
- if (this->has_actually_space_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_space_info_);
- }
- // .measure_info actually_measure_info = 8;
- if (this->has_actually_measure_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->actually_measure_info_);
- }
- // int32 queue_id = 2;
- if (this->queue_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_id());
- }
- // int32 unit_id = 4;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 terminal_id = 5;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- // int32 export_id = 9;
- if (this->export_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->export_id());
- }
- // bool is_leaved = 10;
- if (this->is_leaved() != 0) {
- total_size += 1 + 1;
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void pick_table::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:pick_table)
- GOOGLE_DCHECK_NE(&from, this);
- const pick_table* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const pick_table>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pick_table)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pick_table)
- MergeFrom(*source);
- }
- }
- void pick_table::MergeFrom(const pick_table& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:pick_table)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- if (from.primary_key().size() > 0) {
- primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_);
- }
- if (from.has_statu()) {
- mutable_statu()->::table_statu::MergeFrom(from.statu());
- }
- if (from.has_actually_space_info()) {
- mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info());
- }
- if (from.has_actually_measure_info()) {
- mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info());
- }
- if (from.queue_id() != 0) {
- set_queue_id(from.queue_id());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- if (from.export_id() != 0) {
- set_export_id(from.export_id());
- }
- if (from.is_leaved() != 0) {
- set_is_leaved(from.is_leaved());
- }
- }
- void pick_table::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:pick_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void pick_table::CopyFrom(const pick_table& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:pick_table)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool pick_table::IsInitialized() const {
- return true;
- }
- void pick_table::Swap(pick_table* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void pick_table::InternalSwap(pick_table* other) {
- using std::swap;
- car_number_.Swap(&other->car_number_);
- primary_key_.Swap(&other->primary_key_);
- swap(statu_, other->statu_);
- swap(actually_space_info_, other->actually_space_info_);
- swap(actually_measure_info_, other->actually_measure_info_);
- swap(queue_id_, other->queue_id_);
- swap(unit_id_, other->unit_id_);
- swap(terminal_id_, other->terminal_id_);
- swap(export_id_, other->export_id_);
- swap(is_leaved_, other->is_leaved_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata pick_table::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void out_mcpu_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int out_mcpu_statu::kDoorStatuFieldNumber;
- const int out_mcpu_statu::kOutsideSafetyFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- out_mcpu_statu::out_mcpu_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:out_mcpu_statu)
- }
- out_mcpu_statu::out_mcpu_statu(const out_mcpu_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&door_statu_, &from.door_statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- // @@protoc_insertion_point(copy_constructor:out_mcpu_statu)
- }
- void out_mcpu_statu::SharedCtor() {
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- _cached_size_ = 0;
- }
- out_mcpu_statu::~out_mcpu_statu() {
- // @@protoc_insertion_point(destructor:out_mcpu_statu)
- SharedDtor();
- }
- void out_mcpu_statu::SharedDtor() {
- }
- void out_mcpu_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* out_mcpu_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const out_mcpu_statu& out_mcpu_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu();
- return *internal_default_instance();
- }
- out_mcpu_statu* out_mcpu_statu::New(::google::protobuf::Arena* arena) const {
- out_mcpu_statu* n = new out_mcpu_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void out_mcpu_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&outside_safety_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(outside_safety_));
- _internal_metadata_.Clear();
- }
- bool out_mcpu_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:out_mcpu_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 door_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &door_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 outside_safety = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &outside_safety_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:out_mcpu_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:out_mcpu_statu)
- return false;
- #undef DO_
- }
- void out_mcpu_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_safety(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:out_mcpu_statu)
- }
- ::google::protobuf::uint8* out_mcpu_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:out_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_safety(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:out_mcpu_statu)
- return target;
- }
- size_t out_mcpu_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:out_mcpu_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->door_statu());
- }
- // int32 outside_safety = 2;
- if (this->outside_safety() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->outside_safety());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void out_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:out_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const out_mcpu_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const out_mcpu_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:out_mcpu_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:out_mcpu_statu)
- MergeFrom(*source);
- }
- }
- void out_mcpu_statu::MergeFrom(const out_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:out_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.door_statu() != 0) {
- set_door_statu(from.door_statu());
- }
- if (from.outside_safety() != 0) {
- set_outside_safety(from.outside_safety());
- }
- }
- void out_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:out_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void out_mcpu_statu::CopyFrom(const out_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:out_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool out_mcpu_statu::IsInitialized() const {
- return true;
- }
- void out_mcpu_statu::Swap(out_mcpu_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void out_mcpu_statu::InternalSwap(out_mcpu_statu* other) {
- using std::swap;
- swap(door_statu_, other->door_statu_);
- swap(outside_safety_, other->outside_safety_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata out_mcpu_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void in_mcpu_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int in_mcpu_statu::kDoorStatuFieldNumber;
- const int in_mcpu_statu::kBackIoFieldNumber;
- const int in_mcpu_statu::kIsOccupyFieldNumber;
- const int in_mcpu_statu::kHeighthFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- in_mcpu_statu::in_mcpu_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:in_mcpu_statu)
- }
- in_mcpu_statu::in_mcpu_statu(const in_mcpu_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&door_statu_, &from.door_statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- // @@protoc_insertion_point(copy_constructor:in_mcpu_statu)
- }
- void in_mcpu_statu::SharedCtor() {
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- _cached_size_ = 0;
- }
- in_mcpu_statu::~in_mcpu_statu() {
- // @@protoc_insertion_point(destructor:in_mcpu_statu)
- SharedDtor();
- }
- void in_mcpu_statu::SharedDtor() {
- }
- void in_mcpu_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* in_mcpu_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const in_mcpu_statu& in_mcpu_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu();
- return *internal_default_instance();
- }
- in_mcpu_statu* in_mcpu_statu::New(::google::protobuf::Arena* arena) const {
- in_mcpu_statu* n = new in_mcpu_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void in_mcpu_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&door_statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&heighth_) -
- reinterpret_cast<char*>(&door_statu_)) + sizeof(heighth_));
- _internal_metadata_.Clear();
- }
- bool in_mcpu_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:in_mcpu_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 door_statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &door_statu_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 back_io = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &back_io_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 is_occupy = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &is_occupy_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 heighth = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &heighth_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:in_mcpu_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:in_mcpu_statu)
- return false;
- #undef DO_
- }
- void in_mcpu_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output);
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->back_io(), output);
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->is_occupy(), output);
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->heighth(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:in_mcpu_statu)
- }
- ::google::protobuf::uint8* in_mcpu_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:in_mcpu_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target);
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->back_io(), target);
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->is_occupy(), target);
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->heighth(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:in_mcpu_statu)
- return target;
- }
- size_t in_mcpu_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:in_mcpu_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 door_statu = 1;
- if (this->door_statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->door_statu());
- }
- // int32 back_io = 2;
- if (this->back_io() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->back_io());
- }
- // int32 is_occupy = 3;
- if (this->is_occupy() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->is_occupy());
- }
- // int32 heighth = 4;
- if (this->heighth() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->heighth());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void in_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:in_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const in_mcpu_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const in_mcpu_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:in_mcpu_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:in_mcpu_statu)
- MergeFrom(*source);
- }
- }
- void in_mcpu_statu::MergeFrom(const in_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:in_mcpu_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.door_statu() != 0) {
- set_door_statu(from.door_statu());
- }
- if (from.back_io() != 0) {
- set_back_io(from.back_io());
- }
- if (from.is_occupy() != 0) {
- set_is_occupy(from.is_occupy());
- }
- if (from.heighth() != 0) {
- set_heighth(from.heighth());
- }
- }
- void in_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:in_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void in_mcpu_statu::CopyFrom(const in_mcpu_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:in_mcpu_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool in_mcpu_statu::IsInitialized() const {
- return true;
- }
- void in_mcpu_statu::Swap(in_mcpu_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void in_mcpu_statu::InternalSwap(in_mcpu_statu* other) {
- using std::swap;
- swap(door_statu_, other->door_statu_);
- swap(back_io_, other->back_io_);
- swap(is_occupy_, other->is_occupy_);
- swap(heighth_, other->heighth_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata in_mcpu_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void measure_statu::InitAsDefaultInstance() {
- ::_measure_statu_default_instance_._instance.get_mutable()->info_ = const_cast< ::measure_info*>(
- ::measure_info::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int measure_statu::kInfoFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- measure_statu::measure_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:measure_statu)
- }
- measure_statu::measure_statu(const measure_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_info()) {
- info_ = new ::measure_info(*from.info_);
- } else {
- info_ = NULL;
- }
- // @@protoc_insertion_point(copy_constructor:measure_statu)
- }
- void measure_statu::SharedCtor() {
- info_ = NULL;
- _cached_size_ = 0;
- }
- measure_statu::~measure_statu() {
- // @@protoc_insertion_point(destructor:measure_statu)
- SharedDtor();
- }
- void measure_statu::SharedDtor() {
- if (this != internal_default_instance()) delete info_;
- }
- void measure_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* measure_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const measure_statu& measure_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsmeasure_statu();
- return *internal_default_instance();
- }
- measure_statu* measure_statu::New(::google::protobuf::Arena* arena) const {
- measure_statu* n = new measure_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void measure_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- if (GetArenaNoVirtual() == NULL && info_ != NULL) {
- delete info_;
- }
- info_ = NULL;
- _internal_metadata_.Clear();
- }
- bool measure_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:measure_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .measure_info info = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:measure_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:measure_statu)
- return false;
- #undef DO_
- }
- void measure_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .measure_info info = 1;
- if (this->has_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->info_, output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:measure_statu)
- }
- ::google::protobuf::uint8* measure_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:measure_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .measure_info info = 1;
- if (this->has_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->info_, deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:measure_statu)
- return target;
- }
- size_t measure_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:measure_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // .measure_info info = 1;
- if (this->has_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->info_);
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void measure_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:measure_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const measure_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const measure_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_statu)
- MergeFrom(*source);
- }
- }
- void measure_statu::MergeFrom(const measure_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:measure_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.has_info()) {
- mutable_info()->::measure_info::MergeFrom(from.info());
- }
- }
- void measure_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:measure_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void measure_statu::CopyFrom(const measure_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:measure_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool measure_statu::IsInitialized() const {
- return true;
- }
- void measure_statu::Swap(measure_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void measure_statu::InternalSwap(measure_statu* other) {
- using std::swap;
- swap(info_, other->info_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata measure_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void dispatch_plc_passway_status::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int dispatch_plc_passway_status::kCarHeightFieldNumber;
- const int dispatch_plc_passway_status::kOutsideDoorStatusFieldNumber;
- const int dispatch_plc_passway_status::kInsideDoorStatusFieldNumber;
- const int dispatch_plc_passway_status::kCombBodyStatusFieldNumber;
- const int dispatch_plc_passway_status::kTurnplateAngleMinFieldNumber;
- const int dispatch_plc_passway_status::kTurnplateAngleMaxFieldNumber;
- const int dispatch_plc_passway_status::kSensor1FieldNumber;
- const int dispatch_plc_passway_status::kSensor2FieldNumber;
- const int dispatch_plc_passway_status::kPlcPasswayEnableFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- dispatch_plc_passway_status::dispatch_plc_passway_status()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:dispatch_plc_passway_status)
- }
- dispatch_plc_passway_status::dispatch_plc_passway_status(const dispatch_plc_passway_status& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&car_height_, &from.car_height_,
- static_cast<size_t>(reinterpret_cast<char*>(&plc_passway_enable_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
- // @@protoc_insertion_point(copy_constructor:dispatch_plc_passway_status)
- }
- void dispatch_plc_passway_status::SharedCtor() {
- ::memset(&car_height_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_passway_enable_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
- _cached_size_ = 0;
- }
- dispatch_plc_passway_status::~dispatch_plc_passway_status() {
- // @@protoc_insertion_point(destructor:dispatch_plc_passway_status)
- SharedDtor();
- }
- void dispatch_plc_passway_status::SharedDtor() {
- }
- void dispatch_plc_passway_status::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* dispatch_plc_passway_status::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const dispatch_plc_passway_status& dispatch_plc_passway_status::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsdispatch_plc_passway_status();
- return *internal_default_instance();
- }
- dispatch_plc_passway_status* dispatch_plc_passway_status::New(::google::protobuf::Arena* arena) const {
- dispatch_plc_passway_status* n = new dispatch_plc_passway_status;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void dispatch_plc_passway_status::Clear() {
- // @@protoc_insertion_point(message_clear_start:dispatch_plc_passway_status)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&car_height_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_passway_enable_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(plc_passway_enable_));
- _internal_metadata_.Clear();
- }
- bool dispatch_plc_passway_status::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:dispatch_plc_passway_status)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 car_height = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &car_height_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 outside_door_status = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &outside_door_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 inside_door_status = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &inside_door_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 comb_body_status = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &comb_body_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float turnplate_angle_min = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &turnplate_angle_min_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // float turnplate_angle_max = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &turnplate_angle_max_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 sensor_1 = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sensor_1_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 sensor_2 = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sensor_2_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_passway_enable = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_passway_enable_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:dispatch_plc_passway_status)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:dispatch_plc_passway_status)
- return false;
- #undef DO_
- }
- void dispatch_plc_passway_status::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:dispatch_plc_passway_status)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 car_height = 1;
- if (this->car_height() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->car_height(), output);
- }
- // int32 outside_door_status = 2;
- if (this->outside_door_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_door_status(), output);
- }
- // int32 inside_door_status = 3;
- if (this->inside_door_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->inside_door_status(), output);
- }
- // int32 comb_body_status = 4;
- if (this->comb_body_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->comb_body_status(), output);
- }
- // float turnplate_angle_min = 5;
- if (this->turnplate_angle_min() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->turnplate_angle_min(), output);
- }
- // float turnplate_angle_max = 6;
- if (this->turnplate_angle_max() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->turnplate_angle_max(), output);
- }
- // int32 sensor_1 = 7;
- if (this->sensor_1() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->sensor_1(), output);
- }
- // int32 sensor_2 = 8;
- if (this->sensor_2() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->sensor_2(), output);
- }
- // int32 plc_passway_enable = 9;
- if (this->plc_passway_enable() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->plc_passway_enable(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:dispatch_plc_passway_status)
- }
- ::google::protobuf::uint8* dispatch_plc_passway_status::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:dispatch_plc_passway_status)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 car_height = 1;
- if (this->car_height() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->car_height(), target);
- }
- // int32 outside_door_status = 2;
- if (this->outside_door_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_door_status(), target);
- }
- // int32 inside_door_status = 3;
- if (this->inside_door_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->inside_door_status(), target);
- }
- // int32 comb_body_status = 4;
- if (this->comb_body_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->comb_body_status(), target);
- }
- // float turnplate_angle_min = 5;
- if (this->turnplate_angle_min() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->turnplate_angle_min(), target);
- }
- // float turnplate_angle_max = 6;
- if (this->turnplate_angle_max() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->turnplate_angle_max(), target);
- }
- // int32 sensor_1 = 7;
- if (this->sensor_1() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->sensor_1(), target);
- }
- // int32 sensor_2 = 8;
- if (this->sensor_2() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->sensor_2(), target);
- }
- // int32 plc_passway_enable = 9;
- if (this->plc_passway_enable() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->plc_passway_enable(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:dispatch_plc_passway_status)
- return target;
- }
- size_t dispatch_plc_passway_status::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:dispatch_plc_passway_status)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // int32 car_height = 1;
- if (this->car_height() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->car_height());
- }
- // int32 outside_door_status = 2;
- if (this->outside_door_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->outside_door_status());
- }
- // int32 inside_door_status = 3;
- if (this->inside_door_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->inside_door_status());
- }
- // int32 comb_body_status = 4;
- if (this->comb_body_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->comb_body_status());
- }
- // float turnplate_angle_min = 5;
- if (this->turnplate_angle_min() != 0) {
- total_size += 1 + 4;
- }
- // float turnplate_angle_max = 6;
- if (this->turnplate_angle_max() != 0) {
- total_size += 1 + 4;
- }
- // int32 sensor_1 = 7;
- if (this->sensor_1() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sensor_1());
- }
- // int32 sensor_2 = 8;
- if (this->sensor_2() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sensor_2());
- }
- // int32 plc_passway_enable = 9;
- if (this->plc_passway_enable() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_passway_enable());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void dispatch_plc_passway_status::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:dispatch_plc_passway_status)
- GOOGLE_DCHECK_NE(&from, this);
- const dispatch_plc_passway_status* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_plc_passway_status>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_plc_passway_status)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_plc_passway_status)
- MergeFrom(*source);
- }
- }
- void dispatch_plc_passway_status::MergeFrom(const dispatch_plc_passway_status& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_plc_passway_status)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_height() != 0) {
- set_car_height(from.car_height());
- }
- if (from.outside_door_status() != 0) {
- set_outside_door_status(from.outside_door_status());
- }
- if (from.inside_door_status() != 0) {
- set_inside_door_status(from.inside_door_status());
- }
- if (from.comb_body_status() != 0) {
- set_comb_body_status(from.comb_body_status());
- }
- if (from.turnplate_angle_min() != 0) {
- set_turnplate_angle_min(from.turnplate_angle_min());
- }
- if (from.turnplate_angle_max() != 0) {
- set_turnplate_angle_max(from.turnplate_angle_max());
- }
- if (from.sensor_1() != 0) {
- set_sensor_1(from.sensor_1());
- }
- if (from.sensor_2() != 0) {
- set_sensor_2(from.sensor_2());
- }
- if (from.plc_passway_enable() != 0) {
- set_plc_passway_enable(from.plc_passway_enable());
- }
- }
- void dispatch_plc_passway_status::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:dispatch_plc_passway_status)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void dispatch_plc_passway_status::CopyFrom(const dispatch_plc_passway_status& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_plc_passway_status)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool dispatch_plc_passway_status::IsInitialized() const {
- return true;
- }
- void dispatch_plc_passway_status::Swap(dispatch_plc_passway_status* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void dispatch_plc_passway_status::InternalSwap(dispatch_plc_passway_status* other) {
- using std::swap;
- swap(car_height_, other->car_height_);
- swap(outside_door_status_, other->outside_door_status_);
- swap(inside_door_status_, other->inside_door_status_);
- swap(comb_body_status_, other->comb_body_status_);
- swap(turnplate_angle_min_, other->turnplate_angle_min_);
- swap(turnplate_angle_max_, other->turnplate_angle_max_);
- swap(sensor_1_, other->sensor_1_);
- swap(sensor_2_, other->sensor_2_);
- swap(plc_passway_enable_, other->plc_passway_enable_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata dispatch_plc_passway_status::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void dispatch_node_statu::InitAsDefaultInstance() {
- ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pack_info_ = const_cast< ::park_table*>(
- ::park_table::internal_default_instance());
- ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pick_info_ = const_cast< ::pick_table*>(
- ::pick_table::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int dispatch_node_statu::kStatuFieldNumber;
- const int dispatch_node_statu::kIdleStopFloorFieldNumber;
- const int dispatch_node_statu::kRunningPackInfoFieldNumber;
- const int dispatch_node_statu::kRunningPickInfoFieldNumber;
- const int dispatch_node_statu::kUnitIdFieldNumber;
- const int dispatch_node_statu::kPlcHeartbeatFieldNumber;
- const int dispatch_node_statu::kPlcStatusInfoFieldNumber;
- const int dispatch_node_statu::kPlcCarrierStatusFieldNumber;
- const int dispatch_node_statu::kPlcInlet1StatusFieldNumber;
- const int dispatch_node_statu::kPlcInlet2StatusFieldNumber;
- const int dispatch_node_statu::kPlcOutlet3StatusFieldNumber;
- const int dispatch_node_statu::kPlcOutlet4StatusFieldNumber;
- const int dispatch_node_statu::kDispatchPlcPasswayStatusVectorFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- dispatch_node_statu::dispatch_node_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:dispatch_node_statu)
- }
- dispatch_node_statu::dispatch_node_statu(const dispatch_node_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- dispatch_plc_passway_status_vector_(from.dispatch_plc_passway_status_vector_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_running_pack_info()) {
- running_pack_info_ = new ::park_table(*from.running_pack_info_);
- } else {
- running_pack_info_ = NULL;
- }
- if (from.has_running_pick_info()) {
- running_pick_info_ = new ::pick_table(*from.running_pick_info_);
- } else {
- running_pick_info_ = NULL;
- }
- ::memcpy(&statu_, &from.statu_,
- static_cast<size_t>(reinterpret_cast<char*>(&plc_outlet_4_status_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(plc_outlet_4_status_));
- // @@protoc_insertion_point(copy_constructor:dispatch_node_statu)
- }
- void dispatch_node_statu::SharedCtor() {
- ::memset(&running_pack_info_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_outlet_4_status_) -
- reinterpret_cast<char*>(&running_pack_info_)) + sizeof(plc_outlet_4_status_));
- _cached_size_ = 0;
- }
- dispatch_node_statu::~dispatch_node_statu() {
- // @@protoc_insertion_point(destructor:dispatch_node_statu)
- SharedDtor();
- }
- void dispatch_node_statu::SharedDtor() {
- if (this != internal_default_instance()) delete running_pack_info_;
- if (this != internal_default_instance()) delete running_pick_info_;
- }
- void dispatch_node_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* dispatch_node_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const dispatch_node_statu& dispatch_node_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu();
- return *internal_default_instance();
- }
- dispatch_node_statu* dispatch_node_statu::New(::google::protobuf::Arena* arena) const {
- dispatch_node_statu* n = new dispatch_node_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void dispatch_node_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- dispatch_plc_passway_status_vector_.Clear();
- if (GetArenaNoVirtual() == NULL && running_pack_info_ != NULL) {
- delete running_pack_info_;
- }
- running_pack_info_ = NULL;
- if (GetArenaNoVirtual() == NULL && running_pick_info_ != NULL) {
- delete running_pick_info_;
- }
- running_pick_info_ = NULL;
- ::memset(&statu_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&plc_outlet_4_status_) -
- reinterpret_cast<char*>(&statu_)) + sizeof(plc_outlet_4_status_));
- _internal_metadata_.Clear();
- }
- bool dispatch_node_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:dispatch_node_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // .CarrierStatu statu = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_statu(static_cast< ::CarrierStatu >(value));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 idle_stop_floor = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &idle_stop_floor_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .park_table running_pack_info = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_running_pack_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // .pick_table running_pick_info = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_running_pick_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 unit_id = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_heartbeat = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_heartbeat_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_status_info = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_status_info_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_carrier_status = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_carrier_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_inlet_1_status = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_inlet_1_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_inlet_2_status = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_inlet_2_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_outlet_3_status = 11;
- case 11: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_outlet_3_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 plc_outlet_4_status = 12;
- case 12: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &plc_outlet_4_status_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
- case 13: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_dispatch_plc_passway_status_vector()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:dispatch_node_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:dispatch_node_statu)
- return false;
- #undef DO_
- }
- void dispatch_node_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->statu(), output);
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->idle_stop_floor(), output);
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, *this->running_pack_info_, output);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, *this->running_pick_info_, output);
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->unit_id(), output);
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->plc_heartbeat(), output);
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->plc_status_info(), output);
- }
- // int32 plc_carrier_status = 8;
- if (this->plc_carrier_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->plc_carrier_status(), output);
- }
- // int32 plc_inlet_1_status = 9;
- if (this->plc_inlet_1_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->plc_inlet_1_status(), output);
- }
- // int32 plc_inlet_2_status = 10;
- if (this->plc_inlet_2_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->plc_inlet_2_status(), output);
- }
- // int32 plc_outlet_3_status = 11;
- if (this->plc_outlet_3_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->plc_outlet_3_status(), output);
- }
- // int32 plc_outlet_4_status = 12;
- if (this->plc_outlet_4_status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->plc_outlet_4_status(), output);
- }
- // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 13, this->dispatch_plc_passway_status_vector(static_cast<int>(i)), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:dispatch_node_statu)
- }
- ::google::protobuf::uint8* dispatch_node_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:dispatch_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->statu(), target);
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->idle_stop_floor(), target);
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, *this->running_pack_info_, deterministic, target);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 4, *this->running_pick_info_, deterministic, target);
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->unit_id(), target);
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->plc_heartbeat(), target);
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->plc_status_info(), target);
- }
- // int32 plc_carrier_status = 8;
- if (this->plc_carrier_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->plc_carrier_status(), target);
- }
- // int32 plc_inlet_1_status = 9;
- if (this->plc_inlet_1_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->plc_inlet_1_status(), target);
- }
- // int32 plc_inlet_2_status = 10;
- if (this->plc_inlet_2_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->plc_inlet_2_status(), target);
- }
- // int32 plc_outlet_3_status = 11;
- if (this->plc_outlet_3_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->plc_outlet_3_status(), target);
- }
- // int32 plc_outlet_4_status = 12;
- if (this->plc_outlet_4_status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->plc_outlet_4_status(), target);
- }
- // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 13, this->dispatch_plc_passway_status_vector(static_cast<int>(i)), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:dispatch_node_statu)
- return target;
- }
- size_t dispatch_node_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:dispatch_node_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // repeated .dispatch_plc_passway_status dispatch_plc_passway_status_vector = 13;
- {
- unsigned int count = static_cast<unsigned int>(this->dispatch_plc_passway_status_vector_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->dispatch_plc_passway_status_vector(static_cast<int>(i)));
- }
- }
- // .park_table running_pack_info = 3;
- if (this->has_running_pack_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->running_pack_info_);
- }
- // .pick_table running_pick_info = 4;
- if (this->has_running_pick_info()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->running_pick_info_);
- }
- // .CarrierStatu statu = 1;
- if (this->statu() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->statu());
- }
- // int32 idle_stop_floor = 2;
- if (this->idle_stop_floor() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->idle_stop_floor());
- }
- // int32 unit_id = 5;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 plc_heartbeat = 6;
- if (this->plc_heartbeat() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_heartbeat());
- }
- // int32 plc_status_info = 7;
- if (this->plc_status_info() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_status_info());
- }
- // int32 plc_carrier_status = 8;
- if (this->plc_carrier_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_carrier_status());
- }
- // int32 plc_inlet_1_status = 9;
- if (this->plc_inlet_1_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_inlet_1_status());
- }
- // int32 plc_inlet_2_status = 10;
- if (this->plc_inlet_2_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_inlet_2_status());
- }
- // int32 plc_outlet_3_status = 11;
- if (this->plc_outlet_3_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_outlet_3_status());
- }
- // int32 plc_outlet_4_status = 12;
- if (this->plc_outlet_4_status() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->plc_outlet_4_status());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void dispatch_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:dispatch_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const dispatch_node_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const dispatch_node_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_node_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_node_statu)
- MergeFrom(*source);
- }
- }
- void dispatch_node_statu::MergeFrom(const dispatch_node_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- dispatch_plc_passway_status_vector_.MergeFrom(from.dispatch_plc_passway_status_vector_);
- if (from.has_running_pack_info()) {
- mutable_running_pack_info()->::park_table::MergeFrom(from.running_pack_info());
- }
- if (from.has_running_pick_info()) {
- mutable_running_pick_info()->::pick_table::MergeFrom(from.running_pick_info());
- }
- if (from.statu() != 0) {
- set_statu(from.statu());
- }
- if (from.idle_stop_floor() != 0) {
- set_idle_stop_floor(from.idle_stop_floor());
- }
- if (from.unit_id() != 0) {
- set_unit_id(from.unit_id());
- }
- if (from.plc_heartbeat() != 0) {
- set_plc_heartbeat(from.plc_heartbeat());
- }
- if (from.plc_status_info() != 0) {
- set_plc_status_info(from.plc_status_info());
- }
- if (from.plc_carrier_status() != 0) {
- set_plc_carrier_status(from.plc_carrier_status());
- }
- if (from.plc_inlet_1_status() != 0) {
- set_plc_inlet_1_status(from.plc_inlet_1_status());
- }
- if (from.plc_inlet_2_status() != 0) {
- set_plc_inlet_2_status(from.plc_inlet_2_status());
- }
- if (from.plc_outlet_3_status() != 0) {
- set_plc_outlet_3_status(from.plc_outlet_3_status());
- }
- if (from.plc_outlet_4_status() != 0) {
- set_plc_outlet_4_status(from.plc_outlet_4_status());
- }
- }
- void dispatch_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:dispatch_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void dispatch_node_statu::CopyFrom(const dispatch_node_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool dispatch_node_statu::IsInitialized() const {
- return true;
- }
- void dispatch_node_statu::Swap(dispatch_node_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void dispatch_node_statu::InternalSwap(dispatch_node_statu* other) {
- using std::swap;
- dispatch_plc_passway_status_vector_.InternalSwap(&other->dispatch_plc_passway_status_vector_);
- swap(running_pack_info_, other->running_pack_info_);
- swap(running_pick_info_, other->running_pick_info_);
- swap(statu_, other->statu_);
- swap(idle_stop_floor_, other->idle_stop_floor_);
- swap(unit_id_, other->unit_id_);
- swap(plc_heartbeat_, other->plc_heartbeat_);
- swap(plc_status_info_, other->plc_status_info_);
- swap(plc_carrier_status_, other->plc_carrier_status_);
- swap(plc_inlet_1_status_, other->plc_inlet_1_status_);
- swap(plc_inlet_2_status_, other->plc_inlet_2_status_);
- swap(plc_outlet_3_status_, other->plc_outlet_3_status_);
- swap(plc_outlet_4_status_, other->plc_outlet_4_status_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata dispatch_node_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void terminal_node_statu::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int terminal_node_statu::kTerminalIdFieldNumber;
- const int terminal_node_statu::kImportIdFieldNumber;
- const int terminal_node_statu::kCarNumberFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- terminal_node_statu::terminal_node_statu()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_message_2eproto::InitDefaultsterminal_node_statu();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:terminal_node_statu)
- }
- terminal_node_statu::terminal_node_statu(const terminal_node_statu& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- ::memcpy(&terminal_id_, &from.terminal_id_,
- static_cast<size_t>(reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
- // @@protoc_insertion_point(copy_constructor:terminal_node_statu)
- }
- void terminal_node_statu::SharedCtor() {
- car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&terminal_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
- _cached_size_ = 0;
- }
- terminal_node_statu::~terminal_node_statu() {
- // @@protoc_insertion_point(destructor:terminal_node_statu)
- SharedDtor();
- }
- void terminal_node_statu::SharedDtor() {
- car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void terminal_node_statu::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* terminal_node_statu::descriptor() {
- ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const terminal_node_statu& terminal_node_statu::default_instance() {
- ::protobuf_message_2eproto::InitDefaultsterminal_node_statu();
- return *internal_default_instance();
- }
- terminal_node_statu* terminal_node_statu::New(::google::protobuf::Arena* arena) const {
- terminal_node_statu* n = new terminal_node_statu;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void terminal_node_statu::Clear() {
- // @@protoc_insertion_point(message_clear_start:terminal_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&terminal_id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&import_id_) -
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(import_id_));
- _internal_metadata_.Clear();
- }
- bool terminal_node_statu::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:terminal_node_statu)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // int32 terminal_id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &terminal_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 import_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &import_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string car_number = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_car_number()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "terminal_node_statu.car_number"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:terminal_node_statu)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:terminal_node_statu)
- return false;
- #undef DO_
- }
- void terminal_node_statu::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:terminal_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->terminal_id(), output);
- }
- // int32 import_id = 2;
- if (this->import_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->import_id(), output);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "terminal_node_statu.car_number");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->car_number(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:terminal_node_statu)
- }
- ::google::protobuf::uint8* terminal_node_statu::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:terminal_node_statu)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->terminal_id(), target);
- }
- // int32 import_id = 2;
- if (this->import_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->import_id(), target);
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->car_number().data(), static_cast<int>(this->car_number().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "terminal_node_statu.car_number");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->car_number(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:terminal_node_statu)
- return target;
- }
- size_t terminal_node_statu::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:terminal_node_statu)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string car_number = 3;
- if (this->car_number().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_number());
- }
- // int32 terminal_id = 1;
- if (this->terminal_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->terminal_id());
- }
- // int32 import_id = 2;
- if (this->import_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->import_id());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void terminal_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:terminal_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- const terminal_node_statu* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const terminal_node_statu>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:terminal_node_statu)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:terminal_node_statu)
- MergeFrom(*source);
- }
- }
- void terminal_node_statu::MergeFrom(const terminal_node_statu& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:terminal_node_statu)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.car_number().size() > 0) {
- car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
- }
- if (from.terminal_id() != 0) {
- set_terminal_id(from.terminal_id());
- }
- if (from.import_id() != 0) {
- set_import_id(from.import_id());
- }
- }
- void terminal_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:terminal_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void terminal_node_statu::CopyFrom(const terminal_node_statu& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:terminal_node_statu)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool terminal_node_statu::IsInitialized() const {
- return true;
- }
- void terminal_node_statu::Swap(terminal_node_statu* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void terminal_node_statu::InternalSwap(terminal_node_statu* other) {
- using std::swap;
- car_number_.Swap(&other->car_number_);
- swap(terminal_id_, other->terminal_id_);
- swap(import_id_, other->import_id_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata terminal_node_statu::GetMetadata() const {
- protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
|