message.pb.cc 187 KB

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