SinglechipMsg.cs 136 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: singlechip_msg.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Message {
  12. /// <summary>Holder for reflection information generated from singlechip_msg.proto</summary>
  13. public static partial class SinglechipMsgReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for singlechip_msg.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static SinglechipMsgReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "ChRzaW5nbGVjaGlwX21zZy5wcm90bxIHbWVzc2FnZRoSbWVzc2FnZV9iYXNl",
  24. "LnByb3RvIt8BCgdJbnB1dERpEgsKA0RpMBgBIAEoBRILCgNEaTEYAiABKAUS",
  25. "CwoDRGkyGAMgASgFEgsKA0RpMxgEIAEoBRILCgNEaTQYBSABKAUSCwoDRGk1",
  26. "GAYgASgFEgsKA0RpNhgHIAEoBRILCgNEaTcYCCABKAUSCwoDRGk4GAkgASgF",
  27. "EgsKA0RpORgKIAEoBRIMCgREaTEwGAsgASgFEgwKBERpMTEYDCABKAUSDAoE",
  28. "RGkxMhgNIAEoBRIMCgREaTEzGA4gASgFEgwKBERpMTQYDyABKAUSDAoERGkx",
  29. "NRgQIAEoBSJyCghPdXRwdXREbxILCgNEbzAYASABKAUSCwoDRG8xGAIgASgF",
  30. "EgsKA0RvMhgDIAEoBRILCgNEbzMYBCABKAUSCwoDRG80GAUgASgFEgsKA0Rv",
  31. "NRgGIAEoBRILCgNEbzYYByABKAUSCwoDRG83GAggASgFIpQBCgx0ZXJtaW5h",
  32. "bF9tc2cSEgoKVGVybWluYWxJRBgBIAEoBRIZChFEaXNwYXRjaERpcmVjdGlv",
  33. "bhgCIAEoBRIwCg5Qcm9jZXNzQ29udHJvbBgDIAEoDjIYLm1lc3NhZ2UuUHJv",
  34. "Y2Vzc19jb250cm9sEiMKCE91dFB1dERvGAQgASgLMhEubWVzc2FnZS5PdXRw",
  35. "dXREbyLkBAoPU2luZ2xlY2hpcF9kYXRhEhIKClRlcm1pbmFsSUQYASABKAUS",
  36. "GQoRRGlzcGF0Y2hEaXJlY3Rpb24YAiABKAUSLgoNUHJvY2Vzc1N0YXR1cxgD",
  37. "IAEoDjIXLm1lc3NhZ2UuUHJvY2Vzc19zdGF0dXMSIQoHSW5QdXREaRgEIAEo",
  38. "CzIQLm1lc3NhZ2UuSW5wdXREaRIRCglSZXNldEZsYWcYBSABKAUSMAoOUHJv",
  39. "Y2Vzc0NvbnRyb2wYBiABKA4yGC5tZXNzYWdlLlByb2Nlc3NfY29udHJvbBIb",
  40. "ChNJbnNpZGVFeGlzdGVuY2VGbGFnGAcgASgFEjUKEE92ZXJCb3JkZXJTdGF0",
  41. "dXMYCCABKA4yGy5tZXNzYWdlLk92ZXJfYm9yZGVyX3N0YXR1cxI6ChZDYXJI",
  42. "ZWlnaHRTdGF0dXNDdXJyZW50GAkgASgOMhoubWVzc2FnZS5DYXJfaGVpZ2h0",
  43. "X3N0YXR1cxI6ChZDYXJIZWlnaHRTdGF0dXNQYXNzaW5nGAogASgOMhoubWVz",
  44. "c2FnZS5DYXJfaGVpZ2h0X3N0YXR1cxIQCghTdG9wRmxhZxgLIAEoBRI3ChFP",
  45. "dXRzaWRlRG9vclN0YXR1cxgMIAEoDjIcLm1lc3NhZ2UuT3V0c2lkZV9kb29y",
  46. "X3N0YXR1cxI5ChJPdXRzaWRlRG9vckNvbnRyb2wYDSABKA4yHS5tZXNzYWdl",
  47. "Lk91dHNpZGVfZG9vcl9jb250cm9sEhoKEkRpc3BhdGNoRmluaXNoRmxhZxgO",
  48. "IAEoBRIcChRPdXRzaWRlRXhpc3RlbmNlRmxhZxgPIAEoBSKyAQoTVGVybWlu",
  49. "YWxfc3RhdHVzX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJh",
  50. "c2VfaW5mbxIlCglpZF9zdHJ1Y3QYAiABKAsyEi5tZXNzYWdlLklkX3N0cnVj",
  51. "dBIwCg5zaW5nbGVjaGlwRGF0YRgDIAEoCzIYLm1lc3NhZ2UuU2luZ2xlY2hp",
  52. "cF9kYXRhEhsKE3NpbmdsZWNoaXBfdmFsaWRpdHkYBCABKAgq5AYKD1Byb2Nl",
  53. "c3NfY29udHJvbBIbChdQUk9DRVNTX0NPTlRST0xfVU5LTk9XThAAEh0KGVBS",
  54. "T0NFU1NfQ09OVFJPTF9GVUxMX0FVVE8QARIaChZQUk9DRVNTX0NPTlRST0xf",
  55. "TUFOVUFMEAISHgoaUFJPQ0VTU19DT05UUk9MX0FVVE9fQ0xPU0UQAxIdChlQ",
  56. "Uk9DRVNTX0NPTlRST0xfQVVUT19PUEVOEAQSHAoYUFJPQ0VTU19DT05UUk9M",
  57. "X1RPX1JFQURZEAUSGQoVUFJPQ0VTU19DT05UUk9MX1JFU0VUEAcSGAoUUFJP",
  58. "Q0VTU19DT05UUk9MX1NUT1AQCBIZChVQUk9DRVNTX0NPTlRST0xfRkFVTFQQ",
  59. "CRIbChdQUk9DRVNTX0NPTlRST0xfSU5MRVRfMBAKEhsKF1BST0NFU1NfQ09O",
  60. "VFJPTF9JTkxFVF8xEAsSGwoXUFJPQ0VTU19DT05UUk9MX0lOTEVUXzIQDBIb",
  61. "ChdQUk9DRVNTX0NPTlRST0xfSU5MRVRfMxANEhsKF1BST0NFU1NfQ09OVFJP",
  62. "TF9JTkxFVF80EA4SGwoXUFJPQ0VTU19DT05UUk9MX0lOTEVUXzUQDxIbChdQ",
  63. "Uk9DRVNTX0NPTlRST0xfSU5MRVRfNhAQEhsKF1BST0NFU1NfQ09OVFJPTF9J",
  64. "TkxFVF83EBESGwoXUFJPQ0VTU19DT05UUk9MX0lOTEVUXzgQEhIbChdQUk9D",
  65. "RVNTX0NPTlRST0xfSU5MRVRfORATEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRM",
  66. "RVRfMBAeEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRMRVRfMRAfEhwKGFBST0NF",
  67. "U1NfQ09OVFJPTF9PVVRMRVRfMhAgEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRM",
  68. "RVRfMxAhEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRMRVRfNBAiEhwKGFBST0NF",
  69. "U1NfQ09OVFJPTF9PVVRMRVRfNRAjEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRM",
  70. "RVRfNhAkEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRMRVRfNxAlEhwKGFBST0NF",
  71. "U1NfQ09OVFJPTF9PVVRMRVRfOBAmEhwKGFBST0NFU1NfQ09OVFJPTF9PVVRM",
  72. "RVRfORAnKskBChJPdmVyX2JvcmRlcl9zdGF0dXMSHgoaT1ZFUl9CT1JERVJf",
  73. "U1RBVFVTX1VOS05PV04QABIdChlPVkVSX0JPUkRFUl9TVEFUVVNfTk9STUFM",
  74. "EAESHAoYT1ZFUl9CT1JERVJfU1RBVFVTX0ZST05UEAISGwoXT1ZFUl9CT1JE",
  75. "RVJfU1RBVFVTX0JBQ0sQAxIbChdPVkVSX0JPUkRFUl9TVEFUVVNfTEVGVBAE",
  76. "EhwKGE9WRVJfQk9SREVSX1NUQVRVU19SSUdIVBAFKsMBChFDYXJfaGVpZ2h0",
  77. "X3N0YXR1cxIdChlDQVJfSEVJR0hUX1NUQVRVU19VTktOT1dOEAASGwoXQ0FS",
  78. "X0hFSUdIVF9TVEFUVVNfU01BTEwQARIcChhDQVJfSEVJR0hUX1NUQVRVU19N",
  79. "RURJVU0QAhIbChdDQVJfSEVJR0hUX1NUQVRVU19MQVJHRRADEhoKFkNBUl9I",
  80. "RUlHSFRfU1RBVFVTX0hVR0UQBBIbChdDQVJfSEVJR0hUX1NUQVRVU19GQVVM",
  81. "VBAFKq8BChNPdXRzaWRlX2Rvb3Jfc3RhdHVzEh8KG09VVFNJREVfRE9PUl9T",
  82. "VEFUVVNfVU5LTk9XThAAEhwKGE9VVFNJREVfRE9PUl9TVEFUVVNfT1BFThAB",
  83. "Eh0KGU9VVFNJREVfRE9PUl9TVEFUVVNfQ0xPU0UQAhIbChdPVVRTSURFX0RP",
  84. "T1JfU1RBVFVTX1JVThADEh0KGU9VVFNJREVfRE9PUl9TVEFUVVNfRkFVTFQQ",
  85. "BCp3ChRPdXRzaWRlX2Rvb3JfY29udHJvbBIgChxPVVRTSURFX0RPT1JfQ09O",
  86. "VFJPTF9VTktOT1dOEAASHQoZT1VUU0lERV9ET09SX0NPTlRST0xfT1BFThAB",
  87. "Eh4KGk9VVFNJREVfRE9PUl9DT05UUk9MX0NMT1NFEAIqlAsKDlByb2Nlc3Nf",
  88. "c3RhdHVzEhoKFlBST0NFU1NfU1RBVFVTX1VOS05PV04QABIcChhQUk9DRVNT",
  89. "X1NUQVRVU19GVUxMX0FVVE8QARIZChVQUk9DRVNTX1NUQVRVU19NQU5VQUwQ",
  90. "AhIdChlQUk9DRVNTX1NUQVRVU19BVVRPX0NMT1NFEAMSHAoYUFJPQ0VTU19T",
  91. "VEFUVVNfQVVUT19PUEVOEAQSGwoXUFJPQ0VTU19TVEFUVVNfVE9fUkVBRFkQ",
  92. "BRIYChRQUk9DRVNTX1NUQVRVU19SRVNFVBAHEhcKE1BST0NFU1NfU1RBVFVT",
  93. "X1NUT1AQCBIYChRQUk9DRVNTX1NUQVRVU19GQVVMVBAJEhoKFlBST0NFU1Nf",
  94. "U1RBVFVTX0lOTEVUXzAQChIaChZQUk9DRVNTX1NUQVRVU19JTkxFVF8xEAsS",
  95. "GgoWUFJPQ0VTU19TVEFUVVNfSU5MRVRfMhAMEhoKFlBST0NFU1NfU1RBVFVT",
  96. "X0lOTEVUXzMQDRIaChZQUk9DRVNTX1NUQVRVU19JTkxFVF80EA4SGgoWUFJP",
  97. "Q0VTU19TVEFUVVNfSU5MRVRfNRAPEhoKFlBST0NFU1NfU1RBVFVTX0lOTEVU",
  98. "XzYQEBIaChZQUk9DRVNTX1NUQVRVU19JTkxFVF83EBESGgoWUFJPQ0VTU19T",
  99. "VEFUVVNfSU5MRVRfOBASEhoKFlBST0NFU1NfU1RBVFVTX0lOTEVUXzkQExIb",
  100. "ChdQUk9DRVNTX1NUQVRVU19JTkxFVF8xMBAUEhsKF1BST0NFU1NfU1RBVFVT",
  101. "X0lOTEVUXzExEBUSGwoXUFJPQ0VTU19TVEFUVVNfSU5MRVRfMTIQFhIbChdQ",
  102. "Uk9DRVNTX1NUQVRVU19JTkxFVF8xMxAXEhsKF1BST0NFU1NfU1RBVFVTX0lO",
  103. "TEVUXzE0EBgSGwoXUFJPQ0VTU19TVEFUVVNfSU5MRVRfMTUQGRIbChdQUk9D",
  104. "RVNTX1NUQVRVU19JTkxFVF8xNhAaEhsKF1BST0NFU1NfU1RBVFVTX0lOTEVU",
  105. "XzE3EBsSGwoXUFJPQ0VTU19TVEFUVVNfSU5MRVRfMTgQHBIbChdQUk9DRVNT",
  106. "X1NUQVRVU19JTkxFVF8xORAdEhsKF1BST0NFU1NfU1RBVFVTX09VVExFVF8w",
  107. "EB4SGwoXUFJPQ0VTU19TVEFUVVNfT1VUTEVUXzEQHxIbChdQUk9DRVNTX1NU",
  108. "QVRVU19PVVRMRVRfMhAgEhsKF1BST0NFU1NfU1RBVFVTX09VVExFVF8zECES",
  109. "GwoXUFJPQ0VTU19TVEFUVVNfT1VUTEVUXzQQIhIbChdQUk9DRVNTX1NUQVRV",
  110. "U19PVVRMRVRfNRAjEhsKF1BST0NFU1NfU1RBVFVTX09VVExFVF82ECQSGwoX",
  111. "UFJPQ0VTU19TVEFUVVNfT1VUTEVUXzcQJRIbChdQUk9DRVNTX1NUQVRVU19P",
  112. "VVRMRVRfOBAmEhsKF1BST0NFU1NfU1RBVFVTX09VVExFVF85ECcSHAoYUFJP",
  113. "Q0VTU19TVEFUVVNfT1VUTEVUXzEwECgSHAoYUFJPQ0VTU19TVEFUVVNfT1VU",
  114. "TEVUXzExECkSHAoYUFJPQ0VTU19TVEFUVVNfT1VUTEVUXzEyECoSHAoYUFJP",
  115. "Q0VTU19TVEFUVVNfT1VUTEVUXzEzECsSHAoYUFJPQ0VTU19TVEFUVVNfT1VU",
  116. "TEVUXzE0ECwSHAoYUFJPQ0VTU19TVEFUVVNfT1VUTEVUXzE1EC0SHAoYUFJP",
  117. "Q0VTU19TVEFUVVNfT1VUTEVUXzE2EC4SHAoYUFJPQ0VTU19TVEFUVVNfT1VU",
  118. "TEVUXzE3EC8SHAoYUFJPQ0VTU19TVEFUVVNfT1VUTEVUXzE4EDASHAoYUFJP",
  119. "Q0VTU19TVEFUVVNfT1VUTEVUXzE5EDE="));
  120. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  121. new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
  122. new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Process_control), typeof(global::Message.Over_border_status), typeof(global::Message.Car_height_status), typeof(global::Message.Outside_door_status), typeof(global::Message.Outside_door_control), typeof(global::Message.Process_status), }, null, new pbr::GeneratedClrTypeInfo[] {
  123. new pbr::GeneratedClrTypeInfo(typeof(global::Message.InputDi), global::Message.InputDi.Parser, new[]{ "Di0", "Di1", "Di2", "Di3", "Di4", "Di5", "Di6", "Di7", "Di8", "Di9", "Di10", "Di11", "Di12", "Di13", "Di14", "Di15" }, null, null, null, null),
  124. new pbr::GeneratedClrTypeInfo(typeof(global::Message.OutputDo), global::Message.OutputDo.Parser, new[]{ "Do0", "Do1", "Do2", "Do3", "Do4", "Do5", "Do6", "Do7" }, null, null, null, null),
  125. new pbr::GeneratedClrTypeInfo(typeof(global::Message.terminal_msg), global::Message.terminal_msg.Parser, new[]{ "TerminalID", "DispatchDirection", "ProcessControl", "OutPutDo" }, null, null, null, null),
  126. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Singlechip_data), global::Message.Singlechip_data.Parser, new[]{ "TerminalID", "DispatchDirection", "ProcessStatus", "InPutDi", "ResetFlag", "ProcessControl", "InsideExistenceFlag", "OverBorderStatus", "CarHeightStatusCurrent", "CarHeightStatusPassing", "StopFlag", "OutsideDoorStatus", "OutsideDoorControl", "DispatchFinishFlag", "OutsideExistenceFlag" }, null, null, null, null),
  127. new pbr::GeneratedClrTypeInfo(typeof(global::Message.Terminal_status_msg), global::Message.Terminal_status_msg.Parser, new[]{ "BaseInfo", "IdStruct", "SinglechipData", "SinglechipValidity" }, null, null, null, null)
  128. }));
  129. }
  130. #endregion
  131. }
  132. #region Enums
  133. /// <summary>
  134. ///流程控制
  135. /// </summary>
  136. public enum Process_control {
  137. /// <summary>
  138. ///未知
  139. /// </summary>
  140. [pbr::OriginalName("PROCESS_CONTROL_UNKNOWN")] Unknown = 0,
  141. /// <summary>
  142. ///全自动,
  143. /// </summary>
  144. [pbr::OriginalName("PROCESS_CONTROL_FULL_AUTO")] FullAuto = 1,
  145. /// <summary>
  146. ///手动
  147. /// </summary>
  148. [pbr::OriginalName("PROCESS_CONTROL_MANUAL")] Manual = 2,
  149. /// <summary>
  150. ///半自动关门
  151. /// </summary>
  152. [pbr::OriginalName("PROCESS_CONTROL_AUTO_CLOSE")] AutoClose = 3,
  153. /// <summary>
  154. ///半自动开门
  155. /// </summary>
  156. [pbr::OriginalName("PROCESS_CONTROL_AUTO_OPEN")] AutoOpen = 4,
  157. /// <summary>
  158. ///切换到待机
  159. /// </summary>
  160. [pbr::OriginalName("PROCESS_CONTROL_TO_READY")] ToReady = 5,
  161. /// <summary>
  162. ///重启
  163. /// </summary>
  164. [pbr::OriginalName("PROCESS_CONTROL_RESET")] Reset = 7,
  165. /// <summary>
  166. ///急停
  167. /// </summary>
  168. [pbr::OriginalName("PROCESS_CONTROL_STOP")] Stop = 8,
  169. /// <summary>
  170. ///故障
  171. /// </summary>
  172. [pbr::OriginalName("PROCESS_CONTROL_FAULT")] Fault = 9,
  173. /// <summary>
  174. ///未知
  175. /// </summary>
  176. [pbr::OriginalName("PROCESS_CONTROL_INLET_0")] Inlet0 = 10,
  177. /// <summary>
  178. ///未知
  179. /// </summary>
  180. [pbr::OriginalName("PROCESS_CONTROL_INLET_1")] Inlet1 = 11,
  181. /// <summary>
  182. ///未知
  183. /// </summary>
  184. [pbr::OriginalName("PROCESS_CONTROL_INLET_2")] Inlet2 = 12,
  185. /// <summary>
  186. ///未知
  187. /// </summary>
  188. [pbr::OriginalName("PROCESS_CONTROL_INLET_3")] Inlet3 = 13,
  189. /// <summary>
  190. ///未知
  191. /// </summary>
  192. [pbr::OriginalName("PROCESS_CONTROL_INLET_4")] Inlet4 = 14,
  193. /// <summary>
  194. ///未知
  195. /// </summary>
  196. [pbr::OriginalName("PROCESS_CONTROL_INLET_5")] Inlet5 = 15,
  197. /// <summary>
  198. ///未知
  199. /// </summary>
  200. [pbr::OriginalName("PROCESS_CONTROL_INLET_6")] Inlet6 = 16,
  201. /// <summary>
  202. ///未知
  203. /// </summary>
  204. [pbr::OriginalName("PROCESS_CONTROL_INLET_7")] Inlet7 = 17,
  205. /// <summary>
  206. ///未知
  207. /// </summary>
  208. [pbr::OriginalName("PROCESS_CONTROL_INLET_8")] Inlet8 = 18,
  209. /// <summary>
  210. ///未知
  211. /// </summary>
  212. [pbr::OriginalName("PROCESS_CONTROL_INLET_9")] Inlet9 = 19,
  213. /// <summary>
  214. ///未知
  215. /// </summary>
  216. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_0")] Outlet0 = 30,
  217. /// <summary>
  218. ///未知
  219. /// </summary>
  220. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_1")] Outlet1 = 31,
  221. /// <summary>
  222. ///未知
  223. /// </summary>
  224. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_2")] Outlet2 = 32,
  225. /// <summary>
  226. ///未知
  227. /// </summary>
  228. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_3")] Outlet3 = 33,
  229. /// <summary>
  230. ///未知
  231. /// </summary>
  232. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_4")] Outlet4 = 34,
  233. /// <summary>
  234. ///未知
  235. /// </summary>
  236. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_5")] Outlet5 = 35,
  237. /// <summary>
  238. ///未知
  239. /// </summary>
  240. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_6")] Outlet6 = 36,
  241. /// <summary>
  242. ///未知
  243. /// </summary>
  244. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_7")] Outlet7 = 37,
  245. /// <summary>
  246. ///未知
  247. /// </summary>
  248. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_8")] Outlet8 = 38,
  249. /// <summary>
  250. ///未知
  251. /// </summary>
  252. [pbr::OriginalName("PROCESS_CONTROL_OUTLET_9")] Outlet9 = 39,
  253. }
  254. /// <summary>
  255. ///超界状态
  256. /// </summary>
  257. public enum Over_border_status {
  258. /// <summary>
  259. ///未知
  260. /// </summary>
  261. [pbr::OriginalName("OVER_BORDER_STATUS_UNKNOWN")] Unknown = 0,
  262. /// <summary>
  263. ///正常
  264. /// </summary>
  265. [pbr::OriginalName("OVER_BORDER_STATUS_NORMAL")] Normal = 1,
  266. /// <summary>
  267. ///前超界
  268. /// </summary>
  269. [pbr::OriginalName("OVER_BORDER_STATUS_FRONT")] Front = 2,
  270. /// <summary>
  271. ///后超界
  272. /// </summary>
  273. [pbr::OriginalName("OVER_BORDER_STATUS_BACK")] Back = 3,
  274. /// <summary>
  275. ///左超界
  276. /// </summary>
  277. [pbr::OriginalName("OVER_BORDER_STATUS_LEFT")] Left = 4,
  278. /// <summary>
  279. ///右超界
  280. /// </summary>
  281. [pbr::OriginalName("OVER_BORDER_STATUS_RIGHT")] Right = 5,
  282. }
  283. /// <summary>
  284. ///车高状态
  285. /// </summary>
  286. public enum Car_height_status {
  287. /// <summary>
  288. ///未知
  289. /// </summary>
  290. [pbr::OriginalName("CAR_HEIGHT_STATUS_UNKNOWN")] Unknown = 0,
  291. /// <summary>
  292. ///小车
  293. /// </summary>
  294. [pbr::OriginalName("CAR_HEIGHT_STATUS_SMALL")] Small = 1,
  295. /// <summary>
  296. ///中车
  297. /// </summary>
  298. [pbr::OriginalName("CAR_HEIGHT_STATUS_MEDIUM")] Medium = 2,
  299. /// <summary>
  300. ///大车
  301. /// </summary>
  302. [pbr::OriginalName("CAR_HEIGHT_STATUS_LARGE")] Large = 3,
  303. /// <summary>
  304. ///巨大车
  305. /// </summary>
  306. [pbr::OriginalName("CAR_HEIGHT_STATUS_HUGE")] Huge = 4,
  307. /// <summary>
  308. ///故障车
  309. /// </summary>
  310. [pbr::OriginalName("CAR_HEIGHT_STATUS_FAULT")] Fault = 5,
  311. }
  312. /// <summary>
  313. ///外门的状态
  314. /// </summary>
  315. public enum Outside_door_status {
  316. /// <summary>
  317. ///未知
  318. /// </summary>
  319. [pbr::OriginalName("OUTSIDE_DOOR_STATUS_UNKNOWN")] Unknown = 0,
  320. /// <summary>
  321. ///外门开到位
  322. /// </summary>
  323. [pbr::OriginalName("OUTSIDE_DOOR_STATUS_OPEN")] Open = 1,
  324. /// <summary>
  325. ///外门关到位
  326. /// </summary>
  327. [pbr::OriginalName("OUTSIDE_DOOR_STATUS_CLOSE")] Close = 2,
  328. /// <summary>
  329. ///外门运行中
  330. /// </summary>
  331. [pbr::OriginalName("OUTSIDE_DOOR_STATUS_RUN")] Run = 3,
  332. /// <summary>
  333. ///外门故障
  334. /// </summary>
  335. [pbr::OriginalName("OUTSIDE_DOOR_STATUS_FAULT")] Fault = 4,
  336. }
  337. /// <summary>
  338. ///外门的控制
  339. /// </summary>
  340. public enum Outside_door_control {
  341. /// <summary>
  342. ///未知
  343. /// </summary>
  344. [pbr::OriginalName("OUTSIDE_DOOR_CONTROL_UNKNOWN")] Unknown = 0,
  345. /// <summary>
  346. ///外门开
  347. /// </summary>
  348. [pbr::OriginalName("OUTSIDE_DOOR_CONTROL_OPEN")] Open = 1,
  349. /// <summary>
  350. ///外门关
  351. /// </summary>
  352. [pbr::OriginalName("OUTSIDE_DOOR_CONTROL_CLOSE")] Close = 2,
  353. }
  354. /// <summary>
  355. ///流程状态
  356. /// </summary>
  357. public enum Process_status {
  358. /// <summary>
  359. ///未知
  360. /// </summary>
  361. [pbr::OriginalName("PROCESS_STATUS_UNKNOWN")] Unknown = 0,
  362. /// <summary>
  363. ///全自动,
  364. /// </summary>
  365. [pbr::OriginalName("PROCESS_STATUS_FULL_AUTO")] FullAuto = 1,
  366. /// <summary>
  367. ///手动
  368. /// </summary>
  369. [pbr::OriginalName("PROCESS_STATUS_MANUAL")] Manual = 2,
  370. /// <summary>
  371. ///半自动关门
  372. /// </summary>
  373. [pbr::OriginalName("PROCESS_STATUS_AUTO_CLOSE")] AutoClose = 3,
  374. /// <summary>
  375. ///半自动开门
  376. /// </summary>
  377. [pbr::OriginalName("PROCESS_STATUS_AUTO_OPEN")] AutoOpen = 4,
  378. /// <summary>
  379. ///切换到待机
  380. /// </summary>
  381. [pbr::OriginalName("PROCESS_STATUS_TO_READY")] ToReady = 5,
  382. /// <summary>
  383. ///重启
  384. /// </summary>
  385. [pbr::OriginalName("PROCESS_STATUS_RESET")] Reset = 7,
  386. /// <summary>
  387. ///急停
  388. /// </summary>
  389. [pbr::OriginalName("PROCESS_STATUS_STOP")] Stop = 8,
  390. /// <summary>
  391. ///故障
  392. /// </summary>
  393. [pbr::OriginalName("PROCESS_STATUS_FAULT")] Fault = 9,
  394. /// <summary>
  395. ///自动模式的步骤
  396. /// </summary>
  397. [pbr::OriginalName("PROCESS_STATUS_INLET_0")] Inlet0 = 10,
  398. /// <summary>
  399. ///执行开门
  400. /// </summary>
  401. [pbr::OriginalName("PROCESS_STATUS_INLET_1")] Inlet1 = 11,
  402. /// <summary>
  403. ///等待门开到位
  404. /// </summary>
  405. [pbr::OriginalName("PROCESS_STATUS_INLET_2")] Inlet2 = 12,
  406. /// <summary>
  407. ///等待汽车进入
  408. /// </summary>
  409. [pbr::OriginalName("PROCESS_STATUS_INLET_3")] Inlet3 = 13,
  410. /// <summary>
  411. ///停车完成,统计汽车经过门口的车高。
  412. /// </summary>
  413. [pbr::OriginalName("PROCESS_STATUS_INLET_4")] Inlet4 = 14,
  414. /// <summary>
  415. ///等待终端关门,执行关门
  416. /// </summary>
  417. [pbr::OriginalName("PROCESS_STATUS_INLET_5")] Inlet5 = 15,
  418. /// <summary>
  419. ///等待门关到位
  420. /// </summary>
  421. [pbr::OriginalName("PROCESS_STATUS_INLET_6")] Inlet6 = 16,
  422. /// <summary>
  423. ///等待plc调度,或者终端重置
  424. /// </summary>
  425. [pbr::OriginalName("PROCESS_STATUS_INLET_7")] Inlet7 = 17,
  426. /// <summary>
  427. ///未知
  428. /// </summary>
  429. [pbr::OriginalName("PROCESS_STATUS_INLET_8")] Inlet8 = 18,
  430. /// <summary>
  431. ///未知
  432. /// </summary>
  433. [pbr::OriginalName("PROCESS_STATUS_INLET_9")] Inlet9 = 19,
  434. /// <summary>
  435. ///入口待机, 等待门外地感触发。
  436. /// </summary>
  437. [pbr::OriginalName("PROCESS_STATUS_INLET_10")] Inlet10 = 20,
  438. /// <summary>
  439. ///执行开门
  440. /// </summary>
  441. [pbr::OriginalName("PROCESS_STATUS_INLET_11")] Inlet11 = 21,
  442. /// <summary>
  443. ///等待门开到位
  444. /// </summary>
  445. [pbr::OriginalName("PROCESS_STATUS_INLET_12")] Inlet12 = 22,
  446. /// <summary>
  447. ///等待汽车进入
  448. /// </summary>
  449. [pbr::OriginalName("PROCESS_STATUS_INLET_13")] Inlet13 = 23,
  450. /// <summary>
  451. ///停车完成,统计汽车经过门口的车高。
  452. /// </summary>
  453. [pbr::OriginalName("PROCESS_STATUS_INLET_14")] Inlet14 = 24,
  454. /// <summary>
  455. ///等待终端关门,执行关门
  456. /// </summary>
  457. [pbr::OriginalName("PROCESS_STATUS_INLET_15")] Inlet15 = 25,
  458. /// <summary>
  459. ///等待门关到位
  460. /// </summary>
  461. [pbr::OriginalName("PROCESS_STATUS_INLET_16")] Inlet16 = 26,
  462. /// <summary>
  463. ///等待plc调度,或者终端重置
  464. /// </summary>
  465. [pbr::OriginalName("PROCESS_STATUS_INLET_17")] Inlet17 = 27,
  466. /// <summary>
  467. ///未知
  468. /// </summary>
  469. [pbr::OriginalName("PROCESS_STATUS_INLET_18")] Inlet18 = 28,
  470. /// <summary>
  471. ///未知
  472. /// </summary>
  473. [pbr::OriginalName("PROCESS_STATUS_INLET_19")] Inlet19 = 29,
  474. /// <summary>
  475. ///出口待机,等待终端开门,执行开门
  476. /// </summary>
  477. [pbr::OriginalName("PROCESS_STATUS_OUTLET_0")] Outlet0 = 30,
  478. /// <summary>
  479. ///等待门开到位
  480. /// </summary>
  481. [pbr::OriginalName("PROCESS_STATUS_OUTLET_1")] Outlet1 = 31,
  482. /// <summary>
  483. ///等待门口的光电产生信号,表示汽车正从车库出去。汽车正在离开中。
  484. /// </summary>
  485. [pbr::OriginalName("PROCESS_STATUS_OUTLET_2")] Outlet2 = 32,
  486. /// <summary>
  487. ///汽车离开后,延迟5秒关门,执行关门
  488. /// </summary>
  489. [pbr::OriginalName("PROCESS_STATUS_OUTLET_3")] Outlet3 = 33,
  490. /// <summary>
  491. ///等待门关到位
  492. /// </summary>
  493. [pbr::OriginalName("PROCESS_STATUS_OUTLET_4")] Outlet4 = 34,
  494. /// <summary>
  495. ///等待plc调度,或者终端重置
  496. /// </summary>
  497. [pbr::OriginalName("PROCESS_STATUS_OUTLET_5")] Outlet5 = 35,
  498. /// <summary>
  499. ///未知
  500. /// </summary>
  501. [pbr::OriginalName("PROCESS_STATUS_OUTLET_6")] Outlet6 = 36,
  502. /// <summary>
  503. ///未知
  504. /// </summary>
  505. [pbr::OriginalName("PROCESS_STATUS_OUTLET_7")] Outlet7 = 37,
  506. /// <summary>
  507. ///未知
  508. /// </summary>
  509. [pbr::OriginalName("PROCESS_STATUS_OUTLET_8")] Outlet8 = 38,
  510. /// <summary>
  511. ///未知
  512. /// </summary>
  513. [pbr::OriginalName("PROCESS_STATUS_OUTLET_9")] Outlet9 = 39,
  514. /// <summary>
  515. ///出口待机,等待终端开门,执行开门
  516. /// </summary>
  517. [pbr::OriginalName("PROCESS_STATUS_OUTLET_10")] Outlet10 = 40,
  518. /// <summary>
  519. ///等待门开到位
  520. /// </summary>
  521. [pbr::OriginalName("PROCESS_STATUS_OUTLET_11")] Outlet11 = 41,
  522. /// <summary>
  523. ///等待门口的光电产生信号,表示汽车正从车库出去。汽车正在离开中。
  524. /// </summary>
  525. [pbr::OriginalName("PROCESS_STATUS_OUTLET_12")] Outlet12 = 42,
  526. /// <summary>
  527. ///汽车离开后,延迟5秒关门,执行关门
  528. /// </summary>
  529. [pbr::OriginalName("PROCESS_STATUS_OUTLET_13")] Outlet13 = 43,
  530. /// <summary>
  531. ///等待门关到位
  532. /// </summary>
  533. [pbr::OriginalName("PROCESS_STATUS_OUTLET_14")] Outlet14 = 44,
  534. /// <summary>
  535. ///等待plc调度,或者终端重置
  536. /// </summary>
  537. [pbr::OriginalName("PROCESS_STATUS_OUTLET_15")] Outlet15 = 45,
  538. /// <summary>
  539. ///未知
  540. /// </summary>
  541. [pbr::OriginalName("PROCESS_STATUS_OUTLET_16")] Outlet16 = 46,
  542. /// <summary>
  543. ///未知
  544. /// </summary>
  545. [pbr::OriginalName("PROCESS_STATUS_OUTLET_17")] Outlet17 = 47,
  546. /// <summary>
  547. ///未知
  548. /// </summary>
  549. [pbr::OriginalName("PROCESS_STATUS_OUTLET_18")] Outlet18 = 48,
  550. /// <summary>
  551. ///未知
  552. /// </summary>
  553. [pbr::OriginalName("PROCESS_STATUS_OUTLET_19")] Outlet19 = 49,
  554. }
  555. #endregion
  556. #region Messages
  557. /// <summary>
  558. ///连接口
  559. /// </summary>
  560. public sealed partial class InputDi : pb::IMessage<InputDi>
  561. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  562. , pb::IBufferMessage
  563. #endif
  564. {
  565. private static readonly pb::MessageParser<InputDi> _parser = new pb::MessageParser<InputDi>(() => new InputDi());
  566. private pb::UnknownFieldSet _unknownFields;
  567. private int _hasBits0;
  568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  569. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  570. public static pb::MessageParser<InputDi> Parser { get { return _parser; } }
  571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  572. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  573. public static pbr::MessageDescriptor Descriptor {
  574. get { return global::Message.SinglechipMsgReflection.Descriptor.MessageTypes[0]; }
  575. }
  576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  577. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  578. pbr::MessageDescriptor pb::IMessage.Descriptor {
  579. get { return Descriptor; }
  580. }
  581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  582. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  583. public InputDi() {
  584. OnConstruction();
  585. }
  586. partial void OnConstruction();
  587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  588. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  589. public InputDi(InputDi other) : this() {
  590. _hasBits0 = other._hasBits0;
  591. di0_ = other.di0_;
  592. di1_ = other.di1_;
  593. di2_ = other.di2_;
  594. di3_ = other.di3_;
  595. di4_ = other.di4_;
  596. di5_ = other.di5_;
  597. di6_ = other.di6_;
  598. di7_ = other.di7_;
  599. di8_ = other.di8_;
  600. di9_ = other.di9_;
  601. di10_ = other.di10_;
  602. di11_ = other.di11_;
  603. di12_ = other.di12_;
  604. di13_ = other.di13_;
  605. di14_ = other.di14_;
  606. di15_ = other.di15_;
  607. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  608. }
  609. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  610. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  611. public InputDi Clone() {
  612. return new InputDi(this);
  613. }
  614. /// <summary>Field number for the "Di0" field.</summary>
  615. public const int Di0FieldNumber = 1;
  616. private readonly static int Di0DefaultValue = 0;
  617. private int di0_;
  618. /// <summary>
  619. ///停车超前光电(0正常,1超界故障)
  620. /// </summary>
  621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  622. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  623. public int Di0 {
  624. get { if ((_hasBits0 & 1) != 0) { return di0_; } else { return Di0DefaultValue; } }
  625. set {
  626. _hasBits0 |= 1;
  627. di0_ = value;
  628. }
  629. }
  630. /// <summary>Gets whether the "Di0" field is set</summary>
  631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  632. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  633. public bool HasDi0 {
  634. get { return (_hasBits0 & 1) != 0; }
  635. }
  636. /// <summary>Clears the value of the "Di0" field</summary>
  637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  638. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  639. public void ClearDi0() {
  640. _hasBits0 &= ~1;
  641. }
  642. /// <summary>Field number for the "Di1" field.</summary>
  643. public const int Di1FieldNumber = 2;
  644. private readonly static int Di1DefaultValue = 0;
  645. private int di1_;
  646. /// <summary>
  647. ///停车超后光电(0正常,1超界故障)
  648. /// </summary>
  649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  650. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  651. public int Di1 {
  652. get { if ((_hasBits0 & 2) != 0) { return di1_; } else { return Di1DefaultValue; } }
  653. set {
  654. _hasBits0 |= 2;
  655. di1_ = value;
  656. }
  657. }
  658. /// <summary>Gets whether the "Di1" field is set</summary>
  659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  660. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  661. public bool HasDi1 {
  662. get { return (_hasBits0 & 2) != 0; }
  663. }
  664. /// <summary>Clears the value of the "Di1" field</summary>
  665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  666. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  667. public void ClearDi1() {
  668. _hasBits0 &= ~2;
  669. }
  670. /// <summary>Field number for the "Di2" field.</summary>
  671. public const int Di2FieldNumber = 3;
  672. private readonly static int Di2DefaultValue = 0;
  673. private int di2_;
  674. /// <summary>
  675. ///停车超左光电(0正常,1超界故障)
  676. /// </summary>
  677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  678. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  679. public int Di2 {
  680. get { if ((_hasBits0 & 4) != 0) { return di2_; } else { return Di2DefaultValue; } }
  681. set {
  682. _hasBits0 |= 4;
  683. di2_ = value;
  684. }
  685. }
  686. /// <summary>Gets whether the "Di2" field is set</summary>
  687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  688. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  689. public bool HasDi2 {
  690. get { return (_hasBits0 & 4) != 0; }
  691. }
  692. /// <summary>Clears the value of the "Di2" field</summary>
  693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  694. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  695. public void ClearDi2() {
  696. _hasBits0 &= ~4;
  697. }
  698. /// <summary>Field number for the "Di3" field.</summary>
  699. public const int Di3FieldNumber = 4;
  700. private readonly static int Di3DefaultValue = 0;
  701. private int di3_;
  702. /// <summary>
  703. ///停车超1550光电(0正常,1超界故障)
  704. /// </summary>
  705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  706. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  707. public int Di3 {
  708. get { if ((_hasBits0 & 8) != 0) { return di3_; } else { return Di3DefaultValue; } }
  709. set {
  710. _hasBits0 |= 8;
  711. di3_ = value;
  712. }
  713. }
  714. /// <summary>Gets whether the "Di3" field is set</summary>
  715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  716. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  717. public bool HasDi3 {
  718. get { return (_hasBits0 & 8) != 0; }
  719. }
  720. /// <summary>Clears the value of the "Di3" field</summary>
  721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  722. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  723. public void ClearDi3() {
  724. _hasBits0 &= ~8;
  725. }
  726. /// <summary>Field number for the "Di4" field.</summary>
  727. public const int Di4FieldNumber = 5;
  728. private readonly static int Di4DefaultValue = 0;
  729. private int di4_;
  730. /// <summary>
  731. ///2050高度(0默认,1被触发)
  732. /// </summary>
  733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  734. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  735. public int Di4 {
  736. get { if ((_hasBits0 & 16) != 0) { return di4_; } else { return Di4DefaultValue; } }
  737. set {
  738. _hasBits0 |= 16;
  739. di4_ = value;
  740. }
  741. }
  742. /// <summary>Gets whether the "Di4" field is set</summary>
  743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  744. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  745. public bool HasDi4 {
  746. get { return (_hasBits0 & 16) != 0; }
  747. }
  748. /// <summary>Clears the value of the "Di4" field</summary>
  749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  750. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  751. public void ClearDi4() {
  752. _hasBits0 &= ~16;
  753. }
  754. /// <summary>Field number for the "Di5" field.</summary>
  755. public const int Di5FieldNumber = 6;
  756. private readonly static int Di5DefaultValue = 0;
  757. private int di5_;
  758. /// <summary>
  759. ///1750高度(0默认,1被触发)
  760. /// </summary>
  761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  762. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  763. public int Di5 {
  764. get { if ((_hasBits0 & 32) != 0) { return di5_; } else { return Di5DefaultValue; } }
  765. set {
  766. _hasBits0 |= 32;
  767. di5_ = value;
  768. }
  769. }
  770. /// <summary>Gets whether the "Di5" field is set</summary>
  771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  772. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  773. public bool HasDi5 {
  774. get { return (_hasBits0 & 32) != 0; }
  775. }
  776. /// <summary>Clears the value of the "Di5" field</summary>
  777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  778. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  779. public void ClearDi5() {
  780. _hasBits0 &= ~32;
  781. }
  782. /// <summary>Field number for the "Di6" field.</summary>
  783. public const int Di6FieldNumber = 7;
  784. private readonly static int Di6DefaultValue = 0;
  785. private int di6_;
  786. /// <summary>
  787. ///2050高度(0默认,1被触发)
  788. /// </summary>
  789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  790. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  791. public int Di6 {
  792. get { if ((_hasBits0 & 64) != 0) { return di6_; } else { return Di6DefaultValue; } }
  793. set {
  794. _hasBits0 |= 64;
  795. di6_ = value;
  796. }
  797. }
  798. /// <summary>Gets whether the "Di6" field is set</summary>
  799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  800. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  801. public bool HasDi6 {
  802. get { return (_hasBits0 & 64) != 0; }
  803. }
  804. /// <summary>Clears the value of the "Di6" field</summary>
  805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  806. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  807. public void ClearDi6() {
  808. _hasBits0 &= ~64;
  809. }
  810. /// <summary>Field number for the "Di7" field.</summary>
  811. public const int Di7FieldNumber = 8;
  812. private readonly static int Di7DefaultValue = 0;
  813. private int di7_;
  814. /// <summary>
  815. ///预留
  816. /// </summary>
  817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  818. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  819. public int Di7 {
  820. get { if ((_hasBits0 & 128) != 0) { return di7_; } else { return Di7DefaultValue; } }
  821. set {
  822. _hasBits0 |= 128;
  823. di7_ = value;
  824. }
  825. }
  826. /// <summary>Gets whether the "Di7" field is set</summary>
  827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  828. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  829. public bool HasDi7 {
  830. get { return (_hasBits0 & 128) != 0; }
  831. }
  832. /// <summary>Clears the value of the "Di7" field</summary>
  833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  834. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  835. public void ClearDi7() {
  836. _hasBits0 &= ~128;
  837. }
  838. /// <summary>Field number for the "Di8" field.</summary>
  839. public const int Di8FieldNumber = 9;
  840. private readonly static int Di8DefaultValue = 0;
  841. private int di8_;
  842. /// <summary>
  843. ///停车库门开到位(1表示开到位)
  844. /// </summary>
  845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  846. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  847. public int Di8 {
  848. get { if ((_hasBits0 & 256) != 0) { return di8_; } else { return Di8DefaultValue; } }
  849. set {
  850. _hasBits0 |= 256;
  851. di8_ = value;
  852. }
  853. }
  854. /// <summary>Gets whether the "Di8" field is set</summary>
  855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  856. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  857. public bool HasDi8 {
  858. get { return (_hasBits0 & 256) != 0; }
  859. }
  860. /// <summary>Clears the value of the "Di8" field</summary>
  861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  862. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  863. public void ClearDi8() {
  864. _hasBits0 &= ~256;
  865. }
  866. /// <summary>Field number for the "Di9" field.</summary>
  867. public const int Di9FieldNumber = 10;
  868. private readonly static int Di9DefaultValue = 0;
  869. private int di9_;
  870. /// <summary>
  871. ///停车库门关到位(1表示关到位)
  872. /// </summary>
  873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  874. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  875. public int Di9 {
  876. get { if ((_hasBits0 & 512) != 0) { return di9_; } else { return Di9DefaultValue; } }
  877. set {
  878. _hasBits0 |= 512;
  879. di9_ = value;
  880. }
  881. }
  882. /// <summary>Gets whether the "Di9" field is set</summary>
  883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  884. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  885. public bool HasDi9 {
  886. get { return (_hasBits0 & 512) != 0; }
  887. }
  888. /// <summary>Clears the value of the "Di9" field</summary>
  889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  890. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  891. public void ClearDi9() {
  892. _hasBits0 &= ~512;
  893. }
  894. /// <summary>Field number for the "Di10" field.</summary>
  895. public const int Di10FieldNumber = 11;
  896. private readonly static int Di10DefaultValue = 0;
  897. private int di10_;
  898. /// <summary>
  899. ///预留的门故障位(1表示门故障)
  900. /// </summary>
  901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  902. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  903. public int Di10 {
  904. get { if ((_hasBits0 & 1024) != 0) { return di10_; } else { return Di10DefaultValue; } }
  905. set {
  906. _hasBits0 |= 1024;
  907. di10_ = value;
  908. }
  909. }
  910. /// <summary>Gets whether the "Di10" field is set</summary>
  911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  912. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  913. public bool HasDi10 {
  914. get { return (_hasBits0 & 1024) != 0; }
  915. }
  916. /// <summary>Clears the value of the "Di10" field</summary>
  917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  918. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  919. public void ClearDi10() {
  920. _hasBits0 &= ~1024;
  921. }
  922. /// <summary>Field number for the "Di11" field.</summary>
  923. public const int Di11FieldNumber = 12;
  924. private readonly static int Di11DefaultValue = 0;
  925. private int di11_;
  926. /// <summary>
  927. ///调度完成标志位,是否允许终端放下一辆车进入入口(0调度正忙,1调度允许下一辆车)
  928. /// </summary>
  929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  930. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  931. public int Di11 {
  932. get { if ((_hasBits0 & 2048) != 0) { return di11_; } else { return Di11DefaultValue; } }
  933. set {
  934. _hasBits0 |= 2048;
  935. di11_ = value;
  936. }
  937. }
  938. /// <summary>Gets whether the "Di11" field is set</summary>
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  940. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  941. public bool HasDi11 {
  942. get { return (_hasBits0 & 2048) != 0; }
  943. }
  944. /// <summary>Clears the value of the "Di11" field</summary>
  945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  946. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  947. public void ClearDi11() {
  948. _hasBits0 &= ~2048;
  949. }
  950. /// <summary>Field number for the "Di12" field.</summary>
  951. public const int Di12FieldNumber = 13;
  952. private readonly static int Di12DefaultValue = 0;
  953. private int di12_;
  954. /// <summary>
  955. ///库内光电,判断门内是否有车(0无车,1有车)
  956. /// </summary>
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  958. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  959. public int Di12 {
  960. get { if ((_hasBits0 & 4096) != 0) { return di12_; } else { return Di12DefaultValue; } }
  961. set {
  962. _hasBits0 |= 4096;
  963. di12_ = value;
  964. }
  965. }
  966. /// <summary>Gets whether the "Di12" field is set</summary>
  967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  968. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  969. public bool HasDi12 {
  970. get { return (_hasBits0 & 4096) != 0; }
  971. }
  972. /// <summary>Clears the value of the "Di12" field</summary>
  973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  974. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  975. public void ClearDi12() {
  976. _hasBits0 &= ~4096;
  977. }
  978. /// <summary>Field number for the "Di13" field.</summary>
  979. public const int Di13FieldNumber = 14;
  980. private readonly static int Di13DefaultValue = 0;
  981. private int di13_;
  982. /// <summary>
  983. ///库外地磁 ,判断门外(0无车,1有车)
  984. /// </summary>
  985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  986. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  987. public int Di13 {
  988. get { if ((_hasBits0 & 8192) != 0) { return di13_; } else { return Di13DefaultValue; } }
  989. set {
  990. _hasBits0 |= 8192;
  991. di13_ = value;
  992. }
  993. }
  994. /// <summary>Gets whether the "Di13" field is set</summary>
  995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  996. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  997. public bool HasDi13 {
  998. get { return (_hasBits0 & 8192) != 0; }
  999. }
  1000. /// <summary>Clears the value of the "Di13" field</summary>
  1001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1002. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1003. public void ClearDi13() {
  1004. _hasBits0 &= ~8192;
  1005. }
  1006. /// <summary>Field number for the "Di14" field.</summary>
  1007. public const int Di14FieldNumber = 15;
  1008. private readonly static int Di14DefaultValue = 0;
  1009. private int di14_;
  1010. /// <summary>
  1011. ///重启
  1012. /// </summary>
  1013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1014. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1015. public int Di14 {
  1016. get { if ((_hasBits0 & 16384) != 0) { return di14_; } else { return Di14DefaultValue; } }
  1017. set {
  1018. _hasBits0 |= 16384;
  1019. di14_ = value;
  1020. }
  1021. }
  1022. /// <summary>Gets whether the "Di14" field is set</summary>
  1023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1024. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1025. public bool HasDi14 {
  1026. get { return (_hasBits0 & 16384) != 0; }
  1027. }
  1028. /// <summary>Clears the value of the "Di14" field</summary>
  1029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1030. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1031. public void ClearDi14() {
  1032. _hasBits0 &= ~16384;
  1033. }
  1034. /// <summary>Field number for the "Di15" field.</summary>
  1035. public const int Di15FieldNumber = 16;
  1036. private readonly static int Di15DefaultValue = 0;
  1037. private int di15_;
  1038. /// <summary>
  1039. ///急停
  1040. /// </summary>
  1041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1042. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1043. public int Di15 {
  1044. get { if ((_hasBits0 & 32768) != 0) { return di15_; } else { return Di15DefaultValue; } }
  1045. set {
  1046. _hasBits0 |= 32768;
  1047. di15_ = value;
  1048. }
  1049. }
  1050. /// <summary>Gets whether the "Di15" field is set</summary>
  1051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1052. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1053. public bool HasDi15 {
  1054. get { return (_hasBits0 & 32768) != 0; }
  1055. }
  1056. /// <summary>Clears the value of the "Di15" field</summary>
  1057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1058. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1059. public void ClearDi15() {
  1060. _hasBits0 &= ~32768;
  1061. }
  1062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1063. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1064. public override bool Equals(object other) {
  1065. return Equals(other as InputDi);
  1066. }
  1067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1068. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1069. public bool Equals(InputDi other) {
  1070. if (ReferenceEquals(other, null)) {
  1071. return false;
  1072. }
  1073. if (ReferenceEquals(other, this)) {
  1074. return true;
  1075. }
  1076. if (Di0 != other.Di0) return false;
  1077. if (Di1 != other.Di1) return false;
  1078. if (Di2 != other.Di2) return false;
  1079. if (Di3 != other.Di3) return false;
  1080. if (Di4 != other.Di4) return false;
  1081. if (Di5 != other.Di5) return false;
  1082. if (Di6 != other.Di6) return false;
  1083. if (Di7 != other.Di7) return false;
  1084. if (Di8 != other.Di8) return false;
  1085. if (Di9 != other.Di9) return false;
  1086. if (Di10 != other.Di10) return false;
  1087. if (Di11 != other.Di11) return false;
  1088. if (Di12 != other.Di12) return false;
  1089. if (Di13 != other.Di13) return false;
  1090. if (Di14 != other.Di14) return false;
  1091. if (Di15 != other.Di15) return false;
  1092. return Equals(_unknownFields, other._unknownFields);
  1093. }
  1094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1095. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1096. public override int GetHashCode() {
  1097. int hash = 1;
  1098. if (HasDi0) hash ^= Di0.GetHashCode();
  1099. if (HasDi1) hash ^= Di1.GetHashCode();
  1100. if (HasDi2) hash ^= Di2.GetHashCode();
  1101. if (HasDi3) hash ^= Di3.GetHashCode();
  1102. if (HasDi4) hash ^= Di4.GetHashCode();
  1103. if (HasDi5) hash ^= Di5.GetHashCode();
  1104. if (HasDi6) hash ^= Di6.GetHashCode();
  1105. if (HasDi7) hash ^= Di7.GetHashCode();
  1106. if (HasDi8) hash ^= Di8.GetHashCode();
  1107. if (HasDi9) hash ^= Di9.GetHashCode();
  1108. if (HasDi10) hash ^= Di10.GetHashCode();
  1109. if (HasDi11) hash ^= Di11.GetHashCode();
  1110. if (HasDi12) hash ^= Di12.GetHashCode();
  1111. if (HasDi13) hash ^= Di13.GetHashCode();
  1112. if (HasDi14) hash ^= Di14.GetHashCode();
  1113. if (HasDi15) hash ^= Di15.GetHashCode();
  1114. if (_unknownFields != null) {
  1115. hash ^= _unknownFields.GetHashCode();
  1116. }
  1117. return hash;
  1118. }
  1119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1120. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1121. public override string ToString() {
  1122. return pb::JsonFormatter.ToDiagnosticString(this);
  1123. }
  1124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1125. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1126. public void WriteTo(pb::CodedOutputStream output) {
  1127. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1128. output.WriteRawMessage(this);
  1129. #else
  1130. if (HasDi0) {
  1131. output.WriteRawTag(8);
  1132. output.WriteInt32(Di0);
  1133. }
  1134. if (HasDi1) {
  1135. output.WriteRawTag(16);
  1136. output.WriteInt32(Di1);
  1137. }
  1138. if (HasDi2) {
  1139. output.WriteRawTag(24);
  1140. output.WriteInt32(Di2);
  1141. }
  1142. if (HasDi3) {
  1143. output.WriteRawTag(32);
  1144. output.WriteInt32(Di3);
  1145. }
  1146. if (HasDi4) {
  1147. output.WriteRawTag(40);
  1148. output.WriteInt32(Di4);
  1149. }
  1150. if (HasDi5) {
  1151. output.WriteRawTag(48);
  1152. output.WriteInt32(Di5);
  1153. }
  1154. if (HasDi6) {
  1155. output.WriteRawTag(56);
  1156. output.WriteInt32(Di6);
  1157. }
  1158. if (HasDi7) {
  1159. output.WriteRawTag(64);
  1160. output.WriteInt32(Di7);
  1161. }
  1162. if (HasDi8) {
  1163. output.WriteRawTag(72);
  1164. output.WriteInt32(Di8);
  1165. }
  1166. if (HasDi9) {
  1167. output.WriteRawTag(80);
  1168. output.WriteInt32(Di9);
  1169. }
  1170. if (HasDi10) {
  1171. output.WriteRawTag(88);
  1172. output.WriteInt32(Di10);
  1173. }
  1174. if (HasDi11) {
  1175. output.WriteRawTag(96);
  1176. output.WriteInt32(Di11);
  1177. }
  1178. if (HasDi12) {
  1179. output.WriteRawTag(104);
  1180. output.WriteInt32(Di12);
  1181. }
  1182. if (HasDi13) {
  1183. output.WriteRawTag(112);
  1184. output.WriteInt32(Di13);
  1185. }
  1186. if (HasDi14) {
  1187. output.WriteRawTag(120);
  1188. output.WriteInt32(Di14);
  1189. }
  1190. if (HasDi15) {
  1191. output.WriteRawTag(128, 1);
  1192. output.WriteInt32(Di15);
  1193. }
  1194. if (_unknownFields != null) {
  1195. _unknownFields.WriteTo(output);
  1196. }
  1197. #endif
  1198. }
  1199. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1201. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1202. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1203. if (HasDi0) {
  1204. output.WriteRawTag(8);
  1205. output.WriteInt32(Di0);
  1206. }
  1207. if (HasDi1) {
  1208. output.WriteRawTag(16);
  1209. output.WriteInt32(Di1);
  1210. }
  1211. if (HasDi2) {
  1212. output.WriteRawTag(24);
  1213. output.WriteInt32(Di2);
  1214. }
  1215. if (HasDi3) {
  1216. output.WriteRawTag(32);
  1217. output.WriteInt32(Di3);
  1218. }
  1219. if (HasDi4) {
  1220. output.WriteRawTag(40);
  1221. output.WriteInt32(Di4);
  1222. }
  1223. if (HasDi5) {
  1224. output.WriteRawTag(48);
  1225. output.WriteInt32(Di5);
  1226. }
  1227. if (HasDi6) {
  1228. output.WriteRawTag(56);
  1229. output.WriteInt32(Di6);
  1230. }
  1231. if (HasDi7) {
  1232. output.WriteRawTag(64);
  1233. output.WriteInt32(Di7);
  1234. }
  1235. if (HasDi8) {
  1236. output.WriteRawTag(72);
  1237. output.WriteInt32(Di8);
  1238. }
  1239. if (HasDi9) {
  1240. output.WriteRawTag(80);
  1241. output.WriteInt32(Di9);
  1242. }
  1243. if (HasDi10) {
  1244. output.WriteRawTag(88);
  1245. output.WriteInt32(Di10);
  1246. }
  1247. if (HasDi11) {
  1248. output.WriteRawTag(96);
  1249. output.WriteInt32(Di11);
  1250. }
  1251. if (HasDi12) {
  1252. output.WriteRawTag(104);
  1253. output.WriteInt32(Di12);
  1254. }
  1255. if (HasDi13) {
  1256. output.WriteRawTag(112);
  1257. output.WriteInt32(Di13);
  1258. }
  1259. if (HasDi14) {
  1260. output.WriteRawTag(120);
  1261. output.WriteInt32(Di14);
  1262. }
  1263. if (HasDi15) {
  1264. output.WriteRawTag(128, 1);
  1265. output.WriteInt32(Di15);
  1266. }
  1267. if (_unknownFields != null) {
  1268. _unknownFields.WriteTo(ref output);
  1269. }
  1270. }
  1271. #endif
  1272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1273. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1274. public int CalculateSize() {
  1275. int size = 0;
  1276. if (HasDi0) {
  1277. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di0);
  1278. }
  1279. if (HasDi1) {
  1280. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di1);
  1281. }
  1282. if (HasDi2) {
  1283. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di2);
  1284. }
  1285. if (HasDi3) {
  1286. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di3);
  1287. }
  1288. if (HasDi4) {
  1289. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di4);
  1290. }
  1291. if (HasDi5) {
  1292. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di5);
  1293. }
  1294. if (HasDi6) {
  1295. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di6);
  1296. }
  1297. if (HasDi7) {
  1298. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di7);
  1299. }
  1300. if (HasDi8) {
  1301. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di8);
  1302. }
  1303. if (HasDi9) {
  1304. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di9);
  1305. }
  1306. if (HasDi10) {
  1307. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di10);
  1308. }
  1309. if (HasDi11) {
  1310. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di11);
  1311. }
  1312. if (HasDi12) {
  1313. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di12);
  1314. }
  1315. if (HasDi13) {
  1316. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di13);
  1317. }
  1318. if (HasDi14) {
  1319. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Di14);
  1320. }
  1321. if (HasDi15) {
  1322. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Di15);
  1323. }
  1324. if (_unknownFields != null) {
  1325. size += _unknownFields.CalculateSize();
  1326. }
  1327. return size;
  1328. }
  1329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1330. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1331. public void MergeFrom(InputDi other) {
  1332. if (other == null) {
  1333. return;
  1334. }
  1335. if (other.HasDi0) {
  1336. Di0 = other.Di0;
  1337. }
  1338. if (other.HasDi1) {
  1339. Di1 = other.Di1;
  1340. }
  1341. if (other.HasDi2) {
  1342. Di2 = other.Di2;
  1343. }
  1344. if (other.HasDi3) {
  1345. Di3 = other.Di3;
  1346. }
  1347. if (other.HasDi4) {
  1348. Di4 = other.Di4;
  1349. }
  1350. if (other.HasDi5) {
  1351. Di5 = other.Di5;
  1352. }
  1353. if (other.HasDi6) {
  1354. Di6 = other.Di6;
  1355. }
  1356. if (other.HasDi7) {
  1357. Di7 = other.Di7;
  1358. }
  1359. if (other.HasDi8) {
  1360. Di8 = other.Di8;
  1361. }
  1362. if (other.HasDi9) {
  1363. Di9 = other.Di9;
  1364. }
  1365. if (other.HasDi10) {
  1366. Di10 = other.Di10;
  1367. }
  1368. if (other.HasDi11) {
  1369. Di11 = other.Di11;
  1370. }
  1371. if (other.HasDi12) {
  1372. Di12 = other.Di12;
  1373. }
  1374. if (other.HasDi13) {
  1375. Di13 = other.Di13;
  1376. }
  1377. if (other.HasDi14) {
  1378. Di14 = other.Di14;
  1379. }
  1380. if (other.HasDi15) {
  1381. Di15 = other.Di15;
  1382. }
  1383. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1384. }
  1385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1386. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1387. public void MergeFrom(pb::CodedInputStream input) {
  1388. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1389. input.ReadRawMessage(this);
  1390. #else
  1391. uint tag;
  1392. while ((tag = input.ReadTag()) != 0) {
  1393. switch(tag) {
  1394. default:
  1395. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1396. break;
  1397. case 8: {
  1398. Di0 = input.ReadInt32();
  1399. break;
  1400. }
  1401. case 16: {
  1402. Di1 = input.ReadInt32();
  1403. break;
  1404. }
  1405. case 24: {
  1406. Di2 = input.ReadInt32();
  1407. break;
  1408. }
  1409. case 32: {
  1410. Di3 = input.ReadInt32();
  1411. break;
  1412. }
  1413. case 40: {
  1414. Di4 = input.ReadInt32();
  1415. break;
  1416. }
  1417. case 48: {
  1418. Di5 = input.ReadInt32();
  1419. break;
  1420. }
  1421. case 56: {
  1422. Di6 = input.ReadInt32();
  1423. break;
  1424. }
  1425. case 64: {
  1426. Di7 = input.ReadInt32();
  1427. break;
  1428. }
  1429. case 72: {
  1430. Di8 = input.ReadInt32();
  1431. break;
  1432. }
  1433. case 80: {
  1434. Di9 = input.ReadInt32();
  1435. break;
  1436. }
  1437. case 88: {
  1438. Di10 = input.ReadInt32();
  1439. break;
  1440. }
  1441. case 96: {
  1442. Di11 = input.ReadInt32();
  1443. break;
  1444. }
  1445. case 104: {
  1446. Di12 = input.ReadInt32();
  1447. break;
  1448. }
  1449. case 112: {
  1450. Di13 = input.ReadInt32();
  1451. break;
  1452. }
  1453. case 120: {
  1454. Di14 = input.ReadInt32();
  1455. break;
  1456. }
  1457. case 128: {
  1458. Di15 = input.ReadInt32();
  1459. break;
  1460. }
  1461. }
  1462. }
  1463. #endif
  1464. }
  1465. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1467. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1468. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1469. uint tag;
  1470. while ((tag = input.ReadTag()) != 0) {
  1471. switch(tag) {
  1472. default:
  1473. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1474. break;
  1475. case 8: {
  1476. Di0 = input.ReadInt32();
  1477. break;
  1478. }
  1479. case 16: {
  1480. Di1 = input.ReadInt32();
  1481. break;
  1482. }
  1483. case 24: {
  1484. Di2 = input.ReadInt32();
  1485. break;
  1486. }
  1487. case 32: {
  1488. Di3 = input.ReadInt32();
  1489. break;
  1490. }
  1491. case 40: {
  1492. Di4 = input.ReadInt32();
  1493. break;
  1494. }
  1495. case 48: {
  1496. Di5 = input.ReadInt32();
  1497. break;
  1498. }
  1499. case 56: {
  1500. Di6 = input.ReadInt32();
  1501. break;
  1502. }
  1503. case 64: {
  1504. Di7 = input.ReadInt32();
  1505. break;
  1506. }
  1507. case 72: {
  1508. Di8 = input.ReadInt32();
  1509. break;
  1510. }
  1511. case 80: {
  1512. Di9 = input.ReadInt32();
  1513. break;
  1514. }
  1515. case 88: {
  1516. Di10 = input.ReadInt32();
  1517. break;
  1518. }
  1519. case 96: {
  1520. Di11 = input.ReadInt32();
  1521. break;
  1522. }
  1523. case 104: {
  1524. Di12 = input.ReadInt32();
  1525. break;
  1526. }
  1527. case 112: {
  1528. Di13 = input.ReadInt32();
  1529. break;
  1530. }
  1531. case 120: {
  1532. Di14 = input.ReadInt32();
  1533. break;
  1534. }
  1535. case 128: {
  1536. Di15 = input.ReadInt32();
  1537. break;
  1538. }
  1539. }
  1540. }
  1541. }
  1542. #endif
  1543. }
  1544. /// <summary>
  1545. ///连接口
  1546. /// </summary>
  1547. public sealed partial class OutputDo : pb::IMessage<OutputDo>
  1548. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1549. , pb::IBufferMessage
  1550. #endif
  1551. {
  1552. private static readonly pb::MessageParser<OutputDo> _parser = new pb::MessageParser<OutputDo>(() => new OutputDo());
  1553. private pb::UnknownFieldSet _unknownFields;
  1554. private int _hasBits0;
  1555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1556. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1557. public static pb::MessageParser<OutputDo> Parser { get { return _parser; } }
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1559. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1560. public static pbr::MessageDescriptor Descriptor {
  1561. get { return global::Message.SinglechipMsgReflection.Descriptor.MessageTypes[1]; }
  1562. }
  1563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1564. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1565. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1566. get { return Descriptor; }
  1567. }
  1568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1569. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1570. public OutputDo() {
  1571. OnConstruction();
  1572. }
  1573. partial void OnConstruction();
  1574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1575. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1576. public OutputDo(OutputDo other) : this() {
  1577. _hasBits0 = other._hasBits0;
  1578. do0_ = other.do0_;
  1579. do1_ = other.do1_;
  1580. do2_ = other.do2_;
  1581. do3_ = other.do3_;
  1582. do4_ = other.do4_;
  1583. do5_ = other.do5_;
  1584. do6_ = other.do6_;
  1585. do7_ = other.do7_;
  1586. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1587. }
  1588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1589. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1590. public OutputDo Clone() {
  1591. return new OutputDo(this);
  1592. }
  1593. /// <summary>Field number for the "Do0" field.</summary>
  1594. public const int Do0FieldNumber = 1;
  1595. private readonly static int Do0DefaultValue = 0;
  1596. private int do0_;
  1597. /// <summary>
  1598. ///外门 开门(1)
  1599. /// </summary>
  1600. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1601. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1602. public int Do0 {
  1603. get { if ((_hasBits0 & 1) != 0) { return do0_; } else { return Do0DefaultValue; } }
  1604. set {
  1605. _hasBits0 |= 1;
  1606. do0_ = value;
  1607. }
  1608. }
  1609. /// <summary>Gets whether the "Do0" field is set</summary>
  1610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1611. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1612. public bool HasDo0 {
  1613. get { return (_hasBits0 & 1) != 0; }
  1614. }
  1615. /// <summary>Clears the value of the "Do0" field</summary>
  1616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1617. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1618. public void ClearDo0() {
  1619. _hasBits0 &= ~1;
  1620. }
  1621. /// <summary>Field number for the "Do1" field.</summary>
  1622. public const int Do1FieldNumber = 2;
  1623. private readonly static int Do1DefaultValue = 0;
  1624. private int do1_;
  1625. /// <summary>
  1626. ///外门 关门(1)
  1627. /// </summary>
  1628. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1629. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1630. public int Do1 {
  1631. get { if ((_hasBits0 & 2) != 0) { return do1_; } else { return Do1DefaultValue; } }
  1632. set {
  1633. _hasBits0 |= 2;
  1634. do1_ = value;
  1635. }
  1636. }
  1637. /// <summary>Gets whether the "Do1" field is set</summary>
  1638. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1639. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1640. public bool HasDo1 {
  1641. get { return (_hasBits0 & 2) != 0; }
  1642. }
  1643. /// <summary>Clears the value of the "Do1" field</summary>
  1644. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1645. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1646. public void ClearDo1() {
  1647. _hasBits0 &= ~2;
  1648. }
  1649. /// <summary>Field number for the "Do2" field.</summary>
  1650. public const int Do2FieldNumber = 3;
  1651. private readonly static int Do2DefaultValue = 0;
  1652. private int do2_;
  1653. /// <summary>
  1654. ///备用
  1655. /// </summary>
  1656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1657. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1658. public int Do2 {
  1659. get { if ((_hasBits0 & 4) != 0) { return do2_; } else { return Do2DefaultValue; } }
  1660. set {
  1661. _hasBits0 |= 4;
  1662. do2_ = value;
  1663. }
  1664. }
  1665. /// <summary>Gets whether the "Do2" field is set</summary>
  1666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1667. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1668. public bool HasDo2 {
  1669. get { return (_hasBits0 & 4) != 0; }
  1670. }
  1671. /// <summary>Clears the value of the "Do2" field</summary>
  1672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1673. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1674. public void ClearDo2() {
  1675. _hasBits0 &= ~4;
  1676. }
  1677. /// <summary>Field number for the "Do3" field.</summary>
  1678. public const int Do3FieldNumber = 4;
  1679. private readonly static int Do3DefaultValue = 0;
  1680. private int do3_;
  1681. /// <summary>
  1682. ///备用
  1683. /// </summary>
  1684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1685. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1686. public int Do3 {
  1687. get { if ((_hasBits0 & 8) != 0) { return do3_; } else { return Do3DefaultValue; } }
  1688. set {
  1689. _hasBits0 |= 8;
  1690. do3_ = value;
  1691. }
  1692. }
  1693. /// <summary>Gets whether the "Do3" field is set</summary>
  1694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1695. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1696. public bool HasDo3 {
  1697. get { return (_hasBits0 & 8) != 0; }
  1698. }
  1699. /// <summary>Clears the value of the "Do3" field</summary>
  1700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1701. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1702. public void ClearDo3() {
  1703. _hasBits0 &= ~8;
  1704. }
  1705. /// <summary>Field number for the "Do4" field.</summary>
  1706. public const int Do4FieldNumber = 5;
  1707. private readonly static int Do4DefaultValue = 0;
  1708. private int do4_;
  1709. /// <summary>
  1710. ///备用
  1711. /// </summary>
  1712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1713. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1714. public int Do4 {
  1715. get { if ((_hasBits0 & 16) != 0) { return do4_; } else { return Do4DefaultValue; } }
  1716. set {
  1717. _hasBits0 |= 16;
  1718. do4_ = value;
  1719. }
  1720. }
  1721. /// <summary>Gets whether the "Do4" field is set</summary>
  1722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1723. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1724. public bool HasDo4 {
  1725. get { return (_hasBits0 & 16) != 0; }
  1726. }
  1727. /// <summary>Clears the value of the "Do4" field</summary>
  1728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1729. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1730. public void ClearDo4() {
  1731. _hasBits0 &= ~16;
  1732. }
  1733. /// <summary>Field number for the "Do5" field.</summary>
  1734. public const int Do5FieldNumber = 6;
  1735. private readonly static int Do5DefaultValue = 0;
  1736. private int do5_;
  1737. /// <summary>
  1738. ///备用
  1739. /// </summary>
  1740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1741. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1742. public int Do5 {
  1743. get { if ((_hasBits0 & 32) != 0) { return do5_; } else { return Do5DefaultValue; } }
  1744. set {
  1745. _hasBits0 |= 32;
  1746. do5_ = value;
  1747. }
  1748. }
  1749. /// <summary>Gets whether the "Do5" field is set</summary>
  1750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1751. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1752. public bool HasDo5 {
  1753. get { return (_hasBits0 & 32) != 0; }
  1754. }
  1755. /// <summary>Clears the value of the "Do5" field</summary>
  1756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1757. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1758. public void ClearDo5() {
  1759. _hasBits0 &= ~32;
  1760. }
  1761. /// <summary>Field number for the "Do6" field.</summary>
  1762. public const int Do6FieldNumber = 7;
  1763. private readonly static int Do6DefaultValue = 0;
  1764. private int do6_;
  1765. /// <summary>
  1766. ///备用
  1767. /// </summary>
  1768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1769. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1770. public int Do6 {
  1771. get { if ((_hasBits0 & 64) != 0) { return do6_; } else { return Do6DefaultValue; } }
  1772. set {
  1773. _hasBits0 |= 64;
  1774. do6_ = value;
  1775. }
  1776. }
  1777. /// <summary>Gets whether the "Do6" field is set</summary>
  1778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1779. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1780. public bool HasDo6 {
  1781. get { return (_hasBits0 & 64) != 0; }
  1782. }
  1783. /// <summary>Clears the value of the "Do6" field</summary>
  1784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1785. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1786. public void ClearDo6() {
  1787. _hasBits0 &= ~64;
  1788. }
  1789. /// <summary>Field number for the "Do7" field.</summary>
  1790. public const int Do7FieldNumber = 8;
  1791. private readonly static int Do7DefaultValue = 0;
  1792. private int do7_;
  1793. /// <summary>
  1794. ///备用
  1795. /// </summary>
  1796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1797. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1798. public int Do7 {
  1799. get { if ((_hasBits0 & 128) != 0) { return do7_; } else { return Do7DefaultValue; } }
  1800. set {
  1801. _hasBits0 |= 128;
  1802. do7_ = value;
  1803. }
  1804. }
  1805. /// <summary>Gets whether the "Do7" field is set</summary>
  1806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1807. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1808. public bool HasDo7 {
  1809. get { return (_hasBits0 & 128) != 0; }
  1810. }
  1811. /// <summary>Clears the value of the "Do7" field</summary>
  1812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1813. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1814. public void ClearDo7() {
  1815. _hasBits0 &= ~128;
  1816. }
  1817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1818. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1819. public override bool Equals(object other) {
  1820. return Equals(other as OutputDo);
  1821. }
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1823. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1824. public bool Equals(OutputDo other) {
  1825. if (ReferenceEquals(other, null)) {
  1826. return false;
  1827. }
  1828. if (ReferenceEquals(other, this)) {
  1829. return true;
  1830. }
  1831. if (Do0 != other.Do0) return false;
  1832. if (Do1 != other.Do1) return false;
  1833. if (Do2 != other.Do2) return false;
  1834. if (Do3 != other.Do3) return false;
  1835. if (Do4 != other.Do4) return false;
  1836. if (Do5 != other.Do5) return false;
  1837. if (Do6 != other.Do6) return false;
  1838. if (Do7 != other.Do7) return false;
  1839. return Equals(_unknownFields, other._unknownFields);
  1840. }
  1841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1842. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1843. public override int GetHashCode() {
  1844. int hash = 1;
  1845. if (HasDo0) hash ^= Do0.GetHashCode();
  1846. if (HasDo1) hash ^= Do1.GetHashCode();
  1847. if (HasDo2) hash ^= Do2.GetHashCode();
  1848. if (HasDo3) hash ^= Do3.GetHashCode();
  1849. if (HasDo4) hash ^= Do4.GetHashCode();
  1850. if (HasDo5) hash ^= Do5.GetHashCode();
  1851. if (HasDo6) hash ^= Do6.GetHashCode();
  1852. if (HasDo7) hash ^= Do7.GetHashCode();
  1853. if (_unknownFields != null) {
  1854. hash ^= _unknownFields.GetHashCode();
  1855. }
  1856. return hash;
  1857. }
  1858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1859. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1860. public override string ToString() {
  1861. return pb::JsonFormatter.ToDiagnosticString(this);
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1864. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1865. public void WriteTo(pb::CodedOutputStream output) {
  1866. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1867. output.WriteRawMessage(this);
  1868. #else
  1869. if (HasDo0) {
  1870. output.WriteRawTag(8);
  1871. output.WriteInt32(Do0);
  1872. }
  1873. if (HasDo1) {
  1874. output.WriteRawTag(16);
  1875. output.WriteInt32(Do1);
  1876. }
  1877. if (HasDo2) {
  1878. output.WriteRawTag(24);
  1879. output.WriteInt32(Do2);
  1880. }
  1881. if (HasDo3) {
  1882. output.WriteRawTag(32);
  1883. output.WriteInt32(Do3);
  1884. }
  1885. if (HasDo4) {
  1886. output.WriteRawTag(40);
  1887. output.WriteInt32(Do4);
  1888. }
  1889. if (HasDo5) {
  1890. output.WriteRawTag(48);
  1891. output.WriteInt32(Do5);
  1892. }
  1893. if (HasDo6) {
  1894. output.WriteRawTag(56);
  1895. output.WriteInt32(Do6);
  1896. }
  1897. if (HasDo7) {
  1898. output.WriteRawTag(64);
  1899. output.WriteInt32(Do7);
  1900. }
  1901. if (_unknownFields != null) {
  1902. _unknownFields.WriteTo(output);
  1903. }
  1904. #endif
  1905. }
  1906. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1908. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1909. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1910. if (HasDo0) {
  1911. output.WriteRawTag(8);
  1912. output.WriteInt32(Do0);
  1913. }
  1914. if (HasDo1) {
  1915. output.WriteRawTag(16);
  1916. output.WriteInt32(Do1);
  1917. }
  1918. if (HasDo2) {
  1919. output.WriteRawTag(24);
  1920. output.WriteInt32(Do2);
  1921. }
  1922. if (HasDo3) {
  1923. output.WriteRawTag(32);
  1924. output.WriteInt32(Do3);
  1925. }
  1926. if (HasDo4) {
  1927. output.WriteRawTag(40);
  1928. output.WriteInt32(Do4);
  1929. }
  1930. if (HasDo5) {
  1931. output.WriteRawTag(48);
  1932. output.WriteInt32(Do5);
  1933. }
  1934. if (HasDo6) {
  1935. output.WriteRawTag(56);
  1936. output.WriteInt32(Do6);
  1937. }
  1938. if (HasDo7) {
  1939. output.WriteRawTag(64);
  1940. output.WriteInt32(Do7);
  1941. }
  1942. if (_unknownFields != null) {
  1943. _unknownFields.WriteTo(ref output);
  1944. }
  1945. }
  1946. #endif
  1947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1948. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1949. public int CalculateSize() {
  1950. int size = 0;
  1951. if (HasDo0) {
  1952. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do0);
  1953. }
  1954. if (HasDo1) {
  1955. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do1);
  1956. }
  1957. if (HasDo2) {
  1958. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do2);
  1959. }
  1960. if (HasDo3) {
  1961. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do3);
  1962. }
  1963. if (HasDo4) {
  1964. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do4);
  1965. }
  1966. if (HasDo5) {
  1967. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do5);
  1968. }
  1969. if (HasDo6) {
  1970. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do6);
  1971. }
  1972. if (HasDo7) {
  1973. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Do7);
  1974. }
  1975. if (_unknownFields != null) {
  1976. size += _unknownFields.CalculateSize();
  1977. }
  1978. return size;
  1979. }
  1980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1981. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  1982. public void MergeFrom(OutputDo other) {
  1983. if (other == null) {
  1984. return;
  1985. }
  1986. if (other.HasDo0) {
  1987. Do0 = other.Do0;
  1988. }
  1989. if (other.HasDo1) {
  1990. Do1 = other.Do1;
  1991. }
  1992. if (other.HasDo2) {
  1993. Do2 = other.Do2;
  1994. }
  1995. if (other.HasDo3) {
  1996. Do3 = other.Do3;
  1997. }
  1998. if (other.HasDo4) {
  1999. Do4 = other.Do4;
  2000. }
  2001. if (other.HasDo5) {
  2002. Do5 = other.Do5;
  2003. }
  2004. if (other.HasDo6) {
  2005. Do6 = other.Do6;
  2006. }
  2007. if (other.HasDo7) {
  2008. Do7 = other.Do7;
  2009. }
  2010. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2011. }
  2012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2013. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2014. public void MergeFrom(pb::CodedInputStream input) {
  2015. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2016. input.ReadRawMessage(this);
  2017. #else
  2018. uint tag;
  2019. while ((tag = input.ReadTag()) != 0) {
  2020. switch(tag) {
  2021. default:
  2022. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2023. break;
  2024. case 8: {
  2025. Do0 = input.ReadInt32();
  2026. break;
  2027. }
  2028. case 16: {
  2029. Do1 = input.ReadInt32();
  2030. break;
  2031. }
  2032. case 24: {
  2033. Do2 = input.ReadInt32();
  2034. break;
  2035. }
  2036. case 32: {
  2037. Do3 = input.ReadInt32();
  2038. break;
  2039. }
  2040. case 40: {
  2041. Do4 = input.ReadInt32();
  2042. break;
  2043. }
  2044. case 48: {
  2045. Do5 = input.ReadInt32();
  2046. break;
  2047. }
  2048. case 56: {
  2049. Do6 = input.ReadInt32();
  2050. break;
  2051. }
  2052. case 64: {
  2053. Do7 = input.ReadInt32();
  2054. break;
  2055. }
  2056. }
  2057. }
  2058. #endif
  2059. }
  2060. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2062. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2063. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2064. uint tag;
  2065. while ((tag = input.ReadTag()) != 0) {
  2066. switch(tag) {
  2067. default:
  2068. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2069. break;
  2070. case 8: {
  2071. Do0 = input.ReadInt32();
  2072. break;
  2073. }
  2074. case 16: {
  2075. Do1 = input.ReadInt32();
  2076. break;
  2077. }
  2078. case 24: {
  2079. Do2 = input.ReadInt32();
  2080. break;
  2081. }
  2082. case 32: {
  2083. Do3 = input.ReadInt32();
  2084. break;
  2085. }
  2086. case 40: {
  2087. Do4 = input.ReadInt32();
  2088. break;
  2089. }
  2090. case 48: {
  2091. Do5 = input.ReadInt32();
  2092. break;
  2093. }
  2094. case 56: {
  2095. Do6 = input.ReadInt32();
  2096. break;
  2097. }
  2098. case 64: {
  2099. Do7 = input.ReadInt32();
  2100. break;
  2101. }
  2102. }
  2103. }
  2104. }
  2105. #endif
  2106. }
  2107. /// <summary>
  2108. ///终端给单片机
  2109. /// </summary>
  2110. public sealed partial class terminal_msg : pb::IMessage<terminal_msg>
  2111. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2112. , pb::IBufferMessage
  2113. #endif
  2114. {
  2115. private static readonly pb::MessageParser<terminal_msg> _parser = new pb::MessageParser<terminal_msg>(() => new terminal_msg());
  2116. private pb::UnknownFieldSet _unknownFields;
  2117. private int _hasBits0;
  2118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2119. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2120. public static pb::MessageParser<terminal_msg> Parser { get { return _parser; } }
  2121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2122. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2123. public static pbr::MessageDescriptor Descriptor {
  2124. get { return global::Message.SinglechipMsgReflection.Descriptor.MessageTypes[2]; }
  2125. }
  2126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2127. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2128. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2129. get { return Descriptor; }
  2130. }
  2131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2132. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2133. public terminal_msg() {
  2134. OnConstruction();
  2135. }
  2136. partial void OnConstruction();
  2137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2138. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2139. public terminal_msg(terminal_msg other) : this() {
  2140. _hasBits0 = other._hasBits0;
  2141. terminalID_ = other.terminalID_;
  2142. dispatchDirection_ = other.dispatchDirection_;
  2143. processControl_ = other.processControl_;
  2144. outPutDo_ = other.outPutDo_ != null ? other.outPutDo_.Clone() : null;
  2145. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2146. }
  2147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2148. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2149. public terminal_msg Clone() {
  2150. return new terminal_msg(this);
  2151. }
  2152. /// <summary>Field number for the "TerminalID" field.</summary>
  2153. public const int TerminalIDFieldNumber = 1;
  2154. private readonly static int TerminalIDDefaultValue = 0;
  2155. private int terminalID_;
  2156. /// <summary>
  2157. /// 终端号(单片机号)
  2158. /// </summary>
  2159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2160. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2161. public int TerminalID {
  2162. get { if ((_hasBits0 & 1) != 0) { return terminalID_; } else { return TerminalIDDefaultValue; } }
  2163. set {
  2164. _hasBits0 |= 1;
  2165. terminalID_ = value;
  2166. }
  2167. }
  2168. /// <summary>Gets whether the "TerminalID" field is set</summary>
  2169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2170. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2171. public bool HasTerminalID {
  2172. get { return (_hasBits0 & 1) != 0; }
  2173. }
  2174. /// <summary>Clears the value of the "TerminalID" field</summary>
  2175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2176. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2177. public void ClearTerminalID() {
  2178. _hasBits0 &= ~1;
  2179. }
  2180. /// <summary>Field number for the "DispatchDirection" field.</summary>
  2181. public const int DispatchDirectionFieldNumber = 2;
  2182. private readonly static int DispatchDirectionDefaultValue = 0;
  2183. private int dispatchDirection_;
  2184. /// <summary>
  2185. /// 方向(1入口,2出口)
  2186. /// </summary>
  2187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2188. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2189. public int DispatchDirection {
  2190. get { if ((_hasBits0 & 2) != 0) { return dispatchDirection_; } else { return DispatchDirectionDefaultValue; } }
  2191. set {
  2192. _hasBits0 |= 2;
  2193. dispatchDirection_ = value;
  2194. }
  2195. }
  2196. /// <summary>Gets whether the "DispatchDirection" field is set</summary>
  2197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2198. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2199. public bool HasDispatchDirection {
  2200. get { return (_hasBits0 & 2) != 0; }
  2201. }
  2202. /// <summary>Clears the value of the "DispatchDirection" field</summary>
  2203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2204. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2205. public void ClearDispatchDirection() {
  2206. _hasBits0 &= ~2;
  2207. }
  2208. /// <summary>Field number for the "ProcessControl" field.</summary>
  2209. public const int ProcessControlFieldNumber = 3;
  2210. private readonly static global::Message.Process_control ProcessControlDefaultValue = global::Message.Process_control.Unknown;
  2211. private global::Message.Process_control processControl_;
  2212. /// <summary>
  2213. /// 门控
  2214. /// </summary>
  2215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2216. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2217. public global::Message.Process_control ProcessControl {
  2218. get { if ((_hasBits0 & 4) != 0) { return processControl_; } else { return ProcessControlDefaultValue; } }
  2219. set {
  2220. _hasBits0 |= 4;
  2221. processControl_ = value;
  2222. }
  2223. }
  2224. /// <summary>Gets whether the "ProcessControl" field is set</summary>
  2225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2226. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2227. public bool HasProcessControl {
  2228. get { return (_hasBits0 & 4) != 0; }
  2229. }
  2230. /// <summary>Clears the value of the "ProcessControl" field</summary>
  2231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2232. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2233. public void ClearProcessControl() {
  2234. _hasBits0 &= ~4;
  2235. }
  2236. /// <summary>Field number for the "OutPutDo" field.</summary>
  2237. public const int OutPutDoFieldNumber = 4;
  2238. private global::Message.OutputDo outPutDo_;
  2239. /// <summary>
  2240. /// 输入口
  2241. /// </summary>
  2242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2243. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2244. public global::Message.OutputDo OutPutDo {
  2245. get { return outPutDo_; }
  2246. set {
  2247. outPutDo_ = value;
  2248. }
  2249. }
  2250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2251. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2252. public override bool Equals(object other) {
  2253. return Equals(other as terminal_msg);
  2254. }
  2255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2256. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2257. public bool Equals(terminal_msg other) {
  2258. if (ReferenceEquals(other, null)) {
  2259. return false;
  2260. }
  2261. if (ReferenceEquals(other, this)) {
  2262. return true;
  2263. }
  2264. if (TerminalID != other.TerminalID) return false;
  2265. if (DispatchDirection != other.DispatchDirection) return false;
  2266. if (ProcessControl != other.ProcessControl) return false;
  2267. if (!object.Equals(OutPutDo, other.OutPutDo)) return false;
  2268. return Equals(_unknownFields, other._unknownFields);
  2269. }
  2270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2271. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2272. public override int GetHashCode() {
  2273. int hash = 1;
  2274. if (HasTerminalID) hash ^= TerminalID.GetHashCode();
  2275. if (HasDispatchDirection) hash ^= DispatchDirection.GetHashCode();
  2276. if (HasProcessControl) hash ^= ProcessControl.GetHashCode();
  2277. if (outPutDo_ != null) hash ^= OutPutDo.GetHashCode();
  2278. if (_unknownFields != null) {
  2279. hash ^= _unknownFields.GetHashCode();
  2280. }
  2281. return hash;
  2282. }
  2283. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2284. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2285. public override string ToString() {
  2286. return pb::JsonFormatter.ToDiagnosticString(this);
  2287. }
  2288. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2289. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2290. public void WriteTo(pb::CodedOutputStream output) {
  2291. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2292. output.WriteRawMessage(this);
  2293. #else
  2294. if (HasTerminalID) {
  2295. output.WriteRawTag(8);
  2296. output.WriteInt32(TerminalID);
  2297. }
  2298. if (HasDispatchDirection) {
  2299. output.WriteRawTag(16);
  2300. output.WriteInt32(DispatchDirection);
  2301. }
  2302. if (HasProcessControl) {
  2303. output.WriteRawTag(24);
  2304. output.WriteEnum((int) ProcessControl);
  2305. }
  2306. if (outPutDo_ != null) {
  2307. output.WriteRawTag(34);
  2308. output.WriteMessage(OutPutDo);
  2309. }
  2310. if (_unknownFields != null) {
  2311. _unknownFields.WriteTo(output);
  2312. }
  2313. #endif
  2314. }
  2315. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2317. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2318. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2319. if (HasTerminalID) {
  2320. output.WriteRawTag(8);
  2321. output.WriteInt32(TerminalID);
  2322. }
  2323. if (HasDispatchDirection) {
  2324. output.WriteRawTag(16);
  2325. output.WriteInt32(DispatchDirection);
  2326. }
  2327. if (HasProcessControl) {
  2328. output.WriteRawTag(24);
  2329. output.WriteEnum((int) ProcessControl);
  2330. }
  2331. if (outPutDo_ != null) {
  2332. output.WriteRawTag(34);
  2333. output.WriteMessage(OutPutDo);
  2334. }
  2335. if (_unknownFields != null) {
  2336. _unknownFields.WriteTo(ref output);
  2337. }
  2338. }
  2339. #endif
  2340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2341. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2342. public int CalculateSize() {
  2343. int size = 0;
  2344. if (HasTerminalID) {
  2345. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalID);
  2346. }
  2347. if (HasDispatchDirection) {
  2348. size += 1 + pb::CodedOutputStream.ComputeInt32Size(DispatchDirection);
  2349. }
  2350. if (HasProcessControl) {
  2351. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProcessControl);
  2352. }
  2353. if (outPutDo_ != null) {
  2354. size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutPutDo);
  2355. }
  2356. if (_unknownFields != null) {
  2357. size += _unknownFields.CalculateSize();
  2358. }
  2359. return size;
  2360. }
  2361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2362. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2363. public void MergeFrom(terminal_msg other) {
  2364. if (other == null) {
  2365. return;
  2366. }
  2367. if (other.HasTerminalID) {
  2368. TerminalID = other.TerminalID;
  2369. }
  2370. if (other.HasDispatchDirection) {
  2371. DispatchDirection = other.DispatchDirection;
  2372. }
  2373. if (other.HasProcessControl) {
  2374. ProcessControl = other.ProcessControl;
  2375. }
  2376. if (other.outPutDo_ != null) {
  2377. if (outPutDo_ == null) {
  2378. OutPutDo = new global::Message.OutputDo();
  2379. }
  2380. OutPutDo.MergeFrom(other.OutPutDo);
  2381. }
  2382. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2383. }
  2384. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2385. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2386. public void MergeFrom(pb::CodedInputStream input) {
  2387. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2388. input.ReadRawMessage(this);
  2389. #else
  2390. uint tag;
  2391. while ((tag = input.ReadTag()) != 0) {
  2392. switch(tag) {
  2393. default:
  2394. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2395. break;
  2396. case 8: {
  2397. TerminalID = input.ReadInt32();
  2398. break;
  2399. }
  2400. case 16: {
  2401. DispatchDirection = input.ReadInt32();
  2402. break;
  2403. }
  2404. case 24: {
  2405. ProcessControl = (global::Message.Process_control) input.ReadEnum();
  2406. break;
  2407. }
  2408. case 34: {
  2409. if (outPutDo_ == null) {
  2410. OutPutDo = new global::Message.OutputDo();
  2411. }
  2412. input.ReadMessage(OutPutDo);
  2413. break;
  2414. }
  2415. }
  2416. }
  2417. #endif
  2418. }
  2419. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2421. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2422. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2423. uint tag;
  2424. while ((tag = input.ReadTag()) != 0) {
  2425. switch(tag) {
  2426. default:
  2427. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2428. break;
  2429. case 8: {
  2430. TerminalID = input.ReadInt32();
  2431. break;
  2432. }
  2433. case 16: {
  2434. DispatchDirection = input.ReadInt32();
  2435. break;
  2436. }
  2437. case 24: {
  2438. ProcessControl = (global::Message.Process_control) input.ReadEnum();
  2439. break;
  2440. }
  2441. case 34: {
  2442. if (outPutDo_ == null) {
  2443. OutPutDo = new global::Message.OutputDo();
  2444. }
  2445. input.ReadMessage(OutPutDo);
  2446. break;
  2447. }
  2448. }
  2449. }
  2450. }
  2451. #endif
  2452. }
  2453. /// <summary>
  2454. ///单片机给终端
  2455. /// </summary>
  2456. public sealed partial class Singlechip_data : pb::IMessage<Singlechip_data>
  2457. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2458. , pb::IBufferMessage
  2459. #endif
  2460. {
  2461. private static readonly pb::MessageParser<Singlechip_data> _parser = new pb::MessageParser<Singlechip_data>(() => new Singlechip_data());
  2462. private pb::UnknownFieldSet _unknownFields;
  2463. private int _hasBits0;
  2464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2465. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2466. public static pb::MessageParser<Singlechip_data> Parser { get { return _parser; } }
  2467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2468. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2469. public static pbr::MessageDescriptor Descriptor {
  2470. get { return global::Message.SinglechipMsgReflection.Descriptor.MessageTypes[3]; }
  2471. }
  2472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2473. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2474. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2475. get { return Descriptor; }
  2476. }
  2477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2478. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2479. public Singlechip_data() {
  2480. OnConstruction();
  2481. }
  2482. partial void OnConstruction();
  2483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2484. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2485. public Singlechip_data(Singlechip_data other) : this() {
  2486. _hasBits0 = other._hasBits0;
  2487. terminalID_ = other.terminalID_;
  2488. dispatchDirection_ = other.dispatchDirection_;
  2489. processStatus_ = other.processStatus_;
  2490. inPutDi_ = other.inPutDi_ != null ? other.inPutDi_.Clone() : null;
  2491. resetFlag_ = other.resetFlag_;
  2492. processControl_ = other.processControl_;
  2493. insideExistenceFlag_ = other.insideExistenceFlag_;
  2494. overBorderStatus_ = other.overBorderStatus_;
  2495. carHeightStatusCurrent_ = other.carHeightStatusCurrent_;
  2496. carHeightStatusPassing_ = other.carHeightStatusPassing_;
  2497. stopFlag_ = other.stopFlag_;
  2498. outsideDoorStatus_ = other.outsideDoorStatus_;
  2499. outsideDoorControl_ = other.outsideDoorControl_;
  2500. dispatchFinishFlag_ = other.dispatchFinishFlag_;
  2501. outsideExistenceFlag_ = other.outsideExistenceFlag_;
  2502. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2503. }
  2504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2505. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2506. public Singlechip_data Clone() {
  2507. return new Singlechip_data(this);
  2508. }
  2509. /// <summary>Field number for the "TerminalID" field.</summary>
  2510. public const int TerminalIDFieldNumber = 1;
  2511. private readonly static int TerminalIDDefaultValue = 0;
  2512. private int terminalID_;
  2513. /// <summary>
  2514. /// 终端号(单片机号)
  2515. /// </summary>
  2516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2517. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2518. public int TerminalID {
  2519. get { if ((_hasBits0 & 1) != 0) { return terminalID_; } else { return TerminalIDDefaultValue; } }
  2520. set {
  2521. _hasBits0 |= 1;
  2522. terminalID_ = value;
  2523. }
  2524. }
  2525. /// <summary>Gets whether the "TerminalID" field is set</summary>
  2526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2527. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2528. public bool HasTerminalID {
  2529. get { return (_hasBits0 & 1) != 0; }
  2530. }
  2531. /// <summary>Clears the value of the "TerminalID" field</summary>
  2532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2533. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2534. public void ClearTerminalID() {
  2535. _hasBits0 &= ~1;
  2536. }
  2537. /// <summary>Field number for the "DispatchDirection" field.</summary>
  2538. public const int DispatchDirectionFieldNumber = 2;
  2539. private readonly static int DispatchDirectionDefaultValue = 0;
  2540. private int dispatchDirection_;
  2541. /// <summary>
  2542. /// 方向(1入口,2出口)
  2543. /// </summary>
  2544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2545. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2546. public int DispatchDirection {
  2547. get { if ((_hasBits0 & 2) != 0) { return dispatchDirection_; } else { return DispatchDirectionDefaultValue; } }
  2548. set {
  2549. _hasBits0 |= 2;
  2550. dispatchDirection_ = value;
  2551. }
  2552. }
  2553. /// <summary>Gets whether the "DispatchDirection" field is set</summary>
  2554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2555. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2556. public bool HasDispatchDirection {
  2557. get { return (_hasBits0 & 2) != 0; }
  2558. }
  2559. /// <summary>Clears the value of the "DispatchDirection" field</summary>
  2560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2561. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2562. public void ClearDispatchDirection() {
  2563. _hasBits0 &= ~2;
  2564. }
  2565. /// <summary>Field number for the "ProcessStatus" field.</summary>
  2566. public const int ProcessStatusFieldNumber = 3;
  2567. private readonly static global::Message.Process_status ProcessStatusDefaultValue = global::Message.Process_status.Unknown;
  2568. private global::Message.Process_status processStatus_;
  2569. /// <summary>
  2570. ///流程状态
  2571. /// </summary>
  2572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2573. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2574. public global::Message.Process_status ProcessStatus {
  2575. get { if ((_hasBits0 & 4) != 0) { return processStatus_; } else { return ProcessStatusDefaultValue; } }
  2576. set {
  2577. _hasBits0 |= 4;
  2578. processStatus_ = value;
  2579. }
  2580. }
  2581. /// <summary>Gets whether the "ProcessStatus" field is set</summary>
  2582. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2583. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2584. public bool HasProcessStatus {
  2585. get { return (_hasBits0 & 4) != 0; }
  2586. }
  2587. /// <summary>Clears the value of the "ProcessStatus" field</summary>
  2588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2589. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2590. public void ClearProcessStatus() {
  2591. _hasBits0 &= ~4;
  2592. }
  2593. /// <summary>Field number for the "InPutDi" field.</summary>
  2594. public const int InPutDiFieldNumber = 4;
  2595. private global::Message.InputDi inPutDi_;
  2596. /// <summary>
  2597. /// 输入口
  2598. /// </summary>
  2599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2600. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2601. public global::Message.InputDi InPutDi {
  2602. get { return inPutDi_; }
  2603. set {
  2604. inPutDi_ = value;
  2605. }
  2606. }
  2607. /// <summary>Field number for the "ResetFlag" field.</summary>
  2608. public const int ResetFlagFieldNumber = 5;
  2609. private readonly static int ResetFlagDefaultValue = 0;
  2610. private int resetFlag_;
  2611. /// <summary>
  2612. ///重置标志位
  2613. /// </summary>
  2614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2615. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2616. public int ResetFlag {
  2617. get { if ((_hasBits0 & 8) != 0) { return resetFlag_; } else { return ResetFlagDefaultValue; } }
  2618. set {
  2619. _hasBits0 |= 8;
  2620. resetFlag_ = value;
  2621. }
  2622. }
  2623. /// <summary>Gets whether the "ResetFlag" field is set</summary>
  2624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2625. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2626. public bool HasResetFlag {
  2627. get { return (_hasBits0 & 8) != 0; }
  2628. }
  2629. /// <summary>Clears the value of the "ResetFlag" field</summary>
  2630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2631. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2632. public void ClearResetFlag() {
  2633. _hasBits0 &= ~8;
  2634. }
  2635. /// <summary>Field number for the "ProcessControl" field.</summary>
  2636. public const int ProcessControlFieldNumber = 6;
  2637. private readonly static global::Message.Process_control ProcessControlDefaultValue = global::Message.Process_control.Unknown;
  2638. private global::Message.Process_control processControl_;
  2639. /// <summary>
  2640. ///流程控制
  2641. /// </summary>
  2642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2643. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2644. public global::Message.Process_control ProcessControl {
  2645. get { if ((_hasBits0 & 16) != 0) { return processControl_; } else { return ProcessControlDefaultValue; } }
  2646. set {
  2647. _hasBits0 |= 16;
  2648. processControl_ = value;
  2649. }
  2650. }
  2651. /// <summary>Gets whether the "ProcessControl" field is set</summary>
  2652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2653. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2654. public bool HasProcessControl {
  2655. get { return (_hasBits0 & 16) != 0; }
  2656. }
  2657. /// <summary>Clears the value of the "ProcessControl" field</summary>
  2658. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2659. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2660. public void ClearProcessControl() {
  2661. _hasBits0 &= ~16;
  2662. }
  2663. /// <summary>Field number for the "InsideExistenceFlag" field.</summary>
  2664. public const int InsideExistenceFlagFieldNumber = 7;
  2665. private readonly static int InsideExistenceFlagDefaultValue = 0;
  2666. private int insideExistenceFlag_;
  2667. /// <summary>
  2668. ///内部存在标志
  2669. /// </summary>
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2671. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2672. public int InsideExistenceFlag {
  2673. get { if ((_hasBits0 & 32) != 0) { return insideExistenceFlag_; } else { return InsideExistenceFlagDefaultValue; } }
  2674. set {
  2675. _hasBits0 |= 32;
  2676. insideExistenceFlag_ = value;
  2677. }
  2678. }
  2679. /// <summary>Gets whether the "InsideExistenceFlag" field is set</summary>
  2680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2681. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2682. public bool HasInsideExistenceFlag {
  2683. get { return (_hasBits0 & 32) != 0; }
  2684. }
  2685. /// <summary>Clears the value of the "InsideExistenceFlag" field</summary>
  2686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2687. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2688. public void ClearInsideExistenceFlag() {
  2689. _hasBits0 &= ~32;
  2690. }
  2691. /// <summary>Field number for the "OverBorderStatus" field.</summary>
  2692. public const int OverBorderStatusFieldNumber = 8;
  2693. private readonly static global::Message.Over_border_status OverBorderStatusDefaultValue = global::Message.Over_border_status.Unknown;
  2694. private global::Message.Over_border_status overBorderStatus_;
  2695. /// <summary>
  2696. ///边界状态
  2697. /// </summary>
  2698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2699. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2700. public global::Message.Over_border_status OverBorderStatus {
  2701. get { if ((_hasBits0 & 64) != 0) { return overBorderStatus_; } else { return OverBorderStatusDefaultValue; } }
  2702. set {
  2703. _hasBits0 |= 64;
  2704. overBorderStatus_ = value;
  2705. }
  2706. }
  2707. /// <summary>Gets whether the "OverBorderStatus" field is set</summary>
  2708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2709. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2710. public bool HasOverBorderStatus {
  2711. get { return (_hasBits0 & 64) != 0; }
  2712. }
  2713. /// <summary>Clears the value of the "OverBorderStatus" field</summary>
  2714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2715. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2716. public void ClearOverBorderStatus() {
  2717. _hasBits0 &= ~64;
  2718. }
  2719. /// <summary>Field number for the "CarHeightStatusCurrent" field.</summary>
  2720. public const int CarHeightStatusCurrentFieldNumber = 9;
  2721. private readonly static global::Message.Car_height_status CarHeightStatusCurrentDefaultValue = global::Message.Car_height_status.Unknown;
  2722. private global::Message.Car_height_status carHeightStatusCurrent_;
  2723. /// <summary>
  2724. ///当前车高状态--斜角对射光电
  2725. /// </summary>
  2726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2727. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2728. public global::Message.Car_height_status CarHeightStatusCurrent {
  2729. get { if ((_hasBits0 & 128) != 0) { return carHeightStatusCurrent_; } else { return CarHeightStatusCurrentDefaultValue; } }
  2730. set {
  2731. _hasBits0 |= 128;
  2732. carHeightStatusCurrent_ = value;
  2733. }
  2734. }
  2735. /// <summary>Gets whether the "CarHeightStatusCurrent" field is set</summary>
  2736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2737. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2738. public bool HasCarHeightStatusCurrent {
  2739. get { return (_hasBits0 & 128) != 0; }
  2740. }
  2741. /// <summary>Clears the value of the "CarHeightStatusCurrent" field</summary>
  2742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2743. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2744. public void ClearCarHeightStatusCurrent() {
  2745. _hasBits0 &= ~128;
  2746. }
  2747. /// <summary>Field number for the "CarHeightStatusPassing" field.</summary>
  2748. public const int CarHeightStatusPassingFieldNumber = 10;
  2749. private readonly static global::Message.Car_height_status CarHeightStatusPassingDefaultValue = global::Message.Car_height_status.Unknown;
  2750. private global::Message.Car_height_status carHeightStatusPassing_;
  2751. /// <summary>
  2752. ///车高状态--门口经过式光电
  2753. /// </summary>
  2754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2755. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2756. public global::Message.Car_height_status CarHeightStatusPassing {
  2757. get { if ((_hasBits0 & 256) != 0) { return carHeightStatusPassing_; } else { return CarHeightStatusPassingDefaultValue; } }
  2758. set {
  2759. _hasBits0 |= 256;
  2760. carHeightStatusPassing_ = value;
  2761. }
  2762. }
  2763. /// <summary>Gets whether the "CarHeightStatusPassing" field is set</summary>
  2764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2765. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2766. public bool HasCarHeightStatusPassing {
  2767. get { return (_hasBits0 & 256) != 0; }
  2768. }
  2769. /// <summary>Clears the value of the "CarHeightStatusPassing" field</summary>
  2770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2771. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2772. public void ClearCarHeightStatusPassing() {
  2773. _hasBits0 &= ~256;
  2774. }
  2775. /// <summary>Field number for the "StopFlag" field.</summary>
  2776. public const int StopFlagFieldNumber = 11;
  2777. private readonly static int StopFlagDefaultValue = 0;
  2778. private int stopFlag_;
  2779. /// <summary>
  2780. ///停车标志位
  2781. /// </summary>
  2782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2783. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2784. public int StopFlag {
  2785. get { if ((_hasBits0 & 512) != 0) { return stopFlag_; } else { return StopFlagDefaultValue; } }
  2786. set {
  2787. _hasBits0 |= 512;
  2788. stopFlag_ = value;
  2789. }
  2790. }
  2791. /// <summary>Gets whether the "StopFlag" field is set</summary>
  2792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2793. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2794. public bool HasStopFlag {
  2795. get { return (_hasBits0 & 512) != 0; }
  2796. }
  2797. /// <summary>Clears the value of the "StopFlag" field</summary>
  2798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2799. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2800. public void ClearStopFlag() {
  2801. _hasBits0 &= ~512;
  2802. }
  2803. /// <summary>Field number for the "OutsideDoorStatus" field.</summary>
  2804. public const int OutsideDoorStatusFieldNumber = 12;
  2805. private readonly static global::Message.Outside_door_status OutsideDoorStatusDefaultValue = global::Message.Outside_door_status.Unknown;
  2806. private global::Message.Outside_door_status outsideDoorStatus_;
  2807. /// <summary>
  2808. ///外门状态
  2809. /// </summary>
  2810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2811. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2812. public global::Message.Outside_door_status OutsideDoorStatus {
  2813. get { if ((_hasBits0 & 1024) != 0) { return outsideDoorStatus_; } else { return OutsideDoorStatusDefaultValue; } }
  2814. set {
  2815. _hasBits0 |= 1024;
  2816. outsideDoorStatus_ = value;
  2817. }
  2818. }
  2819. /// <summary>Gets whether the "OutsideDoorStatus" field is set</summary>
  2820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2821. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2822. public bool HasOutsideDoorStatus {
  2823. get { return (_hasBits0 & 1024) != 0; }
  2824. }
  2825. /// <summary>Clears the value of the "OutsideDoorStatus" field</summary>
  2826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2827. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2828. public void ClearOutsideDoorStatus() {
  2829. _hasBits0 &= ~1024;
  2830. }
  2831. /// <summary>Field number for the "OutsideDoorControl" field.</summary>
  2832. public const int OutsideDoorControlFieldNumber = 13;
  2833. private readonly static global::Message.Outside_door_control OutsideDoorControlDefaultValue = global::Message.Outside_door_control.Unknown;
  2834. private global::Message.Outside_door_control outsideDoorControl_;
  2835. /// <summary>
  2836. ///外门控制
  2837. /// </summary>
  2838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2839. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2840. public global::Message.Outside_door_control OutsideDoorControl {
  2841. get { if ((_hasBits0 & 2048) != 0) { return outsideDoorControl_; } else { return OutsideDoorControlDefaultValue; } }
  2842. set {
  2843. _hasBits0 |= 2048;
  2844. outsideDoorControl_ = value;
  2845. }
  2846. }
  2847. /// <summary>Gets whether the "OutsideDoorControl" field is set</summary>
  2848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2849. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2850. public bool HasOutsideDoorControl {
  2851. get { return (_hasBits0 & 2048) != 0; }
  2852. }
  2853. /// <summary>Clears the value of the "OutsideDoorControl" field</summary>
  2854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2855. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2856. public void ClearOutsideDoorControl() {
  2857. _hasBits0 &= ~2048;
  2858. }
  2859. /// <summary>Field number for the "DispatchFinishFlag" field.</summary>
  2860. public const int DispatchFinishFlagFieldNumber = 14;
  2861. private readonly static int DispatchFinishFlagDefaultValue = 0;
  2862. private int dispatchFinishFlag_;
  2863. /// <summary>
  2864. ///调度完成标志
  2865. /// </summary>
  2866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2867. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2868. public int DispatchFinishFlag {
  2869. get { if ((_hasBits0 & 4096) != 0) { return dispatchFinishFlag_; } else { return DispatchFinishFlagDefaultValue; } }
  2870. set {
  2871. _hasBits0 |= 4096;
  2872. dispatchFinishFlag_ = value;
  2873. }
  2874. }
  2875. /// <summary>Gets whether the "DispatchFinishFlag" field is set</summary>
  2876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2877. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2878. public bool HasDispatchFinishFlag {
  2879. get { return (_hasBits0 & 4096) != 0; }
  2880. }
  2881. /// <summary>Clears the value of the "DispatchFinishFlag" field</summary>
  2882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2883. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2884. public void ClearDispatchFinishFlag() {
  2885. _hasBits0 &= ~4096;
  2886. }
  2887. /// <summary>Field number for the "OutsideExistenceFlag" field.</summary>
  2888. public const int OutsideExistenceFlagFieldNumber = 15;
  2889. private readonly static int OutsideExistenceFlagDefaultValue = 0;
  2890. private int outsideExistenceFlag_;
  2891. /// <summary>
  2892. ///外部存在标志
  2893. /// </summary>
  2894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2895. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2896. public int OutsideExistenceFlag {
  2897. get { if ((_hasBits0 & 8192) != 0) { return outsideExistenceFlag_; } else { return OutsideExistenceFlagDefaultValue; } }
  2898. set {
  2899. _hasBits0 |= 8192;
  2900. outsideExistenceFlag_ = value;
  2901. }
  2902. }
  2903. /// <summary>Gets whether the "OutsideExistenceFlag" field is set</summary>
  2904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2905. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2906. public bool HasOutsideExistenceFlag {
  2907. get { return (_hasBits0 & 8192) != 0; }
  2908. }
  2909. /// <summary>Clears the value of the "OutsideExistenceFlag" field</summary>
  2910. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2911. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2912. public void ClearOutsideExistenceFlag() {
  2913. _hasBits0 &= ~8192;
  2914. }
  2915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2916. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2917. public override bool Equals(object other) {
  2918. return Equals(other as Singlechip_data);
  2919. }
  2920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2921. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2922. public bool Equals(Singlechip_data other) {
  2923. if (ReferenceEquals(other, null)) {
  2924. return false;
  2925. }
  2926. if (ReferenceEquals(other, this)) {
  2927. return true;
  2928. }
  2929. if (TerminalID != other.TerminalID) return false;
  2930. if (DispatchDirection != other.DispatchDirection) return false;
  2931. if (ProcessStatus != other.ProcessStatus) return false;
  2932. if (!object.Equals(InPutDi, other.InPutDi)) return false;
  2933. if (ResetFlag != other.ResetFlag) return false;
  2934. if (ProcessControl != other.ProcessControl) return false;
  2935. if (InsideExistenceFlag != other.InsideExistenceFlag) return false;
  2936. if (OverBorderStatus != other.OverBorderStatus) return false;
  2937. if (CarHeightStatusCurrent != other.CarHeightStatusCurrent) return false;
  2938. if (CarHeightStatusPassing != other.CarHeightStatusPassing) return false;
  2939. if (StopFlag != other.StopFlag) return false;
  2940. if (OutsideDoorStatus != other.OutsideDoorStatus) return false;
  2941. if (OutsideDoorControl != other.OutsideDoorControl) return false;
  2942. if (DispatchFinishFlag != other.DispatchFinishFlag) return false;
  2943. if (OutsideExistenceFlag != other.OutsideExistenceFlag) return false;
  2944. return Equals(_unknownFields, other._unknownFields);
  2945. }
  2946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2947. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2948. public override int GetHashCode() {
  2949. int hash = 1;
  2950. if (HasTerminalID) hash ^= TerminalID.GetHashCode();
  2951. if (HasDispatchDirection) hash ^= DispatchDirection.GetHashCode();
  2952. if (HasProcessStatus) hash ^= ProcessStatus.GetHashCode();
  2953. if (inPutDi_ != null) hash ^= InPutDi.GetHashCode();
  2954. if (HasResetFlag) hash ^= ResetFlag.GetHashCode();
  2955. if (HasProcessControl) hash ^= ProcessControl.GetHashCode();
  2956. if (HasInsideExistenceFlag) hash ^= InsideExistenceFlag.GetHashCode();
  2957. if (HasOverBorderStatus) hash ^= OverBorderStatus.GetHashCode();
  2958. if (HasCarHeightStatusCurrent) hash ^= CarHeightStatusCurrent.GetHashCode();
  2959. if (HasCarHeightStatusPassing) hash ^= CarHeightStatusPassing.GetHashCode();
  2960. if (HasStopFlag) hash ^= StopFlag.GetHashCode();
  2961. if (HasOutsideDoorStatus) hash ^= OutsideDoorStatus.GetHashCode();
  2962. if (HasOutsideDoorControl) hash ^= OutsideDoorControl.GetHashCode();
  2963. if (HasDispatchFinishFlag) hash ^= DispatchFinishFlag.GetHashCode();
  2964. if (HasOutsideExistenceFlag) hash ^= OutsideExistenceFlag.GetHashCode();
  2965. if (_unknownFields != null) {
  2966. hash ^= _unknownFields.GetHashCode();
  2967. }
  2968. return hash;
  2969. }
  2970. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2971. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2972. public override string ToString() {
  2973. return pb::JsonFormatter.ToDiagnosticString(this);
  2974. }
  2975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2976. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  2977. public void WriteTo(pb::CodedOutputStream output) {
  2978. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2979. output.WriteRawMessage(this);
  2980. #else
  2981. if (HasTerminalID) {
  2982. output.WriteRawTag(8);
  2983. output.WriteInt32(TerminalID);
  2984. }
  2985. if (HasDispatchDirection) {
  2986. output.WriteRawTag(16);
  2987. output.WriteInt32(DispatchDirection);
  2988. }
  2989. if (HasProcessStatus) {
  2990. output.WriteRawTag(24);
  2991. output.WriteEnum((int) ProcessStatus);
  2992. }
  2993. if (inPutDi_ != null) {
  2994. output.WriteRawTag(34);
  2995. output.WriteMessage(InPutDi);
  2996. }
  2997. if (HasResetFlag) {
  2998. output.WriteRawTag(40);
  2999. output.WriteInt32(ResetFlag);
  3000. }
  3001. if (HasProcessControl) {
  3002. output.WriteRawTag(48);
  3003. output.WriteEnum((int) ProcessControl);
  3004. }
  3005. if (HasInsideExistenceFlag) {
  3006. output.WriteRawTag(56);
  3007. output.WriteInt32(InsideExistenceFlag);
  3008. }
  3009. if (HasOverBorderStatus) {
  3010. output.WriteRawTag(64);
  3011. output.WriteEnum((int) OverBorderStatus);
  3012. }
  3013. if (HasCarHeightStatusCurrent) {
  3014. output.WriteRawTag(72);
  3015. output.WriteEnum((int) CarHeightStatusCurrent);
  3016. }
  3017. if (HasCarHeightStatusPassing) {
  3018. output.WriteRawTag(80);
  3019. output.WriteEnum((int) CarHeightStatusPassing);
  3020. }
  3021. if (HasStopFlag) {
  3022. output.WriteRawTag(88);
  3023. output.WriteInt32(StopFlag);
  3024. }
  3025. if (HasOutsideDoorStatus) {
  3026. output.WriteRawTag(96);
  3027. output.WriteEnum((int) OutsideDoorStatus);
  3028. }
  3029. if (HasOutsideDoorControl) {
  3030. output.WriteRawTag(104);
  3031. output.WriteEnum((int) OutsideDoorControl);
  3032. }
  3033. if (HasDispatchFinishFlag) {
  3034. output.WriteRawTag(112);
  3035. output.WriteInt32(DispatchFinishFlag);
  3036. }
  3037. if (HasOutsideExistenceFlag) {
  3038. output.WriteRawTag(120);
  3039. output.WriteInt32(OutsideExistenceFlag);
  3040. }
  3041. if (_unknownFields != null) {
  3042. _unknownFields.WriteTo(output);
  3043. }
  3044. #endif
  3045. }
  3046. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3048. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3049. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3050. if (HasTerminalID) {
  3051. output.WriteRawTag(8);
  3052. output.WriteInt32(TerminalID);
  3053. }
  3054. if (HasDispatchDirection) {
  3055. output.WriteRawTag(16);
  3056. output.WriteInt32(DispatchDirection);
  3057. }
  3058. if (HasProcessStatus) {
  3059. output.WriteRawTag(24);
  3060. output.WriteEnum((int) ProcessStatus);
  3061. }
  3062. if (inPutDi_ != null) {
  3063. output.WriteRawTag(34);
  3064. output.WriteMessage(InPutDi);
  3065. }
  3066. if (HasResetFlag) {
  3067. output.WriteRawTag(40);
  3068. output.WriteInt32(ResetFlag);
  3069. }
  3070. if (HasProcessControl) {
  3071. output.WriteRawTag(48);
  3072. output.WriteEnum((int) ProcessControl);
  3073. }
  3074. if (HasInsideExistenceFlag) {
  3075. output.WriteRawTag(56);
  3076. output.WriteInt32(InsideExistenceFlag);
  3077. }
  3078. if (HasOverBorderStatus) {
  3079. output.WriteRawTag(64);
  3080. output.WriteEnum((int) OverBorderStatus);
  3081. }
  3082. if (HasCarHeightStatusCurrent) {
  3083. output.WriteRawTag(72);
  3084. output.WriteEnum((int) CarHeightStatusCurrent);
  3085. }
  3086. if (HasCarHeightStatusPassing) {
  3087. output.WriteRawTag(80);
  3088. output.WriteEnum((int) CarHeightStatusPassing);
  3089. }
  3090. if (HasStopFlag) {
  3091. output.WriteRawTag(88);
  3092. output.WriteInt32(StopFlag);
  3093. }
  3094. if (HasOutsideDoorStatus) {
  3095. output.WriteRawTag(96);
  3096. output.WriteEnum((int) OutsideDoorStatus);
  3097. }
  3098. if (HasOutsideDoorControl) {
  3099. output.WriteRawTag(104);
  3100. output.WriteEnum((int) OutsideDoorControl);
  3101. }
  3102. if (HasDispatchFinishFlag) {
  3103. output.WriteRawTag(112);
  3104. output.WriteInt32(DispatchFinishFlag);
  3105. }
  3106. if (HasOutsideExistenceFlag) {
  3107. output.WriteRawTag(120);
  3108. output.WriteInt32(OutsideExistenceFlag);
  3109. }
  3110. if (_unknownFields != null) {
  3111. _unknownFields.WriteTo(ref output);
  3112. }
  3113. }
  3114. #endif
  3115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3116. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3117. public int CalculateSize() {
  3118. int size = 0;
  3119. if (HasTerminalID) {
  3120. size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalID);
  3121. }
  3122. if (HasDispatchDirection) {
  3123. size += 1 + pb::CodedOutputStream.ComputeInt32Size(DispatchDirection);
  3124. }
  3125. if (HasProcessStatus) {
  3126. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProcessStatus);
  3127. }
  3128. if (inPutDi_ != null) {
  3129. size += 1 + pb::CodedOutputStream.ComputeMessageSize(InPutDi);
  3130. }
  3131. if (HasResetFlag) {
  3132. size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResetFlag);
  3133. }
  3134. if (HasProcessControl) {
  3135. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProcessControl);
  3136. }
  3137. if (HasInsideExistenceFlag) {
  3138. size += 1 + pb::CodedOutputStream.ComputeInt32Size(InsideExistenceFlag);
  3139. }
  3140. if (HasOverBorderStatus) {
  3141. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OverBorderStatus);
  3142. }
  3143. if (HasCarHeightStatusCurrent) {
  3144. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarHeightStatusCurrent);
  3145. }
  3146. if (HasCarHeightStatusPassing) {
  3147. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarHeightStatusPassing);
  3148. }
  3149. if (HasStopFlag) {
  3150. size += 1 + pb::CodedOutputStream.ComputeInt32Size(StopFlag);
  3151. }
  3152. if (HasOutsideDoorStatus) {
  3153. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OutsideDoorStatus);
  3154. }
  3155. if (HasOutsideDoorControl) {
  3156. size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OutsideDoorControl);
  3157. }
  3158. if (HasDispatchFinishFlag) {
  3159. size += 1 + pb::CodedOutputStream.ComputeInt32Size(DispatchFinishFlag);
  3160. }
  3161. if (HasOutsideExistenceFlag) {
  3162. size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutsideExistenceFlag);
  3163. }
  3164. if (_unknownFields != null) {
  3165. size += _unknownFields.CalculateSize();
  3166. }
  3167. return size;
  3168. }
  3169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3170. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3171. public void MergeFrom(Singlechip_data other) {
  3172. if (other == null) {
  3173. return;
  3174. }
  3175. if (other.HasTerminalID) {
  3176. TerminalID = other.TerminalID;
  3177. }
  3178. if (other.HasDispatchDirection) {
  3179. DispatchDirection = other.DispatchDirection;
  3180. }
  3181. if (other.HasProcessStatus) {
  3182. ProcessStatus = other.ProcessStatus;
  3183. }
  3184. if (other.inPutDi_ != null) {
  3185. if (inPutDi_ == null) {
  3186. InPutDi = new global::Message.InputDi();
  3187. }
  3188. InPutDi.MergeFrom(other.InPutDi);
  3189. }
  3190. if (other.HasResetFlag) {
  3191. ResetFlag = other.ResetFlag;
  3192. }
  3193. if (other.HasProcessControl) {
  3194. ProcessControl = other.ProcessControl;
  3195. }
  3196. if (other.HasInsideExistenceFlag) {
  3197. InsideExistenceFlag = other.InsideExistenceFlag;
  3198. }
  3199. if (other.HasOverBorderStatus) {
  3200. OverBorderStatus = other.OverBorderStatus;
  3201. }
  3202. if (other.HasCarHeightStatusCurrent) {
  3203. CarHeightStatusCurrent = other.CarHeightStatusCurrent;
  3204. }
  3205. if (other.HasCarHeightStatusPassing) {
  3206. CarHeightStatusPassing = other.CarHeightStatusPassing;
  3207. }
  3208. if (other.HasStopFlag) {
  3209. StopFlag = other.StopFlag;
  3210. }
  3211. if (other.HasOutsideDoorStatus) {
  3212. OutsideDoorStatus = other.OutsideDoorStatus;
  3213. }
  3214. if (other.HasOutsideDoorControl) {
  3215. OutsideDoorControl = other.OutsideDoorControl;
  3216. }
  3217. if (other.HasDispatchFinishFlag) {
  3218. DispatchFinishFlag = other.DispatchFinishFlag;
  3219. }
  3220. if (other.HasOutsideExistenceFlag) {
  3221. OutsideExistenceFlag = other.OutsideExistenceFlag;
  3222. }
  3223. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3224. }
  3225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3226. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3227. public void MergeFrom(pb::CodedInputStream input) {
  3228. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3229. input.ReadRawMessage(this);
  3230. #else
  3231. uint tag;
  3232. while ((tag = input.ReadTag()) != 0) {
  3233. switch(tag) {
  3234. default:
  3235. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3236. break;
  3237. case 8: {
  3238. TerminalID = input.ReadInt32();
  3239. break;
  3240. }
  3241. case 16: {
  3242. DispatchDirection = input.ReadInt32();
  3243. break;
  3244. }
  3245. case 24: {
  3246. ProcessStatus = (global::Message.Process_status) input.ReadEnum();
  3247. break;
  3248. }
  3249. case 34: {
  3250. if (inPutDi_ == null) {
  3251. InPutDi = new global::Message.InputDi();
  3252. }
  3253. input.ReadMessage(InPutDi);
  3254. break;
  3255. }
  3256. case 40: {
  3257. ResetFlag = input.ReadInt32();
  3258. break;
  3259. }
  3260. case 48: {
  3261. ProcessControl = (global::Message.Process_control) input.ReadEnum();
  3262. break;
  3263. }
  3264. case 56: {
  3265. InsideExistenceFlag = input.ReadInt32();
  3266. break;
  3267. }
  3268. case 64: {
  3269. OverBorderStatus = (global::Message.Over_border_status) input.ReadEnum();
  3270. break;
  3271. }
  3272. case 72: {
  3273. CarHeightStatusCurrent = (global::Message.Car_height_status) input.ReadEnum();
  3274. break;
  3275. }
  3276. case 80: {
  3277. CarHeightStatusPassing = (global::Message.Car_height_status) input.ReadEnum();
  3278. break;
  3279. }
  3280. case 88: {
  3281. StopFlag = input.ReadInt32();
  3282. break;
  3283. }
  3284. case 96: {
  3285. OutsideDoorStatus = (global::Message.Outside_door_status) input.ReadEnum();
  3286. break;
  3287. }
  3288. case 104: {
  3289. OutsideDoorControl = (global::Message.Outside_door_control) input.ReadEnum();
  3290. break;
  3291. }
  3292. case 112: {
  3293. DispatchFinishFlag = input.ReadInt32();
  3294. break;
  3295. }
  3296. case 120: {
  3297. OutsideExistenceFlag = input.ReadInt32();
  3298. break;
  3299. }
  3300. }
  3301. }
  3302. #endif
  3303. }
  3304. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3306. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3307. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3308. uint tag;
  3309. while ((tag = input.ReadTag()) != 0) {
  3310. switch(tag) {
  3311. default:
  3312. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3313. break;
  3314. case 8: {
  3315. TerminalID = input.ReadInt32();
  3316. break;
  3317. }
  3318. case 16: {
  3319. DispatchDirection = input.ReadInt32();
  3320. break;
  3321. }
  3322. case 24: {
  3323. ProcessStatus = (global::Message.Process_status) input.ReadEnum();
  3324. break;
  3325. }
  3326. case 34: {
  3327. if (inPutDi_ == null) {
  3328. InPutDi = new global::Message.InputDi();
  3329. }
  3330. input.ReadMessage(InPutDi);
  3331. break;
  3332. }
  3333. case 40: {
  3334. ResetFlag = input.ReadInt32();
  3335. break;
  3336. }
  3337. case 48: {
  3338. ProcessControl = (global::Message.Process_control) input.ReadEnum();
  3339. break;
  3340. }
  3341. case 56: {
  3342. InsideExistenceFlag = input.ReadInt32();
  3343. break;
  3344. }
  3345. case 64: {
  3346. OverBorderStatus = (global::Message.Over_border_status) input.ReadEnum();
  3347. break;
  3348. }
  3349. case 72: {
  3350. CarHeightStatusCurrent = (global::Message.Car_height_status) input.ReadEnum();
  3351. break;
  3352. }
  3353. case 80: {
  3354. CarHeightStatusPassing = (global::Message.Car_height_status) input.ReadEnum();
  3355. break;
  3356. }
  3357. case 88: {
  3358. StopFlag = input.ReadInt32();
  3359. break;
  3360. }
  3361. case 96: {
  3362. OutsideDoorStatus = (global::Message.Outside_door_status) input.ReadEnum();
  3363. break;
  3364. }
  3365. case 104: {
  3366. OutsideDoorControl = (global::Message.Outside_door_control) input.ReadEnum();
  3367. break;
  3368. }
  3369. case 112: {
  3370. DispatchFinishFlag = input.ReadInt32();
  3371. break;
  3372. }
  3373. case 120: {
  3374. OutsideExistenceFlag = input.ReadInt32();
  3375. break;
  3376. }
  3377. }
  3378. }
  3379. }
  3380. #endif
  3381. }
  3382. /// <summary>
  3383. ///终端状态消息
  3384. /// </summary>
  3385. public sealed partial class Terminal_status_msg : pb::IMessage<Terminal_status_msg>
  3386. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3387. , pb::IBufferMessage
  3388. #endif
  3389. {
  3390. private static readonly pb::MessageParser<Terminal_status_msg> _parser = new pb::MessageParser<Terminal_status_msg>(() => new Terminal_status_msg());
  3391. private pb::UnknownFieldSet _unknownFields;
  3392. private int _hasBits0;
  3393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3394. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3395. public static pb::MessageParser<Terminal_status_msg> Parser { get { return _parser; } }
  3396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3397. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3398. public static pbr::MessageDescriptor Descriptor {
  3399. get { return global::Message.SinglechipMsgReflection.Descriptor.MessageTypes[4]; }
  3400. }
  3401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3402. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3403. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3404. get { return Descriptor; }
  3405. }
  3406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3407. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3408. public Terminal_status_msg() {
  3409. OnConstruction();
  3410. }
  3411. partial void OnConstruction();
  3412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3413. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3414. public Terminal_status_msg(Terminal_status_msg other) : this() {
  3415. _hasBits0 = other._hasBits0;
  3416. baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
  3417. idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
  3418. singlechipData_ = other.singlechipData_ != null ? other.singlechipData_.Clone() : null;
  3419. singlechipValidity_ = other.singlechipValidity_;
  3420. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3421. }
  3422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3423. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3424. public Terminal_status_msg Clone() {
  3425. return new Terminal_status_msg(this);
  3426. }
  3427. /// <summary>Field number for the "base_info" field.</summary>
  3428. public const int BaseInfoFieldNumber = 1;
  3429. private global::Message.Base_info baseInfo_;
  3430. /// <summary>
  3431. ///消息类型
  3432. /// </summary>
  3433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3434. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3435. public global::Message.Base_info BaseInfo {
  3436. get { return baseInfo_; }
  3437. set {
  3438. baseInfo_ = value;
  3439. }
  3440. }
  3441. /// <summary>Field number for the "id_struct" field.</summary>
  3442. public const int IdStructFieldNumber = 2;
  3443. private global::Message.Id_struct idStruct_;
  3444. /// <summary>
  3445. ///终端号
  3446. /// </summary>
  3447. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3448. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3449. public global::Message.Id_struct IdStruct {
  3450. get { return idStruct_; }
  3451. set {
  3452. idStruct_ = value;
  3453. }
  3454. }
  3455. /// <summary>Field number for the "singlechipData" field.</summary>
  3456. public const int SinglechipDataFieldNumber = 3;
  3457. private global::Message.Singlechip_data singlechipData_;
  3458. /// <summary>
  3459. ///单片机的数据
  3460. /// </summary>
  3461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3462. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3463. public global::Message.Singlechip_data SinglechipData {
  3464. get { return singlechipData_; }
  3465. set {
  3466. singlechipData_ = value;
  3467. }
  3468. }
  3469. /// <summary>Field number for the "singlechip_validity" field.</summary>
  3470. public const int SinglechipValidityFieldNumber = 4;
  3471. private readonly static bool SinglechipValidityDefaultValue = false;
  3472. private bool singlechipValidity_;
  3473. /// <summary>
  3474. ///单片机数据有效性
  3475. /// </summary>
  3476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3477. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3478. public bool SinglechipValidity {
  3479. get { if ((_hasBits0 & 1) != 0) { return singlechipValidity_; } else { return SinglechipValidityDefaultValue; } }
  3480. set {
  3481. _hasBits0 |= 1;
  3482. singlechipValidity_ = value;
  3483. }
  3484. }
  3485. /// <summary>Gets whether the "singlechip_validity" field is set</summary>
  3486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3487. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3488. public bool HasSinglechipValidity {
  3489. get { return (_hasBits0 & 1) != 0; }
  3490. }
  3491. /// <summary>Clears the value of the "singlechip_validity" field</summary>
  3492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3493. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3494. public void ClearSinglechipValidity() {
  3495. _hasBits0 &= ~1;
  3496. }
  3497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3498. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3499. public override bool Equals(object other) {
  3500. return Equals(other as Terminal_status_msg);
  3501. }
  3502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3503. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3504. public bool Equals(Terminal_status_msg other) {
  3505. if (ReferenceEquals(other, null)) {
  3506. return false;
  3507. }
  3508. if (ReferenceEquals(other, this)) {
  3509. return true;
  3510. }
  3511. if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
  3512. if (!object.Equals(IdStruct, other.IdStruct)) return false;
  3513. if (!object.Equals(SinglechipData, other.SinglechipData)) return false;
  3514. if (SinglechipValidity != other.SinglechipValidity) return false;
  3515. return Equals(_unknownFields, other._unknownFields);
  3516. }
  3517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3518. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3519. public override int GetHashCode() {
  3520. int hash = 1;
  3521. if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
  3522. if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
  3523. if (singlechipData_ != null) hash ^= SinglechipData.GetHashCode();
  3524. if (HasSinglechipValidity) hash ^= SinglechipValidity.GetHashCode();
  3525. if (_unknownFields != null) {
  3526. hash ^= _unknownFields.GetHashCode();
  3527. }
  3528. return hash;
  3529. }
  3530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3531. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3532. public override string ToString() {
  3533. return pb::JsonFormatter.ToDiagnosticString(this);
  3534. }
  3535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3536. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3537. public void WriteTo(pb::CodedOutputStream output) {
  3538. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3539. output.WriteRawMessage(this);
  3540. #else
  3541. if (baseInfo_ != null) {
  3542. output.WriteRawTag(10);
  3543. output.WriteMessage(BaseInfo);
  3544. }
  3545. if (idStruct_ != null) {
  3546. output.WriteRawTag(18);
  3547. output.WriteMessage(IdStruct);
  3548. }
  3549. if (singlechipData_ != null) {
  3550. output.WriteRawTag(26);
  3551. output.WriteMessage(SinglechipData);
  3552. }
  3553. if (HasSinglechipValidity) {
  3554. output.WriteRawTag(32);
  3555. output.WriteBool(SinglechipValidity);
  3556. }
  3557. if (_unknownFields != null) {
  3558. _unknownFields.WriteTo(output);
  3559. }
  3560. #endif
  3561. }
  3562. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3564. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3565. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3566. if (baseInfo_ != null) {
  3567. output.WriteRawTag(10);
  3568. output.WriteMessage(BaseInfo);
  3569. }
  3570. if (idStruct_ != null) {
  3571. output.WriteRawTag(18);
  3572. output.WriteMessage(IdStruct);
  3573. }
  3574. if (singlechipData_ != null) {
  3575. output.WriteRawTag(26);
  3576. output.WriteMessage(SinglechipData);
  3577. }
  3578. if (HasSinglechipValidity) {
  3579. output.WriteRawTag(32);
  3580. output.WriteBool(SinglechipValidity);
  3581. }
  3582. if (_unknownFields != null) {
  3583. _unknownFields.WriteTo(ref output);
  3584. }
  3585. }
  3586. #endif
  3587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3588. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3589. public int CalculateSize() {
  3590. int size = 0;
  3591. if (baseInfo_ != null) {
  3592. size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
  3593. }
  3594. if (idStruct_ != null) {
  3595. size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
  3596. }
  3597. if (singlechipData_ != null) {
  3598. size += 1 + pb::CodedOutputStream.ComputeMessageSize(SinglechipData);
  3599. }
  3600. if (HasSinglechipValidity) {
  3601. size += 1 + 1;
  3602. }
  3603. if (_unknownFields != null) {
  3604. size += _unknownFields.CalculateSize();
  3605. }
  3606. return size;
  3607. }
  3608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3609. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3610. public void MergeFrom(Terminal_status_msg other) {
  3611. if (other == null) {
  3612. return;
  3613. }
  3614. if (other.baseInfo_ != null) {
  3615. if (baseInfo_ == null) {
  3616. BaseInfo = new global::Message.Base_info();
  3617. }
  3618. BaseInfo.MergeFrom(other.BaseInfo);
  3619. }
  3620. if (other.idStruct_ != null) {
  3621. if (idStruct_ == null) {
  3622. IdStruct = new global::Message.Id_struct();
  3623. }
  3624. IdStruct.MergeFrom(other.IdStruct);
  3625. }
  3626. if (other.singlechipData_ != null) {
  3627. if (singlechipData_ == null) {
  3628. SinglechipData = new global::Message.Singlechip_data();
  3629. }
  3630. SinglechipData.MergeFrom(other.SinglechipData);
  3631. }
  3632. if (other.HasSinglechipValidity) {
  3633. SinglechipValidity = other.SinglechipValidity;
  3634. }
  3635. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3636. }
  3637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3638. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3639. public void MergeFrom(pb::CodedInputStream input) {
  3640. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3641. input.ReadRawMessage(this);
  3642. #else
  3643. uint tag;
  3644. while ((tag = input.ReadTag()) != 0) {
  3645. switch(tag) {
  3646. default:
  3647. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3648. break;
  3649. case 10: {
  3650. if (baseInfo_ == null) {
  3651. BaseInfo = new global::Message.Base_info();
  3652. }
  3653. input.ReadMessage(BaseInfo);
  3654. break;
  3655. }
  3656. case 18: {
  3657. if (idStruct_ == null) {
  3658. IdStruct = new global::Message.Id_struct();
  3659. }
  3660. input.ReadMessage(IdStruct);
  3661. break;
  3662. }
  3663. case 26: {
  3664. if (singlechipData_ == null) {
  3665. SinglechipData = new global::Message.Singlechip_data();
  3666. }
  3667. input.ReadMessage(SinglechipData);
  3668. break;
  3669. }
  3670. case 32: {
  3671. SinglechipValidity = input.ReadBool();
  3672. break;
  3673. }
  3674. }
  3675. }
  3676. #endif
  3677. }
  3678. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3679. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3680. [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  3681. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3682. uint tag;
  3683. while ((tag = input.ReadTag()) != 0) {
  3684. switch(tag) {
  3685. default:
  3686. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3687. break;
  3688. case 10: {
  3689. if (baseInfo_ == null) {
  3690. BaseInfo = new global::Message.Base_info();
  3691. }
  3692. input.ReadMessage(BaseInfo);
  3693. break;
  3694. }
  3695. case 18: {
  3696. if (idStruct_ == null) {
  3697. IdStruct = new global::Message.Id_struct();
  3698. }
  3699. input.ReadMessage(IdStruct);
  3700. break;
  3701. }
  3702. case 26: {
  3703. if (singlechipData_ == null) {
  3704. SinglechipData = new global::Message.Singlechip_data();
  3705. }
  3706. input.ReadMessage(SinglechipData);
  3707. break;
  3708. }
  3709. case 32: {
  3710. SinglechipValidity = input.ReadBool();
  3711. break;
  3712. }
  3713. }
  3714. }
  3715. }
  3716. #endif
  3717. }
  3718. #endregion
  3719. }
  3720. #endregion Designer generated code