//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: central_control_message.proto
//
#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 {
/// Holder for reflection information generated from central_control_message.proto
public static partial class CentralControlMessageReflection {
#region Descriptor
/// File descriptor for central_control_message.proto
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
///
///针对流程的手动操作类型
///
public enum Process_operation_type {
///
///取消流程
///
[pbr::OriginalName("eManual_cancel")] EManualCancel = 0,
///
///重试
///
[pbr::OriginalName("eManual_retry")] EManualRetry = 1,
///
///忽略
///
[pbr::OriginalName("eManual_ignore")] EManualIgnore = 2,
}
public enum Module_statu {
///
///连接
///
[pbr::OriginalName("eConnected")] EConnected = 0,
///
///连接丢失
///
[pbr::OriginalName("eDisconnected")] EDisconnected = 1,
///
///故障
///
[pbr::OriginalName("eFault")] EFault = 2,
}
#endregion
#region Messages
///
///出入口状态
///
public sealed partial class Entrance_statu : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => 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 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);
}
/// Field number for the "paused" field.
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;
}
}
/// Gets whether the "paused" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasPaused {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "paused" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearPaused() {
_hasBits0 &= ~1;
}
/// Field number for the "parkspace_statu" field.
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;
}
}
/// Gets whether the "parkspace_statu" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasParkspaceStatu {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "parkspace_statu" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearParkspaceStatu() {
_hasBits0 &= ~2;
}
/// Field number for the "dispatch_statu" field.
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;
}
}
/// Gets whether the "dispatch_statu" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasDispatchStatu {
get { return (_hasBits0 & 4) != 0; }
}
/// Clears the value of the "dispatch_statu" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearDispatchStatu() {
_hasBits0 &= ~4;
}
/// Field number for the "notify_statu" field.
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;
}
}
/// Gets whether the "notify_statu" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasNotifyStatu {
get { return (_hasBits0 & 8) != 0; }
}
/// Clears the value of the "notify_statu" field
[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
}
///
///中控状态消息
///
public sealed partial class Central_controller_statu_msg : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Central_controller_statu_msg());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "base_info" field.
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;
}
}
/// Field number for the "entrance_statu_vector" field.
public const int EntranceStatuVectorFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_entranceStatuVector_codec
= pb::FieldCodec.ForMessage(18, global::Message.Entrance_statu.Parser);
private readonly pbc::RepeatedField entranceStatuVector_ = new pbc::RepeatedField();
///
///入口状态(关闭或者开放)
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField EntranceStatuVector {
get { return entranceStatuVector_; }
}
/// Field number for the "export_statu_vector" field.
public const int ExportStatuVectorFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_exportStatuVector_codec
= pb::FieldCodec.ForMessage(26, global::Message.Entrance_statu.Parser);
private readonly pbc::RepeatedField exportStatuVector_ = new pbc::RepeatedField();
///
///出口状态
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField 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
}
///
///出入口手动急停/启动消息
///
public sealed partial class Entrance_manual_operation_msg : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => 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 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);
}
/// Field number for the "base_info" field.
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;
}
}
/// Field number for the "id_struct" field.
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;
}
}
/// Field number for the "process_type" field.
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;
}
}
/// Gets whether the "process_type" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasProcessType {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "process_type" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearProcessType() {
_hasBits0 &= ~1;
}
/// Field number for the "paused" field.
public const int PausedFieldNumber = 4;
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 & 2) != 0) { return paused_; } else { return PausedDefaultValue; } }
set {
_hasBits0 |= 2;
paused_ = value;
}
}
/// Gets whether the "paused" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasPaused {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "paused" field
[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
}
///
///流程手动操作消息
///
public sealed partial class Process_manual_operation_msg : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => 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 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);
}
/// Field number for the "base_info" field.
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;
}
}
/// Field number for the "license" field.
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");
}
}
/// Gets whether the "license" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasLicense {
get { return license_ != null; }
}
/// Clears the value of the "license" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearLicense() {
license_ = null;
}
/// Field number for the "step_type" field.
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;
}
}
/// Gets whether the "step_type" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasStepType {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "step_type" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearStepType() {
_hasBits0 &= ~1;
}
/// Field number for the "operate_type" field.
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;
}
}
/// Gets whether the "operate_type" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasOperateType {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "operate_type" field
[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