1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239 |
- // 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 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_;
- 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 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();
- {
- 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);
- }
- ::google::protobuf::Metadata file_level_metadata[10];
- 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, 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, table_id_),
- ~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(::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_),
- ~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_),
- ~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_),
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::measure_info)},
- { 15, -1, sizeof(::parkspace_info)},
- { 25, -1, sizeof(::table_statu)},
- { 32, -1, sizeof(::park_table)},
- { 48, -1, sizeof(::pick_table)},
- { 63, -1, sizeof(::out_mcpu_statu)},
- { 70, -1, sizeof(::in_mcpu_statu)},
- { 79, -1, sizeof(::measure_statu)},
- { 85, -1, sizeof(::dispatch_plc_passway_status)},
- { 98, -1, sizeof(::dispatch_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*>(&::_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_),
- };
- 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, 10);
- }
- 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\"_\n\016parkspace_info\022\n\n\002id\030\001 \001(\005\022\017\n\007uni"
- "t_id\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\017\n\007room_id\030\004 \001"
- "(\005\022\020\n\010table_id\030\005 \001(\005\"G\n\013table_statu\022\035\n\re"
- "xecute_statu\030\001 \001(\0162\006.STATU\022\031\n\021statu_desc"
- "ription\030\002 \001(\t\"\326\002\n\npark_table\022\033\n\005statu\030\001 "
- "\001(\0132\014.table_statu\022\020\n\010queue_id\030\002 \001(\005\022\022\n\nc"
- "ar_number\030\003 \001(\t\022\017\n\007unit_id\030\004 \001(\005\022\023\n\013term"
- "inal_id\030\005 \001(\005\022\023\n\013primary_key\030\006 \001(\t\022,\n\025en"
- "trance_measure_info\030\007 \001(\0132\r.measure_info"
- "\022-\n\024allocated_space_info\030\010 \001(\0132\017.parkspa"
- "ce_info\022,\n\025actually_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\"\214"
- "\002\n\npick_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\023actually_space_in"
- "fo\030\007 \001(\0132\017.parkspace_info\022,\n\025actually_me"
- "asure_info\030\010 \001(\0132\r.measure_info\022\021\n\texpor"
- "t_id\030\t \001(\005\022\021\n\tis_leaved\030\n \001(\010\"<\n\016out_mcp"
- "u_statu\022\022\n\ndoor_statu\030\001 \001(\005\022\026\n\016outside_s"
- "afety\030\002 \001(\005\"X\n\rin_mcpu_statu\022\022\n\ndoor_sta"
- "tu\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\007heighth\030\004 \001(\005\",\n\rmeasure_statu\022\033"
- "\n\004info\030\001 \001(\0132\r.measure_info\"\342\001\n\033dispatch"
- "_plc_passway_status\022\022\n\ncar_height\030\001 \001(\005\022"
- "\033\n\023outside_door_status\030\002 \001(\005\022\032\n\022inside_d"
- "oor_status\030\003 \001(\005\022\030\n\020comb_body_status\030\004 \001"
- "(\005\022\033\n\023turnplate_angle_min\030\005 \001(\002\022\033\n\023turnp"
- "late_angle_max\030\006 \001(\002\022\020\n\010sensor_1\030\007 \001(\005\022\020"
- "\n\010sensor_2\030\010 \001(\005\"\265\003\n\023dispatch_node_statu"
- "\022\034\n\005statu\030\001 \001(\0162\r.CarrierStatu\022\027\n\017idle_s"
- "top_floor\030\002 \001(\005\022&\n\021running_pack_info\030\003 \001"
- "(\0132\013.park_table\022&\n\021running_pick_info\030\004 \001"
- "(\0132\013.pick_table\022\017\n\007unit_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_inle"
- "t_1_status\030\t \001(\005\022\032\n\022plc_inlet_2_status\030\n"
- " \001(\005\022\033\n\023plc_outlet_3_status\030\013 \001(\005\022\033\n\023plc"
- "_outlet_4_status\030\014 \001(\005\022H\n\"dispatch_plc_p"
- "assway_status_vector\030\r \003(\0132\034.dispatch_pl"
- "c_passway_status* \n\005STATU\022\013\n\007eNormal\020\000\022\n"
- "\n\006eError\020\001*0\n\014CarrierStatu\022\t\n\005eIdle\020\000\022\t\n"
- "\005eBusy\020\001\022\n\n\006eFault\020\002b\006proto3"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 1948);
- ::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::kUnitIdFieldNumber;
- const int parkspace_info::kFloorFieldNumber;
- const int parkspace_info::kRoomIdFieldNumber;
- const int parkspace_info::kTableIdFieldNumber;
- #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*>(&table_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(table_id_));
- // @@protoc_insertion_point(copy_constructor:parkspace_info)
- }
- void parkspace_info::SharedCtor() {
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&table_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(table_id_));
- _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*>(&table_id_) -
- reinterpret_cast<char*>(&id_)) + sizeof(table_id_));
- _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 unit_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, &unit_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 floor = 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, &floor_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 room_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, &room_id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // int32 table_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, &table_id_)));
- } 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 unit_id = 2;
- if (this->unit_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->unit_id(), output);
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->floor(), output);
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->room_id(), output);
- }
- // int32 table_id = 5;
- if (this->table_id() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->table_id(), 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 unit_id = 2;
- if (this->unit_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->unit_id(), target);
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->floor(), target);
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->room_id(), target);
- }
- // int32 table_id = 5;
- if (this->table_id() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->table_id(), 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 unit_id = 2;
- if (this->unit_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->unit_id());
- }
- // int32 floor = 3;
- if (this->floor() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->floor());
- }
- // int32 room_id = 4;
- if (this->room_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->room_id());
- }
- // int32 table_id = 5;
- if (this->table_id() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->table_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 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.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.table_id() != 0) {
- set_table_id(from.table_id());
- }
- }
- 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(unit_id_, other->unit_id_);
- swap(floor_, other->floor_);
- swap(room_id_, other->room_id_);
- swap(table_id_, other->table_id_);
- _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 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());
- }
- #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;
- #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;
- }
- ::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_;
- }
- 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;
- ::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;
- }
- 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);
- }
- 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);
- }
- 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_);
- }
- // 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.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(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;
- #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*>(&sensor_2_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(sensor_2_));
- // @@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*>(&sensor_2_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(sensor_2_));
- _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*>(&sensor_2_) -
- reinterpret_cast<char*>(&car_height_)) + sizeof(sensor_2_));
- _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;
- }
- 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);
- }
- 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);
- }
- 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());
- }
- 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());
- }
- }
- 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_);
- _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];
- }
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
|