// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: mod-task.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#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;
/// <summary>Holder for reflection information generated from mod-task.proto</summary>
public static partial class ModTaskReflection {

  #region Descriptor
  /// <summary>File descriptor for mod-task.proto</summary>
  public static pbr::FileDescriptor Descriptor {
    get { return descriptor; }
  }
  private static pbr::FileDescriptor descriptor;

  static ModTaskReflection() {
    byte[] descriptorData = global::System.Convert.FromBase64String(
        string.Concat(
          "Cg5tb2QtdGFzay5wcm90byKaAQoPUmVxVGFza0ZvcmVjYXN0EhEKCXNhdGVs",
          "bGl0ZRgBIAMoBRIMCgRzaXRlGAIgASgFEg0KBXNsaWNlGAMgASgBEhMKC21p",
          "bkVsZUFuZ2xlGAQgASgBEg0KBXN0YXJ0GAUgASgJEgsKA2VuZBgGIAEoCRIZ",
          "CgVncmFkZRgHIAEoDjIKLlRhc2tHcmFkZRILCgN1aWQYCCABKAUihwEKC1Jl",
          "cVRhc2tMaXN0EhsKBnN0YXR1cxgBIAMoDjILLlRhc2tTdGF0dXMSEgoKY29k",
          "ZVNlYXJjaBgCIAEoCRIQCghub1NlYXJjaBgDIAEoCRIZCgVncmFkZRgEIAEo",
          "DjIKLlRhc2tHcmFkZRINCgVzdGFydBgFIAEoCRILCgNlbmQYBiABKAkijgMK",
          "DlJldFRhc2tFbGVtZW50EgoKAmlkGAEgASgFEgoKAm5vGAIgASgJEgsKA3NJ",
          "ZBgDIAEoCRIOCgZzTm9yYWQYBCABKAkSDQoFc05hbWUYBSABKAkSDgoGY2ly",
          "Y2xlGAYgASgFEg8KB3N0YXJ0RHQYByABKAkSDQoFZW5kRHQYCCABKAkSEAoI",
          "ZHVyYXRpb24YCSABKAUSGwoGc3RhdHVzGAogASgOMgsuVGFza1N0YXR1cxIV",
          "Cg1zdGFydEF6aUFuZ2xlGAsgASgBEhMKC2VuZEF6aUFuZ2xlGAwgASgBEhUK",
          "DXN0YXJ0RWxlQW5nbGUYDSABKAESEwoLbWF4RWxlQW5nbGUYDiABKAESDwoH",
          "bWluRGlzdBgPIAEoARIPCgdtYXhEaXN0GBAgASgBEhAKCGNvbmZsaWN0GBEg",
          "ASgIEhAKCHNob3J0YWdlGBIgASgIEhkKBWdyYWRlGBMgASgOMgouVGFza0dy",
          "YWRlEg4KBnNpdGVJZBgUIAEoBRIQCghzaXRlTmFtZRgVIAEoCSIlCgpSZXFU",
          "YXNrRGVsEgoKAmlkGAEgAygFEgsKA3VpZBgCIAEoBSIeChBSZXFUYXNrRGV0",
          "YWlsRGF0EgoKAmlkGAEgASgFIkwKClJldFRhc2tEYXQSDAoEZGF0ZRgBIAEo",
          "CRIMCgR0aW1lGAIgASgJEhAKCGF6aUFuZ2xlGAMgASgJEhAKCGVsZUFuZ2xl",
          "GAQgASgJIiAKElJlcVRhc2tEZXRhaWxQb2ludBIKCgJpZBgBIAEoBSJyCgxS",
          "ZXRUYXNrUG9pbnQSDAoEZGF0ZRgBIAEoCRIMCgR0aW1lGAIgASgJEgkKAXgY",
          "AyABKAkSCQoBeRgEIAEoCRIJCgF6GAUgASgJEgsKA2xhdBgGIAEoCRILCgNs",
          "b24YByABKAkSCwoDYWx0GAggASgJImAKDVJlcVRhc2tVcGRhdGUSCgoCaWQY",
          "ASADKAUSCwoDdWlkGAIgASgFEhsKBnN0YXR1cxgDIAEoDjILLlRhc2tTdGF0",
          "dXMSGQoFZ3JhZGUYBCABKA4yCi5UYXNrR3JhZGUqcgoKVGFza1N0YXR1cxIO",
          "CgpTdGF0dXNJbml0EAASDgoKU3RhdHVzVW5kbxABEhEKDVN0YXR1c1dhaXRp",
          "bmcQAhIPCgtTdGF0dXNEb2luZxADEg4KClN0YXR1c0RvbmUQBBIQCgxTdGF0",
          "dXNGYWlsZWQQCipQCglUYXNrR3JhZGUSDQoJR3JhZGVOb25lEAASDwoLR3Jh",
          "ZGVOb3JtYWwQARISCg5HcmFkZUltcG9ydGFudBACEg8KC0dyYWRlVXJnZW50",
          "EANCDFoKLi4vcHJvdG9nb2IGcHJvdG8z"));
    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
        new pbr::FileDescriptor[] { },
        new pbr::GeneratedClrTypeInfo(new[] {typeof(global::TaskStatus), typeof(global::TaskGrade), }, null, new pbr::GeneratedClrTypeInfo[] {
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskForecast), global::ReqTaskForecast.Parser, new[]{ "Satellite", "Site", "Slice", "MinEleAngle", "Start", "End", "Grade", "Uid" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskList), global::ReqTaskList.Parser, new[]{ "Status", "CodeSearch", "NoSearch", "Grade", "Start", "End" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::RetTaskElement), global::RetTaskElement.Parser, new[]{ "Id", "No", "SId", "SNorad", "SName", "Circle", "StartDt", "EndDt", "Duration", "Status", "StartAziAngle", "EndAziAngle", "StartEleAngle", "MaxEleAngle", "MinDist", "MaxDist", "Conflict", "Shortage", "Grade", "SiteId", "SiteName" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskDel), global::ReqTaskDel.Parser, new[]{ "Id", "Uid" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskDetailDat), global::ReqTaskDetailDat.Parser, new[]{ "Id" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::RetTaskDat), global::RetTaskDat.Parser, new[]{ "Date", "Time", "AziAngle", "EleAngle" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskDetailPoint), global::ReqTaskDetailPoint.Parser, new[]{ "Id" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::RetTaskPoint), global::RetTaskPoint.Parser, new[]{ "Date", "Time", "X", "Y", "Z", "Lat", "Lon", "Alt" }, null, null, null, null),
          new pbr::GeneratedClrTypeInfo(typeof(global::ReqTaskUpdate), global::ReqTaskUpdate.Parser, new[]{ "Id", "Uid", "Status", "Grade" }, null, null, null, null)
        }));
  }
  #endregion

}
#region Enums
/// <summary>
/// 任务状态
/// </summary>
public enum TaskStatus {
  /// <summary>
  /// 未编排0，
  /// </summary>
  [pbr::OriginalName("StatusInit")] StatusInit = 0,
  /// <summary>
  ///未下达（编排中）1、
  /// </summary>
  [pbr::OriginalName("StatusUndo")] StatusUndo = 1,
  /// <summary>
  ///已下达（等待执行）2、
  /// </summary>
  [pbr::OriginalName("StatusWaiting")] StatusWaiting = 2,
  /// <summary>
  /// 执行中3，
  /// </summary>
  [pbr::OriginalName("StatusDoing")] StatusDoing = 3,
  /// <summary>
  ///已执行4、
  /// </summary>
  [pbr::OriginalName("StatusDone")] StatusDone = 4,
  /// <summary>
  /// 执行失败10
  /// </summary>
  [pbr::OriginalName("StatusFailed")] StatusFailed = 10,
}

