Commit 649bd5a3 by xjp0422

增加norad字段

parent a394487f
No preview for this file type
......@@ -409,7 +409,7 @@ namespace Mqtt_AGI
//protobuf CalcReportRet 回复包
CalcReportRet CalcReport = new CalcReportRet();
CalcReport.Norad = Tles.NoradNumber_Int32.ToString();
//JObject CalcRetJson = new JObject();//最后返回的预报信息 包含xxd data report
//JArray ReportArray = new JArray();//生成report json对象
Console.WriteLine("产生圈次任务总数:"+List_Forecast_Dots_Aer_Facility_0.Count);
......
......@@ -37,24 +37,24 @@ namespace Satllite.Protobuf.Agi {
"GAcgASgBEg4KBm1heEF6aRgIIAEoARIOCgZtaW5FbGUYCSABKAESDgoGbWF4",
"RWxlGAogASgBEg8KB21pbkRpc3QYCyABKAESDwoHbWF4RGlzdBgMIAEoARIS",
"Cgpwb2ludFNsaWNlGA0gASgBEhQKDHBvaW50Q29sbGVjdBgOIAEoBRINCgVs",
"aW5lMBgPIAEoCRINCgVsaW5lMRgQIAEoCRINCgVsaW5lMhgRIAEoCSJlCg1D",
"aW5lMBgPIAEoCRINCgVsaW5lMRgQIAEoCRINCgVsaW5lMhgRIAEoCSJ0Cg1D",
"YWxjUmVwb3J0UmV0EigKBHh4ZHMYASADKAsyGi5zYXRsbGl0ZS5wcm90b2J1",
"Zi5hZ2kuWHhkEioKBXRhc2tzGAIgAygLMhsuc2F0bGxpdGUucHJvdG9idWYu",
"YWdpLlRhc2siOwoDWHhkEgoKAmR0GAEgASgJEgsKA2xvbhgCIAEoARILCgNs",
"YXQYAyABKAESDgoGaGVpZ2h0GAQgASgBIrIBCgRUYXNrEg0KBXN0YXJ0GAEg",
"ASgJEgsKA2VuZBgCIAEoCRIQCghzdGFydEF6aRgDIAEoARIOCgZlbmRBemkY",
"BCABKAESEAoIc3RhcnRFbGUYBSABKAESDgoGbWF4RWxlGAYgASgBEg8KB21p",
"bkRpc3QYByABKAESDwoHbWF4RGlzdBgIIAEoARIoCgRvYnNzGAkgAygLMhou",
"c2F0bGxpdGUucHJvdG9idWYuYWdpLk9icyI6CgNPYnMSCgoCZHQYASABKAkS",
"CwoDYXppGAIgASgBEgsKA2VsZRgDIAEoARINCgVyYW5nZRgEIAEoAUIMWgou",
"Li9wcm90b2dvYgZwcm90bzM="));
"YWdpLlRhc2sSDQoFbm9yYWQYAyABKAkiOwoDWHhkEgoKAmR0GAEgASgJEgsK",
"A2xvbhgCIAEoARILCgNsYXQYAyABKAESDgoGaGVpZ2h0GAQgASgBIrIBCgRU",
"YXNrEg0KBXN0YXJ0GAEgASgJEgsKA2VuZBgCIAEoCRIQCghzdGFydEF6aRgD",
"IAEoARIOCgZlbmRBemkYBCABKAESEAoIc3RhcnRFbGUYBSABKAESDgoGbWF4",
"RWxlGAYgASgBEg8KB21pbkRpc3QYByABKAESDwoHbWF4RGlzdBgIIAEoARIo",
"CgRvYnNzGAkgAygLMhouc2F0bGxpdGUucHJvdG9idWYuYWdpLk9icyI6CgNP",
"YnMSCgoCZHQYASABKAkSCwoDYXppGAIgASgBEgsKA2VsZRgDIAEoARINCgVy",
"YW5nZRgEIAEoAUIMWgouLi9wcm90b2dvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.CalcTleReq), global::Satllite.Protobuf.Agi.CalcTleReq.Parser, new[]{ "NoradID", "NoradName", "Year", "Month", "Day", "Hour", "Minute", "Second", "A", "Ee", "I", "Raan", "Arc", "M" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.CalcTleRet), global::Satllite.Protobuf.Agi.CalcTleRet.Parser, new[]{ "Line0", "Line1", "Line2" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.CalcReportReq), global::Satllite.Protobuf.Agi.CalcReportReq.Parser, new[]{ "StartDateTime", "EndDateTime", "Latitude", "Longitude", "Altitude", "Slice", "MinAzi", "MaxAzi", "MinEle", "MaxEle", "MinDist", "MaxDist", "PointSlice", "PointCollect", "Line0", "Line1", "Line2" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.CalcReportRet), global::Satllite.Protobuf.Agi.CalcReportRet.Parser, new[]{ "Xxds", "Tasks" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.CalcReportRet), global::Satllite.Protobuf.Agi.CalcReportRet.Parser, new[]{ "Xxds", "Tasks", "Norad" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.Xxd), global::Satllite.Protobuf.Agi.Xxd.Parser, new[]{ "Dt", "Lon", "Lat", "Height" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.Task), global::Satllite.Protobuf.Agi.Task.Parser, new[]{ "Start", "End", "StartAzi", "EndAzi", "StartEle", "MaxEle", "MinDist", "MaxDist", "Obss" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.Agi.Obs), global::Satllite.Protobuf.Agi.Obs.Parser, new[]{ "Dt", "Azi", "Ele", "Range" }, null, null, null, null)
......@@ -1928,6 +1928,7 @@ namespace Satllite.Protobuf.Agi {
public CalcReportRet(CalcReportRet other) : this() {
xxds_ = other.xxds_.Clone();
tasks_ = other.tasks_.Clone();
norad_ = other.norad_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
......@@ -1965,6 +1966,21 @@ namespace Satllite.Protobuf.Agi {
get { return tasks_; }
}
/// <summary>Field number for the "norad" field.</summary>
public const int NoradFieldNumber = 3;
private string norad_ = "";
/// <summary>
///卫星编号
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Norad {
get { return norad_; }
set {
norad_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
......@@ -1982,6 +1998,7 @@ namespace Satllite.Protobuf.Agi {
}
if(!xxds_.Equals(other.xxds_)) return false;
if(!tasks_.Equals(other.tasks_)) return false;
if (Norad != other.Norad) return false;
return Equals(_unknownFields, other._unknownFields);
}
......@@ -1991,6 +2008,7 @@ namespace Satllite.Protobuf.Agi {
int hash = 1;
hash ^= xxds_.GetHashCode();
hash ^= tasks_.GetHashCode();
if (Norad.Length != 0) hash ^= Norad.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
......@@ -2011,6 +2029,10 @@ namespace Satllite.Protobuf.Agi {
#else
xxds_.WriteTo(output, _repeated_xxds_codec);
tasks_.WriteTo(output, _repeated_tasks_codec);
if (Norad.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Norad);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
......@@ -2023,6 +2045,10 @@ namespace Satllite.Protobuf.Agi {
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
xxds_.WriteTo(ref output, _repeated_xxds_codec);
tasks_.WriteTo(ref output, _repeated_tasks_codec);
if (Norad.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Norad);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
......@@ -2035,6 +2061,9 @@ namespace Satllite.Protobuf.Agi {
int size = 0;
size += xxds_.CalculateSize(_repeated_xxds_codec);
size += tasks_.CalculateSize(_repeated_tasks_codec);
if (Norad.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Norad);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
......@@ -2049,6 +2078,9 @@ namespace Satllite.Protobuf.Agi {
}
xxds_.Add(other.xxds_);
tasks_.Add(other.tasks_);
if (other.Norad.Length != 0) {
Norad = other.Norad;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
......@@ -2072,6 +2104,10 @@ namespace Satllite.Protobuf.Agi {
tasks_.AddEntriesFrom(input, _repeated_tasks_codec);
break;
}
case 26: {
Norad = input.ReadString();
break;
}
}
}
#endif
......@@ -2095,6 +2131,10 @@ namespace Satllite.Protobuf.Agi {
tasks_.AddEntriesFrom(ref input, _repeated_tasks_codec);
break;
}
case 26: {
Norad = input.ReadString();
break;
}
}
}
}
......
......@@ -93,7 +93,8 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
PROTOBUF_CONSTEXPR CalcReportRet::CalcReportRet(
::_pbi::ConstantInitialized)
: xxds_()
, tasks_(){}
, tasks_()
, norad_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){}
struct CalcReportRetDefaultTypeInternal {
PROTOBUF_CONSTEXPR CalcReportRetDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
......@@ -221,6 +222,7 @@ const uint32_t TableStruct_mod_2dagi_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::agi::CalcReportRet, xxds_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::agi::CalcReportRet, tasks_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::agi::CalcReportRet, norad_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::agi::Xxd, _internal_metadata_),
~0u, // no _extensions_
......@@ -262,9 +264,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 20, -1, -1, sizeof(::satllite::protobuf::agi::CalcTleRet)},
{ 29, -1, -1, sizeof(::satllite::protobuf::agi::CalcReportReq)},
{ 52, -1, -1, sizeof(::satllite::protobuf::agi::CalcReportRet)},
{ 60, -1, -1, sizeof(::satllite::protobuf::agi::Xxd)},
{ 70, -1, -1, sizeof(::satllite::protobuf::agi::Task)},
{ 85, -1, -1, sizeof(::satllite::protobuf::agi::Obs)},
{ 61, -1, -1, sizeof(::satllite::protobuf::agi::Xxd)},
{ 71, -1, -1, sizeof(::satllite::protobuf::agi::Task)},
{ 86, -1, -1, sizeof(::satllite::protobuf::agi::Obs)},
};
static const ::_pb::Message* const file_default_instances[] = {
......@@ -293,22 +295,22 @@ const char descriptor_table_protodef_mod_2dagi_2eproto[] PROTOBUF_SECTION_VARIAB
"le\030\t \001(\001\022\016\n\006maxEle\030\n \001(\001\022\017\n\007minDist\030\013 \001("
"\001\022\017\n\007maxDist\030\014 \001(\001\022\022\n\npointSlice\030\r \001(\001\022\024"
"\n\014pointCollect\030\016 \001(\005\022\r\n\005line0\030\017 \001(\t\022\r\n\005l"
"ine1\030\020 \001(\t\022\r\n\005line2\030\021 \001(\t\"e\n\rCalcReportR"
"ine1\030\020 \001(\t\022\r\n\005line2\030\021 \001(\t\"t\n\rCalcReportR"
"et\022(\n\004xxds\030\001 \003(\0132\032.satllite.protobuf.agi"
".Xxd\022*\n\005tasks\030\002 \003(\0132\033.satllite.protobuf."
"agi.Task\";\n\003Xxd\022\n\n\002dt\030\001 \001(\t\022\013\n\003lon\030\002 \001(\001"
"\022\013\n\003lat\030\003 \001(\001\022\016\n\006height\030\004 \001(\001\"\262\001\n\004Task\022\r"
"\n\005start\030\001 \001(\t\022\013\n\003end\030\002 \001(\t\022\020\n\010startAzi\030\003"
" \001(\001\022\016\n\006endAzi\030\004 \001(\001\022\020\n\010startEle\030\005 \001(\001\022\016"
"\n\006maxEle\030\006 \001(\001\022\017\n\007minDist\030\007 \001(\001\022\017\n\007maxDi"
"st\030\010 \001(\001\022(\n\004obss\030\t \003(\0132\032.satllite.protob"
"uf.agi.Obs\":\n\003Obs\022\n\n\002dt\030\001 \001(\t\022\013\n\003azi\030\002 \001"
"(\001\022\013\n\003ele\030\003 \001(\001\022\r\n\005range\030\004 \001(\001B\014Z\n../pro"
"togob\006proto3"
"agi.Task\022\r\n\005norad\030\003 \001(\t\";\n\003Xxd\022\n\n\002dt\030\001 \001"
"(\t\022\013\n\003lon\030\002 \001(\001\022\013\n\003lat\030\003 \001(\001\022\016\n\006height\030\004"
" \001(\001\"\262\001\n\004Task\022\r\n\005start\030\001 \001(\t\022\013\n\003end\030\002 \001("
"\t\022\020\n\010startAzi\030\003 \001(\001\022\016\n\006endAzi\030\004 \001(\001\022\020\n\010s"
"tartEle\030\005 \001(\001\022\016\n\006maxEle\030\006 \001(\001\022\017\n\007minDist"
"\030\007 \001(\001\022\017\n\007maxDist\030\010 \001(\001\022(\n\004obss\030\t \003(\0132\032."
"satllite.protobuf.agi.Obs\":\n\003Obs\022\n\n\002dt\030\001"
" \001(\t\022\013\n\003azi\030\002 \001(\001\022\013\n\003ele\030\003 \001(\001\022\r\n\005range\030"
"\004 \001(\001B\014Z\n../protogob\006proto3"
;
static ::_pbi::once_flag descriptor_table_mod_2dagi_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_mod_2dagi_2eproto = {
false, false, 1052, descriptor_table_protodef_mod_2dagi_2eproto,
false, false, 1067, descriptor_table_protodef_mod_2dagi_2eproto,
"mod-agi.proto",
&descriptor_table_mod_2dagi_2eproto_once, nullptr, 0, 7,
schemas, file_default_instances, TableStruct_mod_2dagi_2eproto::offsets,
......@@ -2003,10 +2005,22 @@ CalcReportRet::CalcReportRet(const CalcReportRet& from)
xxds_(from.xxds_),
tasks_(from.tasks_) {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
norad_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
norad_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_norad().empty()) {
norad_.Set(from._internal_norad(),
GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:satllite.protobuf.agi.CalcReportRet)
}
inline void CalcReportRet::SharedCtor() {
norad_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
norad_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
CalcReportRet::~CalcReportRet() {
......@@ -2020,6 +2034,7 @@ CalcReportRet::~CalcReportRet() {
inline void CalcReportRet::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
norad_.Destroy();
}
void CalcReportRet::SetCachedSize(int size) const {
......@@ -2034,6 +2049,7 @@ void CalcReportRet::Clear() {
xxds_.Clear();
tasks_.Clear();
norad_.ClearToEmpty();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
......@@ -2069,6 +2085,16 @@ const char* CalcReportRet::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else
goto handle_unusual;
continue;
// string norad = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_norad();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "satllite.protobuf.agi.CalcReportRet.norad"));
} else
goto handle_unusual;
continue;
default:
goto handle_unusual;
} // switch
......@@ -2114,6 +2140,16 @@ uint8_t* CalcReportRet::_InternalSerialize(
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
// string norad = 3;
if (!this->_internal_norad().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_norad().data(), static_cast<int>(this->_internal_norad().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"satllite.protobuf.agi.CalcReportRet.norad");
target = stream->WriteStringMaybeAliased(
3, this->_internal_norad(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
......@@ -2144,6 +2180,13 @@ size_t CalcReportRet::ByteSizeLong() const {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
// string norad = 3;
if (!this->_internal_norad().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_norad());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
......@@ -2168,6 +2211,9 @@ void CalcReportRet::MergeFrom(const CalcReportRet& from) {
xxds_.MergeFrom(from.xxds_);
tasks_.MergeFrom(from.tasks_);
if (!from._internal_norad().empty()) {
_internal_set_norad(from._internal_norad());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
......@@ -2184,9 +2230,15 @@ bool CalcReportRet::IsInitialized() const {
void CalcReportRet::InternalSwap(CalcReportRet* other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
xxds_.InternalSwap(&other->xxds_);
tasks_.InternalSwap(&other->tasks_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&norad_, lhs_arena,
&other->norad_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata CalcReportRet::GetMetadata() const {
......
......@@ -1022,6 +1022,7 @@ class CalcReportRet final :
enum : int {
kXxdsFieldNumber = 1,
kTasksFieldNumber = 2,
kNoradFieldNumber = 3,
};
// repeated .satllite.protobuf.agi.Xxd xxds = 1;
int xxds_size() const;
......@@ -1059,6 +1060,20 @@ class CalcReportRet final :
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::satllite::protobuf::agi::Task >&
tasks() const;
// string norad = 3;
void clear_norad();
const std::string& norad() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_norad(ArgT0&& arg0, ArgT... args);
std::string* mutable_norad();
PROTOBUF_NODISCARD std::string* release_norad();
void set_allocated_norad(std::string* norad);
private:
const std::string& _internal_norad() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_norad(const std::string& value);
std::string* _internal_mutable_norad();
public:
// @@protoc_insertion_point(class_scope:satllite.protobuf.agi.CalcReportRet)
private:
class _Internal;
......@@ -1068,6 +1083,7 @@ class CalcReportRet final :
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::satllite::protobuf::agi::Xxd > xxds_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::satllite::protobuf::agi::Task > tasks_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr norad_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_mod_2dagi_2eproto;
};
......@@ -2736,6 +2752,56 @@ CalcReportRet::tasks() const {
return tasks_;
}
// string norad = 3;
inline void CalcReportRet::clear_norad() {
norad_.ClearToEmpty();
}
inline const std::string& CalcReportRet::norad() const {
// @@protoc_insertion_point(field_get:satllite.protobuf.agi.CalcReportRet.norad)
return _internal_norad();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void CalcReportRet::set_norad(ArgT0&& arg0, ArgT... args) {
norad_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:satllite.protobuf.agi.CalcReportRet.norad)
}
inline std::string* CalcReportRet::mutable_norad() {
std::string* _s = _internal_mutable_norad();
// @@protoc_insertion_point(field_mutable:satllite.protobuf.agi.CalcReportRet.norad)
return _s;
}
inline const std::string& CalcReportRet::_internal_norad() const {
return norad_.Get();
}
inline void CalcReportRet::_internal_set_norad(const std::string& value) {
norad_.Set(value, GetArenaForAllocation());
}
inline std::string* CalcReportRet::_internal_mutable_norad() {
return norad_.Mutable(GetArenaForAllocation());
}
inline std::string* CalcReportRet::release_norad() {
// @@protoc_insertion_point(field_release:satllite.protobuf.agi.CalcReportRet.norad)
return norad_.Release();
}
inline void CalcReportRet::set_allocated_norad(std::string* norad) {
if (norad != nullptr) {
} else {
}
norad_.SetAllocated(norad, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (norad_.IsDefault()) {
norad_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:satllite.protobuf.agi.CalcReportRet.norad)
}
// -------------------------------------------------------------------
// Xxd
......
......@@ -48,6 +48,7 @@ message CalcReportReq{
message CalcReportRet{
repeated Xxd xxds = 1; //星下点
repeated Task tasks = 2; //任务预报信息
string norad=3; //卫星编号
}
//星下点
message Xxd{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment