12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: central_control_message.proto
- // </auto-generated>
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Message {
- /// <summary>Holder for reflection information generated from central_control_message.proto</summary>
- public static partial class CentralControlMessageReflection {
- #region Descriptor
- /// <summary>File descriptor for central_control_message.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
- static CentralControlMessageReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch1jZW50cmFsX2NvbnRyb2xfbWVzc2FnZS5wcm90bxIHbWVzc2FnZRoSbWVz",
- "c2FnZV9iYXNlLnByb3RvIqwBCg5FbnRyYW5jZV9zdGF0dRIOCgZwYXVzZWQY",
- "ASACKAgSLgoPcGFya3NwYWNlX3N0YXR1GAIgASgOMhUubWVzc2FnZS5Nb2R1",
- "bGVfc3RhdHUSLQoOZGlzcGF0Y2hfc3RhdHUYAyABKA4yFS5tZXNzYWdlLk1v",
- "ZHVsZV9zdGF0dRIrCgxub3RpZnlfc3RhdHUYBCABKA4yFS5tZXNzYWdlLk1v",
- "ZHVsZV9zdGF0dSKzAQocQ2VudHJhbF9jb250cm9sbGVyX3N0YXR1X21zZxIl",
- "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxI2ChVlbnRy",
- "YW5jZV9zdGF0dV92ZWN0b3IYAiADKAsyFy5tZXNzYWdlLkVudHJhbmNlX3N0",
- "YXR1EjQKE2V4cG9ydF9zdGF0dV92ZWN0b3IYAyADKAsyFy5tZXNzYWdlLkVu",
- "dHJhbmNlX3N0YXR1IqoBCh1FbnRyYW5jZV9tYW51YWxfb3BlcmF0aW9uX21z",
- "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxIlCglp",
- "ZF9zdHJ1Y3QYAiACKAsyEi5tZXNzYWdlLklkX3N0cnVjdBIrCgxwcm9jZXNz",
- "X3R5cGUYAyACKA4yFS5tZXNzYWdlLlByb2Nlc3NfdHlwZRIOCgZwYXVzZWQY",
- "BCACKAgitAEKHFByb2Nlc3NfbWFudWFsX29wZXJhdGlvbl9tc2cSJQoJYmFz",
- "ZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SDwoHbGljZW5zZRgC",
- "IAIoCRIlCglzdGVwX3R5cGUYAyACKA4yEi5tZXNzYWdlLlN0ZXBfdHlwZRI1",
- "CgxvcGVyYXRlX3R5cGUYBCACKA4yHy5tZXNzYWdlLlByb2Nlc3Nfb3BlcmF0",
- "aW9uX3R5cGUqUwoWUHJvY2Vzc19vcGVyYXRpb25fdHlwZRISCg5lTWFudWFs",
- "X2NhbmNlbBAAEhEKDWVNYW51YWxfcmV0cnkQARISCg5lTWFudWFsX2lnbm9y",
- "ZRACKj0KDE1vZHVsZV9zdGF0dRIOCgplQ29ubmVjdGVkEAASEQoNZURpc2Nv",
- "bm5lY3RlZBABEgoKBmVGYXVsdBAC"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Process_operation_type), typeof(global::Message.Module_statu), }, null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Entrance_statu), global::Message.Entrance_statu.Parser, new[]{ "Paused", "ParkspaceStatu", "DispatchStatu", "NotifyStatu" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Central_controller_statu_msg), global::Message.Central_controller_statu_msg.Parser, new[]{ "BaseInfo", "EntranceStatuVector", "ExportStatuVector" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Entrance_manual_operation_msg), global::Message.Entrance_manual_operation_msg.Parser, new[]{ "BaseInfo", "IdStruct", "ProcessType", "Paused" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Message.Process_manual_operation_msg), global::Message.Process_manual_operation_msg.Parser, new[]{ "BaseInfo", "License", "StepType", "OperateType" }, null, null, null, null)
- }));
- }
- #endregion
- }
- #region Enums
- /// <summary>
- ///针对流程的手动操作类型
- /// </summary>
- public enum Process_operation_type {
- /// <summary>
- ///取消流程
- /// </summary>
- [pbr::OriginalName("eManual_cancel")] EManualCancel = 0,
- /// <summary>
- ///重试
- /// </summary>
- [pbr::OriginalName("eManual_retry")] EManualRetry = 1,
- /// <summary>
- ///忽略
- /// </summary>
- [pbr::OriginalName("eManual_ignore")] EManualIgnore = 2,
- }
- public enum Module_statu {
- /// <summary>
- ///连接
- /// </summary>
- [pbr::OriginalName("eConnected")] EConnected = 0,
- /// <summary>
- ///连接丢失
- /// </summary>
- [pbr::OriginalName("eDisconnected")] EDisconnected = 1,
- /// <summary>
- ///故障
- /// </summary>
- [pbr::OriginalName("eFault")] EFault = 2,
- }
- #endregion
- #region Messages
- /// <summary>
- ///出入口状态
- /// </summary>
- public sealed partial class Entrance_statu : pb::IMessage<Entrance_statu>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<Entrance_statu> _parser = new pb::MessageParser<Entrance_statu>(() => new Entrance_statu());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<Entrance_statu> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[0]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_statu() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_statu(Entrance_statu other) : this() {
- _hasBits0 = other._hasBits0;
- paused_ = other.paused_;
- parkspaceStatu_ = other.parkspaceStatu_;
- dispatchStatu_ = other.dispatchStatu_;
- notifyStatu_ = other.notifyStatu_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_statu Clone() {
- return new Entrance_statu(this);
- }
- /// <summary>Field number for the "paused" field.</summary>
- public const int PausedFieldNumber = 1;
- private readonly static bool PausedDefaultValue = false;
- private bool paused_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Paused {
- get { if ((_hasBits0 & 1) != 0) { return paused_; } else { return PausedDefaultValue; } }
- set {
- _hasBits0 |= 1;
- paused_ = value;
- }
- }
- /// <summary>Gets whether the "paused" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasPaused {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "paused" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearPaused() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "parkspace_statu" field.</summary>
- public const int ParkspaceStatuFieldNumber = 2;
- private readonly static global::Message.Module_statu ParkspaceStatuDefaultValue = global::Message.Module_statu.EConnected;
- private global::Message.Module_statu parkspaceStatu_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Module_statu ParkspaceStatu {
- get { if ((_hasBits0 & 2) != 0) { return parkspaceStatu_; } else { return ParkspaceStatuDefaultValue; } }
- set {
- _hasBits0 |= 2;
- parkspaceStatu_ = value;
- }
- }
- /// <summary>Gets whether the "parkspace_statu" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasParkspaceStatu {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "parkspace_statu" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearParkspaceStatu() {
- _hasBits0 &= ~2;
- }
- /// <summary>Field number for the "dispatch_statu" field.</summary>
- public const int DispatchStatuFieldNumber = 3;
- private readonly static global::Message.Module_statu DispatchStatuDefaultValue = global::Message.Module_statu.EConnected;
- private global::Message.Module_statu dispatchStatu_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Module_statu DispatchStatu {
- get { if ((_hasBits0 & 4) != 0) { return dispatchStatu_; } else { return DispatchStatuDefaultValue; } }
- set {
- _hasBits0 |= 4;
- dispatchStatu_ = value;
- }
- }
- /// <summary>Gets whether the "dispatch_statu" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasDispatchStatu {
- get { return (_hasBits0 & 4) != 0; }
- }
- /// <summary>Clears the value of the "dispatch_statu" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearDispatchStatu() {
- _hasBits0 &= ~4;
- }
- /// <summary>Field number for the "notify_statu" field.</summary>
- public const int NotifyStatuFieldNumber = 4;
- private readonly static global::Message.Module_statu NotifyStatuDefaultValue = global::Message.Module_statu.EConnected;
- private global::Message.Module_statu notifyStatu_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Module_statu NotifyStatu {
- get { if ((_hasBits0 & 8) != 0) { return notifyStatu_; } else { return NotifyStatuDefaultValue; } }
- set {
- _hasBits0 |= 8;
- notifyStatu_ = value;
- }
- }
- /// <summary>Gets whether the "notify_statu" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasNotifyStatu {
- get { return (_hasBits0 & 8) != 0; }
- }
- /// <summary>Clears the value of the "notify_statu" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearNotifyStatu() {
- _hasBits0 &= ~8;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as Entrance_statu);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(Entrance_statu other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Paused != other.Paused) return false;
- if (ParkspaceStatu != other.ParkspaceStatu) return false;
- if (DispatchStatu != other.DispatchStatu) return false;
- if (NotifyStatu != other.NotifyStatu) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (HasPaused) hash ^= Paused.GetHashCode();
- if (HasParkspaceStatu) hash ^= ParkspaceStatu.GetHashCode();
- if (HasDispatchStatu) hash ^= DispatchStatu.GetHashCode();
- if (HasNotifyStatu) hash ^= NotifyStatu.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (HasPaused) {
- output.WriteRawTag(8);
- output.WriteBool(Paused);
- }
- if (HasParkspaceStatu) {
- output.WriteRawTag(16);
- output.WriteEnum((int) ParkspaceStatu);
- }
- if (HasDispatchStatu) {
- output.WriteRawTag(24);
- output.WriteEnum((int) DispatchStatu);
- }
- if (HasNotifyStatu) {
- output.WriteRawTag(32);
- output.WriteEnum((int) NotifyStatu);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (HasPaused) {
- output.WriteRawTag(8);
- output.WriteBool(Paused);
- }
- if (HasParkspaceStatu) {
- output.WriteRawTag(16);
- output.WriteEnum((int) ParkspaceStatu);
- }
- if (HasDispatchStatu) {
- output.WriteRawTag(24);
- output.WriteEnum((int) DispatchStatu);
- }
- if (HasNotifyStatu) {
- output.WriteRawTag(32);
- output.WriteEnum((int) NotifyStatu);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (HasPaused) {
- size += 1 + 1;
- }
- if (HasParkspaceStatu) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceStatu);
- }
- if (HasDispatchStatu) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DispatchStatu);
- }
- if (HasNotifyStatu) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NotifyStatu);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(Entrance_statu other) {
- if (other == null) {
- return;
- }
- if (other.HasPaused) {
- Paused = other.Paused;
- }
- if (other.HasParkspaceStatu) {
- ParkspaceStatu = other.ParkspaceStatu;
- }
- if (other.HasDispatchStatu) {
- DispatchStatu = other.DispatchStatu;
- }
- if (other.HasNotifyStatu) {
- NotifyStatu = other.NotifyStatu;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Paused = input.ReadBool();
- break;
- }
- case 16: {
- ParkspaceStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- case 24: {
- DispatchStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- case 32: {
- NotifyStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- }
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 8: {
- Paused = input.ReadBool();
- break;
- }
- case 16: {
- ParkspaceStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- case 24: {
- DispatchStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- case 32: {
- NotifyStatu = (global::Message.Module_statu) input.ReadEnum();
- break;
- }
- }
- }
- }
- #endif
- }
- /// <summary>
- ///中控状态消息
- /// </summary>
- public sealed partial class Central_controller_statu_msg : pb::IMessage<Central_controller_statu_msg>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<Central_controller_statu_msg> _parser = new pb::MessageParser<Central_controller_statu_msg>(() => new Central_controller_statu_msg());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<Central_controller_statu_msg> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[1]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Central_controller_statu_msg() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Central_controller_statu_msg(Central_controller_statu_msg other) : this() {
- baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
- entranceStatuVector_ = other.entranceStatuVector_.Clone();
- exportStatuVector_ = other.exportStatuVector_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Central_controller_statu_msg Clone() {
- return new Central_controller_statu_msg(this);
- }
- /// <summary>Field number for the "base_info" field.</summary>
- public const int BaseInfoFieldNumber = 1;
- private global::Message.Base_info baseInfo_;
- /// <summary>
- ///消息类型
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Base_info BaseInfo {
- get { return baseInfo_; }
- set {
- baseInfo_ = value;
- }
- }
- /// <summary>Field number for the "entrance_statu_vector" field.</summary>
- public const int EntranceStatuVectorFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Message.Entrance_statu> _repeated_entranceStatuVector_codec
- = pb::FieldCodec.ForMessage(18, global::Message.Entrance_statu.Parser);
- private readonly pbc::RepeatedField<global::Message.Entrance_statu> entranceStatuVector_ = new pbc::RepeatedField<global::Message.Entrance_statu>();
- /// <summary>
- ///入口状态(关闭或者开放)
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Message.Entrance_statu> EntranceStatuVector {
- get { return entranceStatuVector_; }
- }
- /// <summary>Field number for the "export_statu_vector" field.</summary>
- public const int ExportStatuVectorFieldNumber = 3;
- private static readonly pb::FieldCodec<global::Message.Entrance_statu> _repeated_exportStatuVector_codec
- = pb::FieldCodec.ForMessage(26, global::Message.Entrance_statu.Parser);
- private readonly pbc::RepeatedField<global::Message.Entrance_statu> exportStatuVector_ = new pbc::RepeatedField<global::Message.Entrance_statu>();
- /// <summary>
- ///出口状态
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pbc::RepeatedField<global::Message.Entrance_statu> ExportStatuVector {
- get { return exportStatuVector_; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as Central_controller_statu_msg);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(Central_controller_statu_msg other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
- if(!entranceStatuVector_.Equals(other.entranceStatuVector_)) return false;
- if(!exportStatuVector_.Equals(other.exportStatuVector_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
- hash ^= entranceStatuVector_.GetHashCode();
- hash ^= exportStatuVector_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- entranceStatuVector_.WriteTo(output, _repeated_entranceStatuVector_codec);
- exportStatuVector_.WriteTo(output, _repeated_exportStatuVector_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- entranceStatuVector_.WriteTo(ref output, _repeated_entranceStatuVector_codec);
- exportStatuVector_.WriteTo(ref output, _repeated_exportStatuVector_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (baseInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
- }
- size += entranceStatuVector_.CalculateSize(_repeated_entranceStatuVector_codec);
- size += exportStatuVector_.CalculateSize(_repeated_exportStatuVector_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(Central_controller_statu_msg other) {
- if (other == null) {
- return;
- }
- if (other.baseInfo_ != null) {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- BaseInfo.MergeFrom(other.BaseInfo);
- }
- entranceStatuVector_.Add(other.entranceStatuVector_);
- exportStatuVector_.Add(other.exportStatuVector_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- entranceStatuVector_.AddEntriesFrom(input, _repeated_entranceStatuVector_codec);
- break;
- }
- case 26: {
- exportStatuVector_.AddEntriesFrom(input, _repeated_exportStatuVector_codec);
- break;
- }
- }
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- entranceStatuVector_.AddEntriesFrom(ref input, _repeated_entranceStatuVector_codec);
- break;
- }
- case 26: {
- exportStatuVector_.AddEntriesFrom(ref input, _repeated_exportStatuVector_codec);
- break;
- }
- }
- }
- }
- #endif
- }
- /// <summary>
- ///出入口手动急停/启动消息
- /// </summary>
- public sealed partial class Entrance_manual_operation_msg : pb::IMessage<Entrance_manual_operation_msg>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<Entrance_manual_operation_msg> _parser = new pb::MessageParser<Entrance_manual_operation_msg>(() => new Entrance_manual_operation_msg());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<Entrance_manual_operation_msg> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[2]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_manual_operation_msg() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_manual_operation_msg(Entrance_manual_operation_msg other) : this() {
- _hasBits0 = other._hasBits0;
- baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
- idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null;
- processType_ = other.processType_;
- paused_ = other.paused_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Entrance_manual_operation_msg Clone() {
- return new Entrance_manual_operation_msg(this);
- }
- /// <summary>Field number for the "base_info" field.</summary>
- public const int BaseInfoFieldNumber = 1;
- private global::Message.Base_info baseInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Base_info BaseInfo {
- get { return baseInfo_; }
- set {
- baseInfo_ = value;
- }
- }
- /// <summary>Field number for the "id_struct" field.</summary>
- public const int IdStructFieldNumber = 2;
- private global::Message.Id_struct idStruct_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Id_struct IdStruct {
- get { return idStruct_; }
- set {
- idStruct_ = value;
- }
- }
- /// <summary>Field number for the "process_type" field.</summary>
- public const int ProcessTypeFieldNumber = 3;
- private readonly static global::Message.Process_type ProcessTypeDefaultValue = global::Message.Process_type.EStoring;
- private global::Message.Process_type processType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Process_type ProcessType {
- get { if ((_hasBits0 & 1) != 0) { return processType_; } else { return ProcessTypeDefaultValue; } }
- set {
- _hasBits0 |= 1;
- processType_ = value;
- }
- }
- /// <summary>Gets whether the "process_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasProcessType {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "process_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearProcessType() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "paused" field.</summary>
- public const int PausedFieldNumber = 4;
- private readonly static bool PausedDefaultValue = false;
- private bool paused_;
- /// <summary>
- ///是否急停
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Paused {
- get { if ((_hasBits0 & 2) != 0) { return paused_; } else { return PausedDefaultValue; } }
- set {
- _hasBits0 |= 2;
- paused_ = value;
- }
- }
- /// <summary>Gets whether the "paused" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasPaused {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "paused" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearPaused() {
- _hasBits0 &= ~2;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as Entrance_manual_operation_msg);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(Entrance_manual_operation_msg other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
- if (!object.Equals(IdStruct, other.IdStruct)) return false;
- if (ProcessType != other.ProcessType) return false;
- if (Paused != other.Paused) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
- if (idStruct_ != null) hash ^= IdStruct.GetHashCode();
- if (HasProcessType) hash ^= ProcessType.GetHashCode();
- if (HasPaused) hash ^= Paused.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- if (idStruct_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(IdStruct);
- }
- if (HasProcessType) {
- output.WriteRawTag(24);
- output.WriteEnum((int) ProcessType);
- }
- if (HasPaused) {
- output.WriteRawTag(32);
- output.WriteBool(Paused);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- if (idStruct_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(IdStruct);
- }
- if (HasProcessType) {
- output.WriteRawTag(24);
- output.WriteEnum((int) ProcessType);
- }
- if (HasPaused) {
- output.WriteRawTag(32);
- output.WriteBool(Paused);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (baseInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
- }
- if (idStruct_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct);
- }
- if (HasProcessType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProcessType);
- }
- if (HasPaused) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(Entrance_manual_operation_msg other) {
- if (other == null) {
- return;
- }
- if (other.baseInfo_ != null) {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- BaseInfo.MergeFrom(other.BaseInfo);
- }
- if (other.idStruct_ != null) {
- if (idStruct_ == null) {
- IdStruct = new global::Message.Id_struct();
- }
- IdStruct.MergeFrom(other.IdStruct);
- }
- if (other.HasProcessType) {
- ProcessType = other.ProcessType;
- }
- if (other.HasPaused) {
- Paused = other.Paused;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- if (idStruct_ == null) {
- IdStruct = new global::Message.Id_struct();
- }
- input.ReadMessage(IdStruct);
- break;
- }
- case 24: {
- ProcessType = (global::Message.Process_type) input.ReadEnum();
- break;
- }
- case 32: {
- Paused = input.ReadBool();
- break;
- }
- }
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- if (idStruct_ == null) {
- IdStruct = new global::Message.Id_struct();
- }
- input.ReadMessage(IdStruct);
- break;
- }
- case 24: {
- ProcessType = (global::Message.Process_type) input.ReadEnum();
- break;
- }
- case 32: {
- Paused = input.ReadBool();
- break;
- }
- }
- }
- }
- #endif
- }
- /// <summary>
- ///流程手动操作消息
- /// </summary>
- public sealed partial class Process_manual_operation_msg : pb::IMessage<Process_manual_operation_msg>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<Process_manual_operation_msg> _parser = new pb::MessageParser<Process_manual_operation_msg>(() => new Process_manual_operation_msg());
- private pb::UnknownFieldSet _unknownFields;
- private int _hasBits0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<Process_manual_operation_msg> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Message.CentralControlMessageReflection.Descriptor.MessageTypes[3]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Process_manual_operation_msg() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Process_manual_operation_msg(Process_manual_operation_msg other) : this() {
- _hasBits0 = other._hasBits0;
- baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
- license_ = other.license_;
- stepType_ = other.stepType_;
- operateType_ = other.operateType_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public Process_manual_operation_msg Clone() {
- return new Process_manual_operation_msg(this);
- }
- /// <summary>Field number for the "base_info" field.</summary>
- public const int BaseInfoFieldNumber = 1;
- private global::Message.Base_info baseInfo_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Base_info BaseInfo {
- get { return baseInfo_; }
- set {
- baseInfo_ = value;
- }
- }
- /// <summary>Field number for the "license" field.</summary>
- public const int LicenseFieldNumber = 2;
- private readonly static string LicenseDefaultValue = "";
- private string license_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string License {
- get { return license_ ?? LicenseDefaultValue; }
- set {
- license_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Gets whether the "license" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasLicense {
- get { return license_ != null; }
- }
- /// <summary>Clears the value of the "license" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearLicense() {
- license_ = null;
- }
- /// <summary>Field number for the "step_type" field.</summary>
- public const int StepTypeFieldNumber = 3;
- private readonly static global::Message.Step_type StepTypeDefaultValue = global::Message.Step_type.EAllocStep;
- private global::Message.Step_type stepType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Step_type StepType {
- get { if ((_hasBits0 & 1) != 0) { return stepType_; } else { return StepTypeDefaultValue; } }
- set {
- _hasBits0 |= 1;
- stepType_ = value;
- }
- }
- /// <summary>Gets whether the "step_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasStepType {
- get { return (_hasBits0 & 1) != 0; }
- }
- /// <summary>Clears the value of the "step_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearStepType() {
- _hasBits0 &= ~1;
- }
- /// <summary>Field number for the "operate_type" field.</summary>
- public const int OperateTypeFieldNumber = 4;
- private readonly static global::Message.Process_operation_type OperateTypeDefaultValue = global::Message.Process_operation_type.EManualCancel;
- private global::Message.Process_operation_type operateType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Process_operation_type OperateType {
- get { if ((_hasBits0 & 2) != 0) { return operateType_; } else { return OperateTypeDefaultValue; } }
- set {
- _hasBits0 |= 2;
- operateType_ = value;
- }
- }
- /// <summary>Gets whether the "operate_type" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasOperateType {
- get { return (_hasBits0 & 2) != 0; }
- }
- /// <summary>Clears the value of the "operate_type" field</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void ClearOperateType() {
- _hasBits0 &= ~2;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override bool Equals(object other) {
- return Equals(other as Process_manual_operation_msg);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(Process_manual_operation_msg other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
- if (License != other.License) return false;
- if (StepType != other.StepType) return false;
- if (OperateType != other.OperateType) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override int GetHashCode() {
- int hash = 1;
- if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
- if (HasLicense) hash ^= License.GetHashCode();
- if (HasStepType) hash ^= StepType.GetHashCode();
- if (HasOperateType) hash ^= OperateType.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void WriteTo(pb::CodedOutputStream output) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- output.WriteRawMessage(this);
- #else
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- if (HasLicense) {
- output.WriteRawTag(18);
- output.WriteString(License);
- }
- if (HasStepType) {
- output.WriteRawTag(24);
- output.WriteEnum((int) StepType);
- }
- if (HasOperateType) {
- output.WriteRawTag(32);
- output.WriteEnum((int) OperateType);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (baseInfo_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(BaseInfo);
- }
- if (HasLicense) {
- output.WriteRawTag(18);
- output.WriteString(License);
- }
- if (HasStepType) {
- output.WriteRawTag(24);
- output.WriteEnum((int) StepType);
- }
- if (HasOperateType) {
- output.WriteRawTag(32);
- output.WriteEnum((int) OperateType);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(ref output);
- }
- }
- #endif
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int CalculateSize() {
- int size = 0;
- if (baseInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
- }
- if (HasLicense) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(License);
- }
- if (HasStepType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StepType);
- }
- if (HasOperateType) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OperateType);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(Process_manual_operation_msg other) {
- if (other == null) {
- return;
- }
- if (other.baseInfo_ != null) {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- BaseInfo.MergeFrom(other.BaseInfo);
- }
- if (other.HasLicense) {
- License = other.License;
- }
- if (other.HasStepType) {
- StepType = other.StepType;
- }
- if (other.HasOperateType) {
- OperateType = other.OperateType;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(pb::CodedInputStream input) {
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- input.ReadRawMessage(this);
- #else
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- License = input.ReadString();
- break;
- }
- case 24: {
- StepType = (global::Message.Step_type) input.ReadEnum();
- break;
- }
- case 32: {
- OperateType = (global::Message.Process_operation_type) input.ReadEnum();
- break;
- }
- }
- }
- #endif
- }
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
- break;
- case 10: {
- if (baseInfo_ == null) {
- BaseInfo = new global::Message.Base_info();
- }
- input.ReadMessage(BaseInfo);
- break;
- }
- case 18: {
- License = input.ReadString();
- break;
- }
- case 24: {
- StepType = (global::Message.Step_type) input.ReadEnum();
- break;
- }
- case 32: {
- OperateType = (global::Message.Process_operation_type) input.ReadEnum();
- break;
- }
- }
- }
- }
- #endif
- }
- #endregion
- }
- #endregion Designer generated code
|