/// <summary>
/// 任务等级
/// </summary>
public enum TaskGrade {
  [pbr::OriginalName("GradeNone")] GradeNone = 0,
  /// <summary>
  ///普通
  /// </summary>
  [pbr::OriginalName("GradeNormal")] GradeNormal = 1,
  /// <summary>
  ///重要
  /// </summary>
  [pbr::OriginalName("GradeImportant")] GradeImportant = 2,
  /// <summary>
  /// 必控
  /// </summary>
  [pbr::OriginalName("GradeUrgent")] GradeUrgent = 3,
}

#endregion

#region Messages
/// <summary>
/// 前端请求：任务预报
/// tableId: Task_Forecast
/// </summary>
public sealed partial class ReqTaskForecast : pb::IMessage<ReqTaskForecast>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskForecast> _parser = new pb::MessageParser<ReqTaskForecast>(() => new ReqTaskForecast());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskForecast> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.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 ReqTaskForecast() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskForecast(ReqTaskForecast other) : this() {
    satellite_ = other.satellite_.Clone();
    site_ = other.site_;
    slice_ = other.slice_;
    minEleAngle_ = other.minEleAngle_;
    start_ = other.start_;
    end_ = other.end_;
    grade_ = other.grade_;
    uid_ = other.uid_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskForecast Clone() {
    return new ReqTaskForecast(this);
  }

  /// <summary>Field number for the "satellite" field.</summary>
  public const int SatelliteFieldNumber = 1;
  private static readonly pb::FieldCodec<int> _repeated_satellite_codec
      = pb::FieldCodec.ForInt32(10);
  private readonly pbc::RepeatedField<int> satellite_ = new pbc::RepeatedField<int>();
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public pbc::RepeatedField<int> Satellite {
    get { return satellite_; }
  }

  /// <summary>Field number for the "site" field.</summary>
  public const int SiteFieldNumber = 2;
  private int site_;
  /// <summary>
  /// site id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Site {
    get { return site_; }
    set {
      site_ = value;
    }
  }

  /// <summary>Field number for the "slice" field.</summary>
  public const int SliceFieldNumber = 3;
  private double slice_;
  /// <summary>
  /// 预报间隔:slice (1.00 ),
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double Slice {
    get { return slice_; }
    set {
      slice_ = value;
    }
  }

  /// <summary>Field number for the "minEleAngle" field.</summary>
  public const int MinEleAngleFieldNumber = 4;
  private double minEleAngle_;
  /// <summary>
  /// 最低仰角:minEleAngle (5),
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double MinEleAngle {
    get { return minEleAngle_; }
    set {
      minEleAngle_ = value;
    }
  }

  /// <summary>Field number for the "start" field.</summary>
  public const int StartFieldNumber = 5;
  private string start_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Start {
    get { return start_; }
    set {
      start_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "end" field.</summary>
  public const int EndFieldNumber = 6;
  private string end_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string End {
    get { return end_; }
    set {
      end_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "grade" field.</summary>
  public const int GradeFieldNumber = 7;
  private global::TaskGrade grade_ = global::TaskGrade.GradeNone;
  /// <summary>
  /// 如果是3，则为紧急任务，紧急任务的状态为1
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskGrade Grade {
    get { return grade_; }
    set {
      grade_ = value;
    }
  }

  /// <summary>Field number for the "uid" field.</summary>
  public const int UidFieldNumber = 8;
  private int uid_;
  /// <summary>
  /// 当前登录的用户id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Uid {
    get { return uid_; }
    set {
      uid_ = value;
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskForecast);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskForecast other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if(!satellite_.Equals(other.satellite_)) return false;
    if (Site != other.Site) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Slice, other.Slice)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MinEleAngle, other.MinEleAngle)) return false;
    if (Start != other.Start) return false;
    if (End != other.End) return false;
    if (Grade != other.Grade) return false;
    if (Uid != other.Uid) 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;
    hash ^= satellite_.GetHashCode();
    if (Site != 0) hash ^= Site.GetHashCode();
    if (Slice != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Slice);
    if (MinEleAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MinEleAngle);
    if (Start.Length != 0) hash ^= Start.GetHashCode();
    if (End.Length != 0) hash ^= End.GetHashCode();
    if (Grade != global::TaskGrade.GradeNone) hash ^= Grade.GetHashCode();
    if (Uid != 0) hash ^= Uid.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
    satellite_.WriteTo(output, _repeated_satellite_codec);
    if (Site != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Site);
    }
    if (Slice != 0D) {
      output.WriteRawTag(25);
      output.WriteDouble(Slice);
    }
    if (MinEleAngle != 0D) {
      output.WriteRawTag(33);
      output.WriteDouble(MinEleAngle);
    }
    if (Start.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Start);
    }
    if (End.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(End);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(56);
      output.WriteEnum((int) Grade);
    }
    if (Uid != 0) {
      output.WriteRawTag(64);
      output.WriteInt32(Uid);
    }
    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) {
    satellite_.WriteTo(ref output, _repeated_satellite_codec);
    if (Site != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Site);
    }
    if (Slice != 0D) {
      output.WriteRawTag(25);
      output.WriteDouble(Slice);
    }
    if (MinEleAngle != 0D) {
      output.WriteRawTag(33);
      output.WriteDouble(MinEleAngle);
    }
    if (Start.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Start);
    }
    if (End.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(End);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(56);
      output.WriteEnum((int) Grade);
    }
    if (Uid != 0) {
      output.WriteRawTag(64);
      output.WriteInt32(Uid);
    }
    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;
    size += satellite_.CalculateSize(_repeated_satellite_codec);
    if (Site != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Site);
    }
    if (Slice != 0D) {
      size += 1 + 8;
    }
    if (MinEleAngle != 0D) {
      size += 1 + 8;
    }
    if (Start.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Start);
    }
    if (End.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(End);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Grade);
    }
    if (Uid != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Uid);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskForecast other) {
    if (other == null) {
      return;
    }
    satellite_.Add(other.satellite_);
    if (other.Site != 0) {
      Site = other.Site;
    }
    if (other.Slice != 0D) {
      Slice = other.Slice;
    }
    if (other.MinEleAngle != 0D) {
      MinEleAngle = other.MinEleAngle;
    }
    if (other.Start.Length != 0) {
      Start = other.Start;
    }
    if (other.End.Length != 0) {
      End = other.End;
    }
    if (other.Grade != global::TaskGrade.GradeNone) {
      Grade = other.Grade;
    }
    if (other.Uid != 0) {
      Uid = other.Uid;
    }
    _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:
        case 8: {
          satellite_.AddEntriesFrom(input, _repeated_satellite_codec);
          break;
        }
        case 16: {
          Site = input.ReadInt32();
          break;
        }
        case 25: {
          Slice = input.ReadDouble();
          break;
        }
        case 33: {
          MinEleAngle = input.ReadDouble();
          break;
        }
        case 42: {
          Start = input.ReadString();
          break;
        }
        case 50: {
          End = input.ReadString();
          break;
        }
        case 56: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 64: {
          Uid = input.ReadInt32();
          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:
        case 8: {
          satellite_.AddEntriesFrom(ref input, _repeated_satellite_codec);
          break;
        }
        case 16: {
          Site = input.ReadInt32();
          break;
        }
        case 25: {
          Slice = input.ReadDouble();
          break;
        }
        case 33: {
          MinEleAngle = input.ReadDouble();
          break;
        }
        case 42: {
          Start = input.ReadString();
          break;
        }
        case 50: {
          End = input.ReadString();
          break;
        }
        case 56: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 64: {
          Uid = input.ReadInt32();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 前端请求：任务列表
/// tableId: Task_List
/// </summary>
public sealed partial class ReqTaskList : pb::IMessage<ReqTaskList>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskList> _parser = new pb::MessageParser<ReqTaskList>(() => new ReqTaskList());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskList> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.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 ReqTaskList() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskList(ReqTaskList other) : this() {
    status_ = other.status_.Clone();
    codeSearch_ = other.codeSearch_;
    noSearch_ = other.noSearch_;
    grade_ = other.grade_;
    start_ = other.start_;
    end_ = other.end_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskList Clone() {
    return new ReqTaskList(this);
  }

  /// <summary>Field number for the "status" field.</summary>
  public const int StatusFieldNumber = 1;
  private static readonly pb::FieldCodec<global::TaskStatus> _repeated_status_codec
      = pb::FieldCodec.ForEnum(10, x => (int) x, x => (global::TaskStatus) x);
  private readonly pbc::RepeatedField<global::TaskStatus> status_ = new pbc::RepeatedField<global::TaskStatus>();
  /// <summary>
  /// 1-编排列表（未下达）; 2,3,4,10-库存任务: 已下达、已完成
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public pbc::RepeatedField<global::TaskStatus> Status {
    get { return status_; }
  }

  /// <summary>Field number for the "codeSearch" field.</summary>
  public const int CodeSearchFieldNumber = 2;
  private string codeSearch_ = "";
  /// <summary>
  /// 卫星编号模糊查询
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string CodeSearch {
    get { return codeSearch_; }
    set {
      codeSearch_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "noSearch" field.</summary>
  public const int NoSearchFieldNumber = 3;
  private string noSearch_ = "";
  /// <summary>
  /// 任务编号模糊查询
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string NoSearch {
    get { return noSearch_; }
    set {
      noSearch_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "grade" field.</summary>
  public const int GradeFieldNumber = 4;
  private global::TaskGrade grade_ = global::TaskGrade.GradeNone;
  /// <summary>
  /// 可选；紧急任务查询时必填
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskGrade Grade {
    get { return grade_; }
    set {
      grade_ = value;
    }
  }

  /// <summary>Field number for the "start" field.</summary>
  public const int StartFieldNumber = 5;
  private string start_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Start {
    get { return start_; }
    set {
      start_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "end" field.</summary>
  public const int EndFieldNumber = 6;
  private string end_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string End {
    get { return end_; }
    set {
      end_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskList);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskList other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if(!status_.Equals(other.status_)) return false;
    if (CodeSearch != other.CodeSearch) return false;
    if (NoSearch != other.NoSearch) return false;
    if (Grade != other.Grade) return false;
    if (Start != other.Start) return false;
    if (End != other.End) 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;
    hash ^= status_.GetHashCode();
    if (CodeSearch.Length != 0) hash ^= CodeSearch.GetHashCode();
    if (NoSearch.Length != 0) hash ^= NoSearch.GetHashCode();
    if (Grade != global::TaskGrade.GradeNone) hash ^= Grade.GetHashCode();
    if (Start.Length != 0) hash ^= Start.GetHashCode();
    if (End.Length != 0) hash ^= End.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
    status_.WriteTo(output, _repeated_status_codec);
    if (CodeSearch.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(CodeSearch);
    }
    if (NoSearch.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(NoSearch);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(32);
      output.WriteEnum((int) Grade);
    }
    if (Start.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Start);
    }
    if (End.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(End);
    }
    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) {
    status_.WriteTo(ref output, _repeated_status_codec);
    if (CodeSearch.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(CodeSearch);
    }
    if (NoSearch.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(NoSearch);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(32);
      output.WriteEnum((int) Grade);
    }
    if (Start.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Start);
    }
    if (End.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(End);
    }
    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;
    size += status_.CalculateSize(_repeated_status_codec);
    if (CodeSearch.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(CodeSearch);
    }
    if (NoSearch.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(NoSearch);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Grade);
    }
    if (Start.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Start);
    }
    if (End.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(End);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskList other) {
    if (other == null) {
      return;
    }
    status_.Add(other.status_);
    if (other.CodeSearch.Length != 0) {
      CodeSearch = other.CodeSearch;
    }
    if (other.NoSearch.Length != 0) {
      NoSearch = other.NoSearch;
    }
    if (other.Grade != global::TaskGrade.GradeNone) {
      Grade = other.Grade;
    }
    if (other.Start.Length != 0) {
      Start = other.Start;
    }
    if (other.End.Length != 0) {
      End = other.End;
    }
    _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:
        case 8: {
          status_.AddEntriesFrom(input, _repeated_status_codec);
          break;
        }
        case 18: {
          CodeSearch = input.ReadString();
          break;
        }
        case 26: {
          NoSearch = input.ReadString();
          break;
        }
        case 32: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 42: {
          Start = input.ReadString();
          break;
        }
        case 50: {
          End = input.ReadString();
          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:
        case 8: {
          status_.AddEntriesFrom(ref input, _repeated_status_codec);
          break;
        }
        case 18: {
          CodeSearch = input.ReadString();
          break;
        }
        case 26: {
          NoSearch = input.ReadString();
          break;
        }
        case 32: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 42: {
          Start = input.ReadString();
          break;
        }
        case 50: {
          End = input.ReadString();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 后端返回：任务列表
/// tableId: Task_Forecast/Task_List
/// </summary>
public sealed partial class RetTaskElement : pb::IMessage<RetTaskElement>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<RetTaskElement> _parser = new pb::MessageParser<RetTaskElement>(() => new RetTaskElement());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<RetTaskElement> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.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 RetTaskElement() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskElement(RetTaskElement other) : this() {
    id_ = other.id_;
    no_ = other.no_;
    sId_ = other.sId_;
    sNorad_ = other.sNorad_;
    sName_ = other.sName_;
    circle_ = other.circle_;
    startDt_ = other.startDt_;
    endDt_ = other.endDt_;
    duration_ = other.duration_;
    status_ = other.status_;
    startAziAngle_ = other.startAziAngle_;
    endAziAngle_ = other.endAziAngle_;
    startEleAngle_ = other.startEleAngle_;
    maxEleAngle_ = other.maxEleAngle_;
    minDist_ = other.minDist_;
    maxDist_ = other.maxDist_;
    conflict_ = other.conflict_;
    shortage_ = other.shortage_;
    grade_ = other.grade_;
    siteId_ = other.siteId_;
    siteName_ = other.siteName_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskElement Clone() {
    return new RetTaskElement(this);
  }

  /// <summary>Field number for the "id" field.</summary>
  public const int IdFieldNumber = 1;
  private int id_;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Id {
    get { return id_; }
    set {
      id_ = value;
    }
  }

  /// <summary>Field number for the "no" field.</summary>
  public const int NoFieldNumber = 2;
  private string no_ = "";
  /// <summary>
  /// 编号
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string No {
    get { return no_; }
    set {
      no_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "sId" field.</summary>
  public const int SIdFieldNumber = 3;
  private string sId_ = "";
  /// <summary>
  /// 卫星id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string SId {
    get { return sId_; }
    set {
      sId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "sNorad" field.</summary>
  public const int SNoradFieldNumber = 4;
  private string sNorad_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string SNorad {
    get { return sNorad_; }
    set {
      sNorad_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "sName" field.</summary>
  public const int SNameFieldNumber = 5;
  private string sName_ = "";
  /// <summary>
  /// 卫星名称
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string SName {
    get { return sName_; }
    set {
      sName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "circle" field.</summary>
  public const int CircleFieldNumber = 6;
  private int circle_;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Circle {
    get { return circle_; }
    set {
      circle_ = value;
    }
  }

  /// <summary>Field number for the "startDt" field.</summary>
  public const int StartDtFieldNumber = 7;
  private string startDt_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string StartDt {
    get { return startDt_; }
    set {
      startDt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "endDt" field.</summary>
  public const int EndDtFieldNumber = 8;
  private string endDt_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string EndDt {
    get { return endDt_; }
    set {
      endDt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "duration" field.</summary>
  public const int DurationFieldNumber = 9;
  private int duration_;
  /// <summary>
  /// 持续时长s
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Duration {
    get { return duration_; }
    set {
      duration_ = value;
    }
  }

  /// <summary>Field number for the "status" field.</summary>
  public const int StatusFieldNumber = 10;
  private global::TaskStatus status_ = global::TaskStatus.StatusInit;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskStatus Status {
    get { return status_; }
    set {
      status_ = value;
    }
  }

  /// <summary>Field number for the "startAziAngle" field.</summary>
  public const int StartAziAngleFieldNumber = 11;
  private double startAziAngle_;
  /// <summary>
  /// 起始方位
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double StartAziAngle {
    get { return startAziAngle_; }
    set {
      startAziAngle_ = value;
    }
  }

  /// <summary>Field number for the "endAziAngle" field.</summary>
  public const int EndAziAngleFieldNumber = 12;
  private double endAziAngle_;
  /// <summary>
  /// 结束方位角
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double EndAziAngle {
    get { return endAziAngle_; }
    set {
      endAziAngle_ = value;
    }
  }

  /// <summary>Field number for the "startEleAngle" field.</summary>
  public const int StartEleAngleFieldNumber = 13;
  private double startEleAngle_;
  /// <summary>
  /// 初始仰角
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double StartEleAngle {
    get { return startEleAngle_; }
    set {
      startEleAngle_ = value;
    }
  }

  /// <summary>Field number for the "maxEleAngle" field.</summary>
  public const int MaxEleAngleFieldNumber = 14;
  private double maxEleAngle_;
  /// <summary>
  /// 最大仰角
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double MaxEleAngle {
    get { return maxEleAngle_; }
    set {
      maxEleAngle_ = value;
    }
  }

  /// <summary>Field number for the "minDist" field.</summary>
  public const int MinDistFieldNumber = 15;
  private double minDist_;
  /// <summary>
  /// 最近
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double MinDist {
    get { return minDist_; }
    set {
      minDist_ = value;
    }
  }

  /// <summary>Field number for the "maxDist" field.</summary>
  public const int MaxDistFieldNumber = 16;
  private double maxDist_;
  /// <summary>
  /// 最远
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public double MaxDist {
    get { return maxDist_; }
    set {
      maxDist_ = value;
    }
  }

  /// <summary>Field number for the "conflict" field.</summary>
  public const int ConflictFieldNumber = 17;
  private bool conflict_;
  /// <summary>
  /// 是否冲突
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Conflict {
    get { return conflict_; }
    set {
      conflict_ = value;
    }
  }

  /// <summary>Field number for the "shortage" field.</summary>
  public const int ShortageFieldNumber = 18;
  private bool shortage_;
  /// <summary>
  /// 是否不足3分钟
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Shortage {
    get { return shortage_; }
    set {
      shortage_ = value;
    }
  }

  /// <summary>Field number for the "grade" field.</summary>
  public const int GradeFieldNumber = 19;
  private global::TaskGrade grade_ = global::TaskGrade.GradeNone;
  /// <summary>
  ///等级
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskGrade Grade {
    get { return grade_; }
    set {
      grade_ = value;
    }
  }

  /// <summary>Field number for the "siteId" field.</summary>
  public const int SiteIdFieldNumber = 20;
  private int siteId_;
  /// <summary>
  ///站点id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int SiteId {
    get { return siteId_; }
    set {
      siteId_ = value;
    }
  }

  /// <summary>Field number for the "siteName" field.</summary>
  public const int SiteNameFieldNumber = 21;
  private string siteName_ = "";
  /// <summary>
  ///站点name
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string SiteName {
    get { return siteName_; }
    set {
      siteName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as RetTaskElement);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(RetTaskElement other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Id != other.Id) return false;
    if (No != other.No) return false;
    if (SId != other.SId) return false;
    if (SNorad != other.SNorad) return false;
    if (SName != other.SName) return false;
    if (Circle != other.Circle) return false;
    if (StartDt != other.StartDt) return false;
    if (EndDt != other.EndDt) return false;
    if (Duration != other.Duration) return false;
    if (Status != other.Status) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(StartAziAngle, other.StartAziAngle)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(EndAziAngle, other.EndAziAngle)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(StartEleAngle, other.StartEleAngle)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxEleAngle, other.MaxEleAngle)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MinDist, other.MinDist)) return false;
    if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxDist, other.MaxDist)) return false;
    if (Conflict != other.Conflict) return false;
    if (Shortage != other.Shortage) return false;
    if (Grade != other.Grade) return false;
    if (SiteId != other.SiteId) return false;
    if (SiteName != other.SiteName) 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 (Id != 0) hash ^= Id.GetHashCode();
    if (No.Length != 0) hash ^= No.GetHashCode();
    if (SId.Length != 0) hash ^= SId.GetHashCode();
    if (SNorad.Length != 0) hash ^= SNorad.GetHashCode();
    if (SName.Length != 0) hash ^= SName.GetHashCode();
    if (Circle != 0) hash ^= Circle.GetHashCode();
    if (StartDt.Length != 0) hash ^= StartDt.GetHashCode();
    if (EndDt.Length != 0) hash ^= EndDt.GetHashCode();
    if (Duration != 0) hash ^= Duration.GetHashCode();
    if (Status != global::TaskStatus.StatusInit) hash ^= Status.GetHashCode();
    if (StartAziAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(StartAziAngle);
    if (EndAziAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(EndAziAngle);
    if (StartEleAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(StartEleAngle);
    if (MaxEleAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxEleAngle);
    if (MinDist != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MinDist);
    if (MaxDist != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxDist);
    if (Conflict != false) hash ^= Conflict.GetHashCode();
    if (Shortage != false) hash ^= Shortage.GetHashCode();
    if (Grade != global::TaskGrade.GradeNone) hash ^= Grade.GetHashCode();
    if (SiteId != 0) hash ^= SiteId.GetHashCode();
    if (SiteName.Length != 0) hash ^= SiteName.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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    if (No.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(No);
    }
    if (SId.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(SId);
    }
    if (SNorad.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(SNorad);
    }
    if (SName.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(SName);
    }
    if (Circle != 0) {
      output.WriteRawTag(48);
      output.WriteInt32(Circle);
    }
    if (StartDt.Length != 0) {
      output.WriteRawTag(58);
      output.WriteString(StartDt);
    }
    if (EndDt.Length != 0) {
      output.WriteRawTag(66);
      output.WriteString(EndDt);
    }
    if (Duration != 0) {
      output.WriteRawTag(72);
      output.WriteInt32(Duration);
    }
    if (Status != global::TaskStatus.StatusInit) {
      output.WriteRawTag(80);
      output.WriteEnum((int) Status);
    }
    if (StartAziAngle != 0D) {
      output.WriteRawTag(89);
      output.WriteDouble(StartAziAngle);
    }
    if (EndAziAngle != 0D) {
      output.WriteRawTag(97);
      output.WriteDouble(EndAziAngle);
    }
    if (StartEleAngle != 0D) {
      output.WriteRawTag(105);
      output.WriteDouble(StartEleAngle);
    }
    if (MaxEleAngle != 0D) {
      output.WriteRawTag(113);
      output.WriteDouble(MaxEleAngle);
    }
    if (MinDist != 0D) {
      output.WriteRawTag(121);
      output.WriteDouble(MinDist);
    }
    if (MaxDist != 0D) {
      output.WriteRawTag(129, 1);
      output.WriteDouble(MaxDist);
    }
    if (Conflict != false) {
      output.WriteRawTag(136, 1);
      output.WriteBool(Conflict);
    }
    if (Shortage != false) {
      output.WriteRawTag(144, 1);
      output.WriteBool(Shortage);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(152, 1);
      output.WriteEnum((int) Grade);
    }
    if (SiteId != 0) {
      output.WriteRawTag(160, 1);
      output.WriteInt32(SiteId);
    }
    if (SiteName.Length != 0) {
      output.WriteRawTag(170, 1);
      output.WriteString(SiteName);
    }
    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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    if (No.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(No);
    }
    if (SId.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(SId);
    }
    if (SNorad.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(SNorad);
    }
    if (SName.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(SName);
    }
    if (Circle != 0) {
      output.WriteRawTag(48);
      output.WriteInt32(Circle);
    }
    if (StartDt.Length != 0) {
      output.WriteRawTag(58);
      output.WriteString(StartDt);
    }
    if (EndDt.Length != 0) {
      output.WriteRawTag(66);
      output.WriteString(EndDt);
    }
    if (Duration != 0) {
      output.WriteRawTag(72);
      output.WriteInt32(Duration);
    }
    if (Status != global::TaskStatus.StatusInit) {
      output.WriteRawTag(80);
      output.WriteEnum((int) Status);
    }
    if (StartAziAngle != 0D) {
      output.WriteRawTag(89);
      output.WriteDouble(StartAziAngle);
    }
    if (EndAziAngle != 0D) {
      output.WriteRawTag(97);
      output.WriteDouble(EndAziAngle);
    }
    if (StartEleAngle != 0D) {
      output.WriteRawTag(105);
      output.WriteDouble(StartEleAngle);
    }
    if (MaxEleAngle != 0D) {
      output.WriteRawTag(113);
      output.WriteDouble(MaxEleAngle);
    }
    if (MinDist != 0D) {
      output.WriteRawTag(121);
      output.WriteDouble(MinDist);
    }
    if (MaxDist != 0D) {
      output.WriteRawTag(129, 1);
      output.WriteDouble(MaxDist);
    }
    if (Conflict != false) {
      output.WriteRawTag(136, 1);
      output.WriteBool(Conflict);
    }
    if (Shortage != false) {
      output.WriteRawTag(144, 1);
      output.WriteBool(Shortage);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(152, 1);
      output.WriteEnum((int) Grade);
    }
    if (SiteId != 0) {
      output.WriteRawTag(160, 1);
      output.WriteInt32(SiteId);
    }
    if (SiteName.Length != 0) {
      output.WriteRawTag(170, 1);
      output.WriteString(SiteName);
    }
    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 (Id != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
    }
    if (No.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(No);
    }
    if (SId.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(SId);
    }
    if (SNorad.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(SNorad);
    }
    if (SName.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(SName);
    }
    if (Circle != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Circle);
    }
    if (StartDt.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(StartDt);
    }
    if (EndDt.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(EndDt);
    }
    if (Duration != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration);
    }
    if (Status != global::TaskStatus.StatusInit) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
    }
    if (StartAziAngle != 0D) {
      size += 1 + 8;
    }
    if (EndAziAngle != 0D) {
      size += 1 + 8;
    }
    if (StartEleAngle != 0D) {
      size += 1 + 8;
    }
    if (MaxEleAngle != 0D) {
      size += 1 + 8;
    }
    if (MinDist != 0D) {
      size += 1 + 8;
    }
    if (MaxDist != 0D) {
      size += 2 + 8;
    }
    if (Conflict != false) {
      size += 2 + 1;
    }
    if (Shortage != false) {
      size += 2 + 1;
    }
    if (Grade != global::TaskGrade.GradeNone) {
      size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Grade);
    }
    if (SiteId != 0) {
      size += 2 + pb::CodedOutputStream.ComputeInt32Size(SiteId);
    }
    if (SiteName.Length != 0) {
      size += 2 + pb::CodedOutputStream.ComputeStringSize(SiteName);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(RetTaskElement other) {
    if (other == null) {
      return;
    }
    if (other.Id != 0) {
      Id = other.Id;
    }
    if (other.No.Length != 0) {
      No = other.No;
    }
    if (other.SId.Length != 0) {
      SId = other.SId;
    }
    if (other.SNorad.Length != 0) {
      SNorad = other.SNorad;
    }
    if (other.SName.Length != 0) {
      SName = other.SName;
    }
    if (other.Circle != 0) {
      Circle = other.Circle;
    }
    if (other.StartDt.Length != 0) {
      StartDt = other.StartDt;
    }
    if (other.EndDt.Length != 0) {
      EndDt = other.EndDt;
    }
    if (other.Duration != 0) {
      Duration = other.Duration;
    }
    if (other.Status != global::TaskStatus.StatusInit) {
      Status = other.Status;
    }
    if (other.StartAziAngle != 0D) {
      StartAziAngle = other.StartAziAngle;
    }
    if (other.EndAziAngle != 0D) {
      EndAziAngle = other.EndAziAngle;
    }
    if (other.StartEleAngle != 0D) {
      StartEleAngle = other.StartEleAngle;
    }
    if (other.MaxEleAngle != 0D) {
      MaxEleAngle = other.MaxEleAngle;
    }
    if (other.MinDist != 0D) {
      MinDist = other.MinDist;
    }
    if (other.MaxDist != 0D) {
      MaxDist = other.MaxDist;
    }
    if (other.Conflict != false) {
      Conflict = other.Conflict;
    }
    if (other.Shortage != false) {
      Shortage = other.Shortage;
    }
    if (other.Grade != global::TaskGrade.GradeNone) {
      Grade = other.Grade;
    }
    if (other.SiteId != 0) {
      SiteId = other.SiteId;
    }
    if (other.SiteName.Length != 0) {
      SiteName = other.SiteName;
    }
    _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: {
          Id = input.ReadInt32();
          break;
        }
        case 18: {
          No = input.ReadString();
          break;
        }
        case 26: {
          SId = input.ReadString();
          break;
        }
        case 34: {
          SNorad = input.ReadString();
          break;
        }
        case 42: {
          SName = input.ReadString();
          break;
        }
        case 48: {
          Circle = input.ReadInt32();
          break;
        }
        case 58: {
          StartDt = input.ReadString();
          break;
        }
        case 66: {
          EndDt = input.ReadString();
          break;
        }
        case 72: {
          Duration = input.ReadInt32();
          break;
        }
        case 80: {
          Status = (global::TaskStatus) input.ReadEnum();
          break;
        }
        case 89: {
          StartAziAngle = input.ReadDouble();
          break;
        }
        case 97: {
          EndAziAngle = input.ReadDouble();
          break;
        }
        case 105: {
          StartEleAngle = input.ReadDouble();
          break;
        }
        case 113: {
          MaxEleAngle = input.ReadDouble();
          break;
        }
        case 121: {
          MinDist = input.ReadDouble();
          break;
        }
        case 129: {
          MaxDist = input.ReadDouble();
          break;
        }
        case 136: {
          Conflict = input.ReadBool();
          break;
        }
        case 144: {
          Shortage = input.ReadBool();
          break;
        }
        case 152: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 160: {
          SiteId = input.ReadInt32();
          break;
        }
        case 170: {
          SiteName = input.ReadString();
          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: {
          Id = input.ReadInt32();
          break;
        }
        case 18: {
          No = input.ReadString();
          break;
        }
        case 26: {
          SId = input.ReadString();
          break;
        }
        case 34: {
          SNorad = input.ReadString();
          break;
        }
        case 42: {
          SName = input.ReadString();
          break;
        }
        case 48: {
          Circle = input.ReadInt32();
          break;
        }
        case 58: {
          StartDt = input.ReadString();
          break;
        }
        case 66: {
          EndDt = input.ReadString();
          break;
        }
        case 72: {
          Duration = input.ReadInt32();
          break;
        }
        case 80: {
          Status = (global::TaskStatus) input.ReadEnum();
          break;
        }
        case 89: {
          StartAziAngle = input.ReadDouble();
          break;
        }
        case 97: {
          EndAziAngle = input.ReadDouble();
          break;
        }
        case 105: {
          StartEleAngle = input.ReadDouble();
          break;
        }
        case 113: {
          MaxEleAngle = input.ReadDouble();
          break;
        }
        case 121: {
          MinDist = input.ReadDouble();
          break;
        }
        case 129: {
          MaxDist = input.ReadDouble();
          break;
        }
        case 136: {
          Conflict = input.ReadBool();
          break;
        }
        case 144: {
          Shortage = input.ReadBool();
          break;
        }
        case 152: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
        case 160: {
          SiteId = input.ReadInt32();
          break;
        }
        case 170: {
          SiteName = input.ReadString();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 前端请求：任务删除
/// tableId: Task_Del
/// </summary>
public sealed partial class ReqTaskDel : pb::IMessage<ReqTaskDel>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskDel> _parser = new pb::MessageParser<ReqTaskDel>(() => new ReqTaskDel());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskDel> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.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 ReqTaskDel() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDel(ReqTaskDel other) : this() {
    id_ = other.id_.Clone();
    uid_ = other.uid_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDel Clone() {
    return new ReqTaskDel(this);
  }

  /// <summary>Field number for the "id" field.</summary>
  public const int IdFieldNumber = 1;
  private static readonly pb::FieldCodec<int> _repeated_id_codec
      = pb::FieldCodec.ForInt32(10);
  private readonly pbc::RepeatedField<int> id_ = new pbc::RepeatedField<int>();
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public pbc::RepeatedField<int> Id {
    get { return id_; }
  }

  /// <summary>Field number for the "uid" field.</summary>
  public const int UidFieldNumber = 2;
  private int uid_;
  /// <summary>
  /// 当前登录的用户id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Uid {
    get { return uid_; }
    set {
      uid_ = value;
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskDel);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskDel other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if(!id_.Equals(other.id_)) return false;
    if (Uid != other.Uid) 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;
    hash ^= id_.GetHashCode();
    if (Uid != 0) hash ^= Uid.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
    id_.WriteTo(output, _repeated_id_codec);
    if (Uid != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Uid);
    }
    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) {
    id_.WriteTo(ref output, _repeated_id_codec);
    if (Uid != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Uid);
    }
    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;
    size += id_.CalculateSize(_repeated_id_codec);
    if (Uid != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Uid);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskDel other) {
    if (other == null) {
      return;
    }
    id_.Add(other.id_);
    if (other.Uid != 0) {
      Uid = other.Uid;
    }
    _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:
        case 8: {
          id_.AddEntriesFrom(input, _repeated_id_codec);
          break;
        }
        case 16: {
          Uid = input.ReadInt32();
          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:
        case 8: {
          id_.AddEntriesFrom(ref input, _repeated_id_codec);
          break;
        }
        case 16: {
          Uid = input.ReadInt32();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 前端请求：任务俯仰方位数据
/// tableId: Task_Detail_Dat
/// </summary>
public sealed partial class ReqTaskDetailDat : pb::IMessage<ReqTaskDetailDat>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskDetailDat> _parser = new pb::MessageParser<ReqTaskDetailDat>(() => new ReqTaskDetailDat());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskDetailDat> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.Descriptor.MessageTypes[4]; }
  }

  [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 ReqTaskDetailDat() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDetailDat(ReqTaskDetailDat other) : this() {
    id_ = other.id_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDetailDat Clone() {
    return new ReqTaskDetailDat(this);
  }

  /// <summary>Field number for the "id" field.</summary>
  public const int IdFieldNumber = 1;
  private int id_;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Id {
    get { return id_; }
    set {
      id_ = value;
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskDetailDat);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskDetailDat other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    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 (Id != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskDetailDat other) {
    if (other == null) {
      return;
    }
    if (other.Id != 0) {
      Id = other.Id;
    }
    _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: {
          Id = input.ReadInt32();
          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: {
          Id = input.ReadInt32();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 后端返回：任务俯仰方位数据
/// tableId: Task_Detail_Dat
/// </summary>
public sealed partial class RetTaskDat : pb::IMessage<RetTaskDat>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<RetTaskDat> _parser = new pb::MessageParser<RetTaskDat>(() => new RetTaskDat());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<RetTaskDat> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.Descriptor.MessageTypes[5]; }
  }

  [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 RetTaskDat() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskDat(RetTaskDat other) : this() {
    date_ = other.date_;
    time_ = other.time_;
    aziAngle_ = other.aziAngle_;
    eleAngle_ = other.eleAngle_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskDat Clone() {
    return new RetTaskDat(this);
  }

  /// <summary>Field number for the "date" field.</summary>
  public const int DateFieldNumber = 1;
  private string date_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Date {
    get { return date_; }
    set {
      date_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "time" field.</summary>
  public const int TimeFieldNumber = 2;
  private string time_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Time {
    get { return time_; }
    set {
      time_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "aziAngle" field.</summary>
  public const int AziAngleFieldNumber = 3;
  private string aziAngle_ = "";
  /// <summary>
  /// 方位角
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string AziAngle {
    get { return aziAngle_; }
    set {
      aziAngle_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "eleAngle" field.</summary>
  public const int EleAngleFieldNumber = 4;
  private string eleAngle_ = "";
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string EleAngle {
    get { return eleAngle_; }
    set {
      eleAngle_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as RetTaskDat);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(RetTaskDat other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Date != other.Date) return false;
    if (Time != other.Time) return false;
    if (AziAngle != other.AziAngle) return false;
    if (EleAngle != other.EleAngle) 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 (Date.Length != 0) hash ^= Date.GetHashCode();
    if (Time.Length != 0) hash ^= Time.GetHashCode();
    if (AziAngle.Length != 0) hash ^= AziAngle.GetHashCode();
    if (EleAngle.Length != 0) hash ^= EleAngle.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 (Date.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Date);
    }
    if (Time.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(Time);
    }
    if (AziAngle.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(AziAngle);
    }
    if (EleAngle.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(EleAngle);
    }
    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 (Date.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Date);
    }
    if (Time.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(Time);
    }
    if (AziAngle.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(AziAngle);
    }
    if (EleAngle.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(EleAngle);
    }
    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 (Date.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Date);
    }
    if (Time.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Time);
    }
    if (AziAngle.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(AziAngle);
    }
    if (EleAngle.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(EleAngle);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(RetTaskDat other) {
    if (other == null) {
      return;
    }
    if (other.Date.Length != 0) {
      Date = other.Date;
    }
    if (other.Time.Length != 0) {
      Time = other.Time;
    }
    if (other.AziAngle.Length != 0) {
      AziAngle = other.AziAngle;
    }
    if (other.EleAngle.Length != 0) {
      EleAngle = other.EleAngle;
    }
    _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: {
          Date = input.ReadString();
          break;
        }
        case 18: {
          Time = input.ReadString();
          break;
        }
        case 26: {
          AziAngle = input.ReadString();
          break;
        }
        case 34: {
          EleAngle = input.ReadString();
          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: {
          Date = input.ReadString();
          break;
        }
        case 18: {
          Time = input.ReadString();
          break;
        }
        case 26: {
          AziAngle = input.ReadString();
          break;
        }
        case 34: {
          EleAngle = input.ReadString();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 前端请求：任务星下点数据
/// tableId: Task_Detail_Point
/// </summary>
public sealed partial class ReqTaskDetailPoint : pb::IMessage<ReqTaskDetailPoint>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskDetailPoint> _parser = new pb::MessageParser<ReqTaskDetailPoint>(() => new ReqTaskDetailPoint());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskDetailPoint> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.Descriptor.MessageTypes[6]; }
  }

  [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 ReqTaskDetailPoint() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDetailPoint(ReqTaskDetailPoint other) : this() {
    id_ = other.id_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskDetailPoint Clone() {
    return new ReqTaskDetailPoint(this);
  }

  /// <summary>Field number for the "id" field.</summary>
  public const int IdFieldNumber = 1;
  private int id_;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Id {
    get { return id_; }
    set {
      id_ = value;
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskDetailPoint);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskDetailPoint other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    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 (Id != 0) {
      output.WriteRawTag(8);
      output.WriteInt32(Id);
    }
    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 (Id != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskDetailPoint other) {
    if (other == null) {
      return;
    }
    if (other.Id != 0) {
      Id = other.Id;
    }
    _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: {
          Id = input.ReadInt32();
          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: {
          Id = input.ReadInt32();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 后端返回：任务星下点数据
/// tableId: Task_Detail_Point
/// </summary>
public sealed partial class RetTaskPoint : pb::IMessage<RetTaskPoint>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<RetTaskPoint> _parser = new pb::MessageParser<RetTaskPoint>(() => new RetTaskPoint());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<RetTaskPoint> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.Descriptor.MessageTypes[7]; }
  }

  [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 RetTaskPoint() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskPoint(RetTaskPoint other) : this() {
    date_ = other.date_;
    time_ = other.time_;
    x_ = other.x_;
    y_ = other.y_;
    z_ = other.z_;
    lat_ = other.lat_;
    lon_ = other.lon_;
    alt_ = other.alt_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public RetTaskPoint Clone() {
    return new RetTaskPoint(this);
  }

  /// <summary>Field number for the "date" field.</summary>
  public const int DateFieldNumber = 1;
  private string date_ = "";
  /// <summary>
  /// 年月日
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Date {
    get { return date_; }
    set {
      date_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "time" field.</summary>
  public const int TimeFieldNumber = 2;
  private string time_ = "";
  /// <summary>
  /// 时分秒
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Time {
    get { return time_; }
    set {
      time_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "x" field.</summary>
  public const int XFieldNumber = 3;
  private string x_ = "";
  /// <summary>
  /// x坐标
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string X {
    get { return x_; }
    set {
      x_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "y" field.</summary>
  public const int YFieldNumber = 4;
  private string y_ = "";
  /// <summary>
  /// y坐标
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Y {
    get { return y_; }
    set {
      y_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "z" field.</summary>
  public const int ZFieldNumber = 5;
  private string z_ = "";
  /// <summary>
  /// z坐标
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Z {
    get { return z_; }
    set {
      z_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "lat" field.</summary>
  public const int LatFieldNumber = 6;
  private string lat_ = "";
  /// <summary>
  /// 经度
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Lat {
    get { return lat_; }
    set {
      lat_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "lon" field.</summary>
  public const int LonFieldNumber = 7;
  private string lon_ = "";
  /// <summary>
  /// 纬度
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Lon {
    get { return lon_; }
    set {
      lon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  /// <summary>Field number for the "alt" field.</summary>
  public const int AltFieldNumber = 8;
  private string alt_ = "";
  /// <summary>
  /// 高度
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public string Alt {
    get { return alt_; }
    set {
      alt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as RetTaskPoint);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(RetTaskPoint other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if (Date != other.Date) return false;
    if (Time != other.Time) return false;
    if (X != other.X) return false;
    if (Y != other.Y) return false;
    if (Z != other.Z) return false;
    if (Lat != other.Lat) return false;
    if (Lon != other.Lon) return false;
    if (Alt != other.Alt) 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 (Date.Length != 0) hash ^= Date.GetHashCode();
    if (Time.Length != 0) hash ^= Time.GetHashCode();
    if (X.Length != 0) hash ^= X.GetHashCode();
    if (Y.Length != 0) hash ^= Y.GetHashCode();
    if (Z.Length != 0) hash ^= Z.GetHashCode();
    if (Lat.Length != 0) hash ^= Lat.GetHashCode();
    if (Lon.Length != 0) hash ^= Lon.GetHashCode();
    if (Alt.Length != 0) hash ^= Alt.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 (Date.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Date);
    }
    if (Time.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(Time);
    }
    if (X.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(X);
    }
    if (Y.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(Y);
    }
    if (Z.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Z);
    }
    if (Lat.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(Lat);
    }
    if (Lon.Length != 0) {
      output.WriteRawTag(58);
      output.WriteString(Lon);
    }
    if (Alt.Length != 0) {
      output.WriteRawTag(66);
      output.WriteString(Alt);
    }
    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 (Date.Length != 0) {
      output.WriteRawTag(10);
      output.WriteString(Date);
    }
    if (Time.Length != 0) {
      output.WriteRawTag(18);
      output.WriteString(Time);
    }
    if (X.Length != 0) {
      output.WriteRawTag(26);
      output.WriteString(X);
    }
    if (Y.Length != 0) {
      output.WriteRawTag(34);
      output.WriteString(Y);
    }
    if (Z.Length != 0) {
      output.WriteRawTag(42);
      output.WriteString(Z);
    }
    if (Lat.Length != 0) {
      output.WriteRawTag(50);
      output.WriteString(Lat);
    }
    if (Lon.Length != 0) {
      output.WriteRawTag(58);
      output.WriteString(Lon);
    }
    if (Alt.Length != 0) {
      output.WriteRawTag(66);
      output.WriteString(Alt);
    }
    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 (Date.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Date);
    }
    if (Time.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Time);
    }
    if (X.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(X);
    }
    if (Y.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Y);
    }
    if (Z.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Z);
    }
    if (Lat.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Lat);
    }
    if (Lon.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Lon);
    }
    if (Alt.Length != 0) {
      size += 1 + pb::CodedOutputStream.ComputeStringSize(Alt);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(RetTaskPoint other) {
    if (other == null) {
      return;
    }
    if (other.Date.Length != 0) {
      Date = other.Date;
    }
    if (other.Time.Length != 0) {
      Time = other.Time;
    }
    if (other.X.Length != 0) {
      X = other.X;
    }
    if (other.Y.Length != 0) {
      Y = other.Y;
    }
    if (other.Z.Length != 0) {
      Z = other.Z;
    }
    if (other.Lat.Length != 0) {
      Lat = other.Lat;
    }
    if (other.Lon.Length != 0) {
      Lon = other.Lon;
    }
    if (other.Alt.Length != 0) {
      Alt = other.Alt;
    }
    _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: {
          Date = input.ReadString();
          break;
        }
        case 18: {
          Time = input.ReadString();
          break;
        }
        case 26: {
          X = input.ReadString();
          break;
        }
        case 34: {
          Y = input.ReadString();
          break;
        }
        case 42: {
          Z = input.ReadString();
          break;
        }
        case 50: {
          Lat = input.ReadString();
          break;
        }
        case 58: {
          Lon = input.ReadString();
          break;
        }
        case 66: {
          Alt = input.ReadString();
          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: {
          Date = input.ReadString();
          break;
        }
        case 18: {
          Time = input.ReadString();
          break;
        }
        case 26: {
          X = input.ReadString();
          break;
        }
        case 34: {
          Y = input.ReadString();
          break;
        }
        case 42: {
          Z = input.ReadString();
          break;
        }
        case 50: {
          Lat = input.ReadString();
          break;
        }
        case 58: {
          Lon = input.ReadString();
          break;
        }
        case 66: {
          Alt = input.ReadString();
          break;
        }
      }
    }
  }
  #endif

}

/// <summary>
/// 前端请求：变更任务状态，下达任务、加入编排、修改等级
/// tableId: Task_Update
/// </summary>
public sealed partial class ReqTaskUpdate : pb::IMessage<ReqTaskUpdate>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    , pb::IBufferMessage
#endif
{
  private static readonly pb::MessageParser<ReqTaskUpdate> _parser = new pb::MessageParser<ReqTaskUpdate>(() => new ReqTaskUpdate());
  private pb::UnknownFieldSet _unknownFields;
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pb::MessageParser<ReqTaskUpdate> Parser { get { return _parser; } }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public static pbr::MessageDescriptor Descriptor {
    get { return global::ModTaskReflection.Descriptor.MessageTypes[8]; }
  }

  [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 ReqTaskUpdate() {
    OnConstruction();
  }

  partial void OnConstruction();

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskUpdate(ReqTaskUpdate other) : this() {
    id_ = other.id_.Clone();
    uid_ = other.uid_;
    status_ = other.status_;
    grade_ = other.grade_;
    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public ReqTaskUpdate Clone() {
    return new ReqTaskUpdate(this);
  }

  /// <summary>Field number for the "id" field.</summary>
  public const int IdFieldNumber = 1;
  private static readonly pb::FieldCodec<int> _repeated_id_codec
      = pb::FieldCodec.ForInt32(10);
  private readonly pbc::RepeatedField<int> id_ = new pbc::RepeatedField<int>();
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public pbc::RepeatedField<int> Id {
    get { return id_; }
  }

  /// <summary>Field number for the "uid" field.</summary>
  public const int UidFieldNumber = 2;
  private int uid_;
  /// <summary>
  /// 当前登录的用户id
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public int Uid {
    get { return uid_; }
    set {
      uid_ = value;
    }
  }

  /// <summary>Field number for the "status" field.</summary>
  public const int StatusFieldNumber = 3;
  private global::TaskStatus status_ = global::TaskStatus.StatusInit;
  /// <summary>
  /// 修改状态只有：加入编排0-1、下达1-2、取消下达2-1
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskStatus Status {
    get { return status_; }
    set {
      status_ = value;
    }
  }

  /// <summary>Field number for the "grade" field.</summary>
  public const int GradeFieldNumber = 4;
  private global::TaskGrade grade_ = global::TaskGrade.GradeNone;
  /// <summary>
  /// 等级1,2,3
  /// </summary>
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public global::TaskGrade Grade {
    get { return grade_; }
    set {
      grade_ = value;
    }
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public override bool Equals(object other) {
    return Equals(other as ReqTaskUpdate);
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public bool Equals(ReqTaskUpdate other) {
    if (ReferenceEquals(other, null)) {
      return false;
    }
    if (ReferenceEquals(other, this)) {
      return true;
    }
    if(!id_.Equals(other.id_)) return false;
    if (Uid != other.Uid) return false;
    if (Status != other.Status) return false;
    if (Grade != other.Grade) 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;
    hash ^= id_.GetHashCode();
    if (Uid != 0) hash ^= Uid.GetHashCode();
    if (Status != global::TaskStatus.StatusInit) hash ^= Status.GetHashCode();
    if (Grade != global::TaskGrade.GradeNone) hash ^= Grade.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
    id_.WriteTo(output, _repeated_id_codec);
    if (Uid != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Uid);
    }
    if (Status != global::TaskStatus.StatusInit) {
      output.WriteRawTag(24);
      output.WriteEnum((int) Status);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(32);
      output.WriteEnum((int) Grade);
    }
    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) {
    id_.WriteTo(ref output, _repeated_id_codec);
    if (Uid != 0) {
      output.WriteRawTag(16);
      output.WriteInt32(Uid);
    }
    if (Status != global::TaskStatus.StatusInit) {
      output.WriteRawTag(24);
      output.WriteEnum((int) Status);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      output.WriteRawTag(32);
      output.WriteEnum((int) Grade);
    }
    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;
    size += id_.CalculateSize(_repeated_id_codec);
    if (Uid != 0) {
      size += 1 + pb::CodedOutputStream.ComputeInt32Size(Uid);
    }
    if (Status != global::TaskStatus.StatusInit) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
    }
    if (Grade != global::TaskGrade.GradeNone) {
      size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Grade);
    }
    if (_unknownFields != null) {
      size += _unknownFields.CalculateSize();
    }
    return size;
  }

  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
  public void MergeFrom(ReqTaskUpdate other) {
    if (other == null) {
      return;
    }
    id_.Add(other.id_);
    if (other.Uid != 0) {
      Uid = other.Uid;
    }
    if (other.Status != global::TaskStatus.StatusInit) {
      Status = other.Status;
    }
    if (other.Grade != global::TaskGrade.GradeNone) {
      Grade = other.Grade;
    }
    _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:
        case 8: {
          id_.AddEntriesFrom(input, _repeated_id_codec);
          break;
        }
        case 16: {
          Uid = input.ReadInt32();
          break;
        }
        case 24: {
          Status = (global::TaskStatus) input.ReadEnum();
          break;
        }
        case 32: {
          Grade = (global::TaskGrade) 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:
        case 8: {
          id_.AddEntriesFrom(ref input, _repeated_id_codec);
          break;
        }
        case 16: {
          Uid = input.ReadInt32();
          break;
        }
        case 24: {
          Status = (global::TaskStatus) input.ReadEnum();
          break;
        }
        case 32: {
          Grade = (global::TaskGrade) input.ReadEnum();
          break;
        }
      }
    }
  }
  #endif

}

#endregion


#endregion Designer generated code
