Commit 4d59c402 by xjp0422

no message

parent ebc5d776
No preview for this file type
......@@ -25,7 +25,6 @@ using uPLibrary.Networking.M2Mqtt;
using uPLibrary.Networking.M2Mqtt.Messages;
using System.Net.Sockets;
using Satllite.Protobuf.Agi;
using Satllite.Protobuf.TDSCmd;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.WellKnownTypes;
......@@ -76,7 +75,7 @@ namespace Mqtt_AGI
for (int messageNum = 0; messageNum < datastruct.Parameters.Count; ++messageNum)
{
Parameter = datastruct.Parameters[messageNum];
if(datastruct.Cmd == TDSCmd.Types.IID.AgiReport)
if(datastruct.InterfaceId == IID.AgiReport)
{
CalcReportReq CalcReport = Parameter.Unpack<CalcReportReq>();
string[] args = { CalcReport.StartDateTime,CalcReport.EndDateTime,
......@@ -89,7 +88,7 @@ namespace Mqtt_AGI
CalcReport.Line0,CalcReport.Line1,CalcReport.Line2};
calc_report(args);//轨道预报
}
else if (datastruct.Cmd == TDSCmd.Types.IID.AgiTle)
else if (datastruct.InterfaceId == IID.AgiTle)
{
CalcTleReq CalcTle = Parameter.Unpack<CalcTleReq>();
string[] args = { CalcTle.NoradID.ToString(), CalcTle.NoradName,
......@@ -241,9 +240,9 @@ namespace Mqtt_AGI
//初始化包配置
TDSCmd MessageSend =new TDSCmd();
MessageSend.Cmd = TDSCmd.Types.IID.AgiTleRespond;
MessageSend.DstSUID = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.SERVER));
MessageSend.SrcSUID = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.AGI));
MessageSend.InterfaceId = IID.AgiTleRespond;
MessageSend.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.SERVER));
MessageSend.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.AGI));
MessageSend.ForwardFlag = 0;//不需要转发
//加载数据段
Any Parameter = Any.Pack(calctleret);
......@@ -567,9 +566,9 @@ namespace Mqtt_AGI
//protobuf begin
//初始化包配置
TDSCmd MessageSend = new TDSCmd();
MessageSend.Cmd = TDSCmd.Types.IID.AgiReportRespond;
MessageSend.DstSUID = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.SERVER));
MessageSend.SrcSUID = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.AGI));
MessageSend.InterfaceId = IID.AgiReportRespond;
MessageSend.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.SERVER));
MessageSend.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeString(LevelUid, systemID.AGI));
MessageSend.ForwardFlag = 0;//不需要转发
//加载数据段
Any Parameter = Any.Pack(CalcReport);
......
......@@ -9,10 +9,8 @@ using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Satllite.Protobuf.TDSCmd {
/// <summary>Holder for reflection information generated from tdscmd.proto</summary>
public static partial class TdscmdReflection {
/// <summary>Holder for reflection information generated from tdscmd.proto</summary>
public static partial class TdscmdReflection {
#region Descriptor
/// <summary>File descriptor for tdscmd.proto</summary>
......@@ -24,36 +22,941 @@ namespace Satllite.Protobuf.TDSCmd {
static TdscmdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cgx0ZHNjbWQucHJvdG8SGHNhdGxsaXRlLnByb3RvYnVmLlREU0NtZBoZZ29v",
"Z2xlL3Byb3RvYnVmL2FueS5wcm90byKuBAoGVERTQ21kEjEKA0NtZBgBIAEo",
"DjIkLnNhdGxsaXRlLnByb3RvYnVmLlREU0NtZC5URFNDbWQuSUlEEg8KB0Rz",
"dFNVSUQYAiABKA0SDwoHU3JjU1VJRBgDIAEoDRITCgtGb3J3YXJkRmxhZxgE",
"IAEoDRIoCgpQYXJhbWV0ZXJzGAUgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFu",
"eSKPAwoDSUlEEgwKCElJRF9CYXNlEAAS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XNlEAASFAoQU1VCU1lTVEVN",
"X1NlcnZlchABEhAKDFNVQlNZU1RFTV9VSRACEhQKEFNVQlNZU1RFTV9EZXZp",
"Y2UQAxIRCg1TVUJTWVNURU1fQUdJEAQSEQoNU1VCU1lTVEVNX09BTRAFEhUK",
"EVNVQlNZU1RFTV9kZWZhdWx0EAYqQQoKRGV2aXN0YXR1cxIPCgtJbml0X3N0",
"YXR1cxAAEgoKBk9ubGluZRABEgsKB09mZmxpbmUQAhIJCgVBbGFybRADQgxa",
"Ci4uL3Byb3RvZ29iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd), global::Satllite.Protobuf.TDSCmd.TDSCmd.Parser, new[]{ "Cmd", "DstSUID", "SrcSUID", "ForwardFlag", "Parameters" }, null, new[]{ typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) }, null, null)
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CodeValue), typeof(global::IID), typeof(global::BROKERAREA), typeof(global::SUBSYSTEM), typeof(global::Devistatus), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::TestParams), global::TestParams.Parser, new[]{ "Key", "Value" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Heartbeat), global::Heartbeat.Parser, new[]{ "Suid", "IidList", "DevStatus" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::TDSCmd), global::TDSCmd.Parser, new[]{ "InterfaceId", "DstSuid", "SrcSuid", "ForwardFlag", "Priority", "RequestIndex", "Ts", "Parameters" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
/// <summary>
///成功失败 枚举
/// </summary>
public enum CodeValue {
[pbr::OriginalName("base_start")] BaseStart = 0,
[pbr::OriginalName("Succeed")] Succeed = 1,
[pbr::OriginalName("Failed")] Failed = 2,
}
public enum IID {
[pbr::OriginalName("IID_Base")] Base = 0,
/// <summary>
///====================== server =============================
/// </summary>
[pbr::OriginalName("IID_Server_Base")] ServerBase = 10000,
/// <summary>
/// common
/// </summary>
[pbr::OriginalName("IID_Server_SyncEnd")] ServerSyncEnd = 10001,
/// <summary>
/// satellite action
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteList")] ServerSatelliteList = 10101,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteList_respond")] ServerSatelliteListRespond = 10102,
[pbr::OriginalName("IID_Server_SatelliteBaseUpdate")] ServerSatelliteBaseUpdate = 10103,
[pbr::OriginalName("IID_Server_SatelliteBaseUpdate_respond")] ServerSatelliteBaseUpdateRespond = 10104,
[pbr::OriginalName("IID_Server_SatellitePriorityUpdate")] ServerSatellitePriorityUpdate = 10105,
[pbr::OriginalName("IID_Server_SatellitePriorityUpdate_respond")] ServerSatellitePriorityUpdateRespond = 10106,
[pbr::OriginalName("IID_Server_SatellitePriorityList")] ServerSatellitePriorityList = 10107,
[pbr::OriginalName("IID_Server_SatellitePriorityList_respond")] ServerSatellitePriorityListRespond = 10108,
[pbr::OriginalName("IID_Server_SatelliteAvailableUpdate")] ServerSatelliteAvailableUpdate = 10109,
[pbr::OriginalName("IID_Server_SatelliteAvailableUpdate_respond")] ServerSatelliteAvailableUpdateRespond = 10110,
[pbr::OriginalName("IID_Server_SatelliteElementUpdate")] ServerSatelliteElementUpdate = 10111,
[pbr::OriginalName("IID_Server_SatelliteElementUpdate_respond")] ServerSatelliteElementUpdateRespond = 10112,
[pbr::OriginalName("IID_Server_SatelliteElementLoad")] ServerSatelliteElementLoad = 10113,
[pbr::OriginalName("IID_Server_SatelliteElementLoad_respond")] ServerSatelliteElementLoadRespond = 10114,
[pbr::OriginalName("IID_Server_SatelliteDel")] ServerSatelliteDel = 10115,
[pbr::OriginalName("IID_Server_SatelliteDel_respond")] ServerSatelliteDelRespond = 10116,
[pbr::OriginalName("IID_Server_SatelliteInstantaneousRootUpdate")] ServerSatelliteInstantaneousRootUpdate = 10117,
[pbr::OriginalName("IID_Server_SatelliteInstantaneousRootUpdate_respond")] ServerSatelliteInstantaneousRootUpdateRespond = 10118,
[pbr::OriginalName("IID_Server_SatelliteListSend")] ServerSatelliteListSend = 10119,
[pbr::OriginalName("IID_Server_SatelliteListSend_respond")] ServerSatelliteListSendRespond = 10120,
[pbr::OriginalName("IID_Server_SatelliteListReceive")] ServerSatelliteListReceive = 10121,
[pbr::OriginalName("IID_Server_SatelliteListReceive_respond")] ServerSatelliteListReceiveRespond = 10122,
/// <summary>
/// 卫星射频/解调参数
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteWorkParamList")] ServerSatelliteWorkParamList = 10201,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteWorkParamList_respond")] ServerSatelliteWorkParamListRespond = 10202,
[pbr::OriginalName("IID_Server_SatelliteWorkParamUpdate")] ServerSatelliteWorkParamUpdate = 10203,
[pbr::OriginalName("IID_Server_SatelliteWorkParamUpdate_respond")] ServerSatelliteWorkParamUpdateRespond = 10204,
[pbr::OriginalName("IID_Server_SatelliteWorkParamDel")] ServerSatelliteWorkParamDel = 10205,
[pbr::OriginalName("IID_Server_SatelliteWorkParamDel_respond")] ServerSatelliteWorkParamDelRespond = 10206,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListSend")] ServerSatelliteWorkParamListSend = 10207,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListSend_respond")] ServerSatelliteWorkParamListSendRespond = 10208,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListReceive")] ServerSatelliteWorkParamListReceive = 10209,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListReceive_respond")] ServerSatelliteWorkParamListReceiveRespond = 10210,
/// <summary>
/// site action
/// </summary>
[pbr::OriginalName("IID_Server_SiteList")] ServerSiteList = 10301,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SiteList_respond")] ServerSiteListRespond = 10302,
[pbr::OriginalName("IID_Server_SiteUpdate")] ServerSiteUpdate = 10303,
[pbr::OriginalName("IID_Server_SiteUpdate_respond")] ServerSiteUpdateRespond = 10304,
[pbr::OriginalName("IID_Server_SiteParamUpdate")] ServerSiteParamUpdate = 10305,
[pbr::OriginalName("IID_Server_SiteParamUpdate_respond")] ServerSiteParamUpdateRespond = 10306,
[pbr::OriginalName("IID_Server_SiteDel")] ServerSiteDel = 10307,
[pbr::OriginalName("IID_Server_SiteDel_respond")] ServerSiteDelRespond = 10308,
[pbr::OriginalName("IID_Server_SiteListSend")] ServerSiteListSend = 10309,
[pbr::OriginalName("IID_Server_SiteListSend_respond")] ServerSiteListSendRespond = 10310,
[pbr::OriginalName("IID_Server_SiteListReceive")] ServerSiteListReceive = 10311,
[pbr::OriginalName("IID_Server_SiteListReceive_respond")] ServerSiteListReceiveRespond = 10312,
/// <summary>
/// task action
/// </summary>
[pbr::OriginalName("IID_Server_TaskList")] ServerTaskList = 10401,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskList_respond")] ServerTaskListRespond = 10402,
[pbr::OriginalName("IID_Server_TaskForecast")] ServerTaskForecast = 10403,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskForecast_respond")] ServerTaskForecastRespond = 10404,
[pbr::OriginalName("IID_Server_TaskUpdate")] ServerTaskUpdate = 10405,
[pbr::OriginalName("IID_Server_TaskUpdate_respond")] ServerTaskUpdateRespond = 10406,
[pbr::OriginalName("IID_Server_TaskDel")] ServerTaskDel = 10407,
[pbr::OriginalName("IID_Server_TaskDel_respond")] ServerTaskDelRespond = 10408,
[pbr::OriginalName("IID_Server_TaskDetailDat")] ServerTaskDetailDat = 10409,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskDetailDat_respond")] ServerTaskDetailDatRespond = 10410,
[pbr::OriginalName("IID_Server_TaskDetailPoint")] ServerTaskDetailPoint = 10411,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskDetailPoint_respond")] ServerTaskDetailPointRespond = 10412,
[pbr::OriginalName("IID_Server_TaskPause")] ServerTaskPause = 10413,
[pbr::OriginalName("IID_Server_TaskPause_respond")] ServerTaskPauseRespond = 10414,
[pbr::OriginalName("IID_Server_TaskRestart")] ServerTaskRestart = 10415,
[pbr::OriginalName("IID_Server_TaskRestart_respond")] ServerTaskRestartRespond = 10416,
[pbr::OriginalName("IID_Server_TaskHandleConflict")] ServerTaskHandleConflict = 10417,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskHandleConflict_respond")] ServerTaskHandleConflictRespond = 10418,
[pbr::OriginalName("IID_Server_TaskHandModeSwitch")] ServerTaskHandModeSwitch = 10419,
[pbr::OriginalName("IID_Server_TaskHandModeSwitch_respond")] ServerTaskHandModeSwitchRespond = 10420,
[pbr::OriginalName("IID_Server_TaskIndex")] ServerTaskIndex = 10421,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskIndex_respond")] ServerTaskIndexRespond = 10422,
[pbr::OriginalName("IID_Server_TaskListSend")] ServerTaskListSend = 10423,
[pbr::OriginalName("IID_Server_TaskListSend_respond")] ServerTaskListSendRespond = 10424,
[pbr::OriginalName("IID_Server_TaskListReceive")] ServerTaskListReceive = 10425,
[pbr::OriginalName("IID_Server_TaskListReceive_respond")] ServerTaskListReceiveRespond = 10426,
[pbr::OriginalName("IID_Server_FileReceive")] ServerFileReceive = 10427,
[pbr::OriginalName("IID_Server_FileReceive_respond")] ServerFileReceiveRespond = 10428,
[pbr::OriginalName("IID_Server_TaskExecAnalysisResult")] ServerTaskExecAnalysisResult = 105,
[pbr::OriginalName("IID_Server_TaskExecAnalysisResult_respond")] ServerTaskExecAnalysisResultRespond = 10502,
[pbr::OriginalName("IID_Server_TaskExecList")] ServerTaskExecList = 10503,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskExecList_respond")] ServerTaskExecListRespond = 10504,
/// <summary>
/// more setting action
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingSet")] ServerMoreSettingSet = 10601,
[pbr::OriginalName("IID_Server_MoreSettingSet_respond")] ServerMoreSettingSetRespond = 10602,
[pbr::OriginalName("IID_Server_MoreSettingGet")] ServerMoreSettingGet = 10603,
/// <summary>
/// 正常-data ,获取存储规则-list
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingGet_respond")] ServerMoreSettingGetRespond = 10604,
[pbr::OriginalName("IID_Server_MoreSettingGetDefault")] ServerMoreSettingGetDefault = 10605,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingGetDefault_respond")] ServerMoreSettingGetDefaultRespond = 10606,
[pbr::OriginalName("IID_Server_MoreSettingDataSet")] ServerMoreSettingDataSet = 10607,
[pbr::OriginalName("IID_Server_MoreSettingDataSet_respond")] ServerMoreSettingDataSetRespond = 10608,
[pbr::OriginalName("IID_Server_MoreSettingDataDel")] ServerMoreSettingDataDel = 10609,
[pbr::OriginalName("IID_Server_MoreSettingDataDel_respond")] ServerMoreSettingDataDelRespond = 10610,
/// <summary>
/// IID_Server_MoreSettingSend = 10611;
/// IID_Server_MoreSettingSend_respond = 10612;
/// IID_Server_MoreSettingReceive = 10613;
/// IID_Server_MoreSettingReceive_respond = 10614;
/// user action
/// </summary>
[pbr::OriginalName("IID_Server_Login")] ServerLogin = 10701,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_Login_respond")] ServerLoginRespond = 10702,
[pbr::OriginalName("IID_Server_UserCreate")] ServerUserCreate = 10703,
[pbr::OriginalName("IID_Server_UserCreate_respond")] ServerUserCreateRespond = 10704,
[pbr::OriginalName("IID_Server_UserUpdate")] ServerUserUpdate = 10705,
[pbr::OriginalName("IID_Server_UserUpdate_respond")] ServerUserUpdateRespond = 10706,
[pbr::OriginalName("IID_Server_UserDel")] ServerUserDel = 10707,
[pbr::OriginalName("IID_Server_UserDel_respond")] ServerUserDelRespond = 10708,
[pbr::OriginalName("IID_Server_UserList")] ServerUserList = 10709,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_UserList_respond")] ServerUserListRespond = 10710,
/// <summary>
///====================== UI =============================
/// </summary>
[pbr::OriginalName("IID_UI_Base")] UiBase = 20000,
[pbr::OriginalName("IID_UI_xxx")] UiXxx = 20001,
[pbr::OriginalName("IID_UI_xxx_respond")] UiXxxRespond = 20002,
/// <summary>
///====================== Device =============================
/// </summary>
[pbr::OriginalName("IID_Device_Base")] DeviceBase = 30000,
[pbr::OriginalName("IID_Device_DBC_CURD")] DeviceDbcCurd = 30001,
[pbr::OriginalName("IID_Device_DBC_CURD_respond")] DeviceDbcCurdRespond = 30002,
[pbr::OriginalName("IID_Device_Xpro_TX_cmd")] DeviceXproTxCmd = 30003,
[pbr::OriginalName("IID_Device_Xpro_TX_cmd_respond")] DeviceXproTxCmdRespond = 30004,
[pbr::OriginalName("IID_Device_Xpro_RX_cmd")] DeviceXproRxCmd = 30005,
/// <summary>
///用不上
/// </summary>
[pbr::OriginalName("IID_Device_Xpro_RX_cmd_respond")] DeviceXproRxCmdRespond = 30006,
/// <summary>
///====================== AGI =============================
/// </summary>
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 4000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 4001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 4002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 4003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 4004,
/// <summary>
///====================== OAM =============================
/// </summary>
[pbr::OriginalName("IID_OAM_Base")] OamBase = 50000,
/// <summary>
/// public use
/// </summary>
[pbr::OriginalName("IID_OAM_HeartBeat_RX")] OamHeartBeatRx = 50001,
[pbr::OriginalName("IID_OAM_LOG_RX")] OamLogRx = 50003,
/// <summary>
/// OAM relay
/// </summary>
[pbr::OriginalName("IID_OAM_SysStatus_Relay")] OamSysStatusRelay = 50005,
[pbr::OriginalName("IID_OAM_SysStatus_Relay_Respond")] OamSysStatusRelayRespond = 50006,
[pbr::OriginalName("IID_OAM_Performance_Relay")] OamPerformanceRelay = 50007,
[pbr::OriginalName("IID_OAM_Performance_Relay_Respond")] OamPerformanceRelayRespond = 50008,
[pbr::OriginalName("IID_OAM_Alert_Start_Relay")] OamAlertStartRelay = 50009,
[pbr::OriginalName("IID_OAM_Alert_Start_Relay_Respond")] OamAlertStartRelayRespond = 50010,
[pbr::OriginalName("IID_OAM_Alert_End_Relay")] OamAlertEndRelay = 50011,
[pbr::OriginalName("IID_OAM_Alert_End_Relay_Respond")] OamAlertEndRelayRespond = 50012,
[pbr::OriginalName("IID_OAM_LOG_Relay")] OamLogRelay = 50013,
[pbr::OriginalName("IID_OAM_LOG_Relay_Respond")] OamLogRelayRespond = 50014,
/// <summary>
/// communicate with UI
/// </summary>
[pbr::OriginalName("IID_OAM_UI_SysStatus_Require")] OamUiSysStatusRequire = 50015,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Respond")] OamUiSysStatusRespond = 50016,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Update")] OamUiSysStatusUpdate = 50017,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Update_Respond")] OamUiSysStatusUpdateRespond = 50018,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Require")] OamUiCurrentAlarmsRequire = 50019,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Respond")] OamUiCurrentAlarmsRespond = 50020,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Start_Update")] OamUiCurrentAlarmsStartUpdate = 50021,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Start_Update_Respond")] OamUiCurrentAlarmsStartUpdateRespond = 50022,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_End_Update")] OamUiCurrentAlarmsEndUpdate = 50023,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_End_Update_Respond")] OamUiCurrentAlarmsEndUpdateRespond = 50024,
[pbr::OriginalName("IID_OAM_UI_HistoryAlarms_Require")] OamUiHistoryAlarmsRequire = 50025,
[pbr::OriginalName("IID_OAM_UI_HistoryAlarms_Respond")] OamUiHistoryAlarmsRespond = 50026,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Require")] OamUiAlarmAttributionRequire = 50027,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Respond")] OamUiAlarmAttributionRespond = 50028,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Update_Require")] OamUiAlarmAttributionUpdateRequire = 50029,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Update_Respond")] OamUiAlarmAttributionUpdateRespond = 50030,
[pbr::OriginalName("IID_OAM_UI_PerInfos_Require")] OamUiPerInfosRequire = 50031,
[pbr::OriginalName("IID_OAM_UI_PerInfos_Respond")] OamUiPerInfosRespond = 50032,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Require")] OamUiPerAttributionRequire = 50033,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Respond")] OamUiPerAttributionRespond = 50034,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Update_Require")] OamUiPerAttributionUpdateRequire = 50035,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Update_Respond")] OamUiPerAttributionUpdateRespond = 50036,
[pbr::OriginalName("IID_OAM_UI_LOG_Require")] OamUiLogRequire = 50037,
[pbr::OriginalName("IID_OAM_UI_LOG_Respond")] OamUiLogRespond = 50038,
/// <summary>
/// communicate with Device
/// </summary>
[pbr::OriginalName("IID_OAM_Device_Alert_Start")] OamDeviceAlertStart = 50039,
[pbr::OriginalName("IID_OAM_Device_Alert_Start_Respond")] OamDeviceAlertStartRespond = 50040,
[pbr::OriginalName("IID_OAM_Device_Alert_End")] OamDeviceAlertEnd = 50041,
[pbr::OriginalName("IID_OAM_Device_Alert_End_Respond")] OamDeviceAlertEndRespond = 50042,
[pbr::OriginalName("IID_OAM_Device_Performance_RX")] OamDevicePerformanceRx = 50043,
}
/// <summary>
//// sub system define
/// </summary>
public enum BROKERAREA {
[pbr::OriginalName("BROKERAREA_LOCAL")] Local = 0,
[pbr::OriginalName("BROKERAREA_CLOUD_LEVEL2")] CloudLevel2 = 1,
[pbr::OriginalName("BROKERAREA_CLOUD_LEVEL1")] CloudLevel1 = 2,
}
public enum SUBSYSTEM {
[pbr::OriginalName("SUBSYSTEM_base")] Base = 0,
[pbr::OriginalName("SUBSYSTEM_Server")] Server = 1,
[pbr::OriginalName("SUBSYSTEM_UI")] Ui = 2,
[pbr::OriginalName("SUBSYSTEM_Device")] Device = 3,
[pbr::OriginalName("SUBSYSTEM_AGI")] Agi = 4,
[pbr::OriginalName("SUBSYSTEM_OAM")] Oam = 5,
[pbr::OriginalName("SUBSYSTEM_default")] Default = 6,
}
/// <summary>
///设备状态枚举
/// </summary>
public enum Devistatus {
[pbr::OriginalName("Init_status")] InitStatus = 0,
[pbr::OriginalName("Online")] Online = 1,
[pbr::OriginalName("Offline")] Offline = 2,
[pbr::OriginalName("Alarm")] Alarm = 3,
}
#endregion
#region Messages
public sealed partial class TestParams : pb::IMessage<TestParams>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TestParams> _parser = new pb::MessageParser<TestParams>(() => new TestParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TestParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[0]; }
}
#region Messages
public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
[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 TestParams() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TestParams(TestParams other) : this() {
key_ = other.key_;
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TestParams Clone() {
return new TestParams(this);
}
/// <summary>Field number for the "key" field.</summary>
public const int KeyFieldNumber = 1;
private string key_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Key {
get { return key_; }
set {
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "value" field.</summary>
public const int ValueFieldNumber = 2;
private string value_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Value {
get { return value_; }
set {
value_ = 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 TestParams);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TestParams other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Key != other.Key) return false;
if (Value != other.Value) 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 (Key.Length != 0) hash ^= Key.GetHashCode();
if (Value.Length != 0) hash ^= Value.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 (Key.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Key);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Key.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Key);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Key.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
}
if (Value.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TestParams other) {
if (other == null) {
return;
}
if (other.Key.Length != 0) {
Key = other.Key;
}
if (other.Value.Length != 0) {
Value = other.Value;
}
_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: {
Key = input.ReadString();
break;
}
case 18: {
Value = 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: {
Key = input.ReadString();
break;
}
case 18: {
Value = input.ReadString();
break;
}
}
}
}
#endif
}
/// <summary>
///心跳
/// </summary>
public sealed partial class Heartbeat : pb::IMessage<Heartbeat>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Heartbeat> _parser = new pb::MessageParser<Heartbeat>(() => new Heartbeat());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Heartbeat> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.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 Heartbeat() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Heartbeat(Heartbeat other) : this() {
suid_ = other.suid_;
iidList_ = other.iidList_.Clone();
devStatus_ = other.devStatus_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Heartbeat Clone() {
return new Heartbeat(this);
}
/// <summary>Field number for the "suid" field.</summary>
public const int SuidFieldNumber = 1;
private uint suid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Suid {
get { return suid_; }
set {
suid_ = value;
}
}
/// <summary>Field number for the "iid_list" field.</summary>
public const int IidListFieldNumber = 2;
private static readonly pb::FieldCodec<global::IID> _repeated_iidList_codec
= pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::IID) x);
private readonly pbc::RepeatedField<global::IID> iidList_ = new pbc::RepeatedField<global::IID>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::IID> IidList {
get { return iidList_; }
}
/// <summary>Field number for the "Dev_status" field.</summary>
public const int DevStatusFieldNumber = 3;
private static readonly pbc::MapField<uint, global::Devistatus>.Codec _map_devStatus_codec
= new pbc::MapField<uint, global::Devistatus>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Devistatus) x, global::Devistatus.InitStatus), 26);
private readonly pbc::MapField<uint, global::Devistatus> devStatus_ = new pbc::MapField<uint, global::Devistatus>();
/// <summary>
///存放设备状态 &lt;DEV_SUID,STATUS>
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<uint, global::Devistatus> DevStatus {
get { return devStatus_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Heartbeat);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Heartbeat other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Suid != other.Suid) return false;
if(!iidList_.Equals(other.iidList_)) return false;
if (!DevStatus.Equals(other.DevStatus)) 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 (Suid != 0) hash ^= Suid.GetHashCode();
hash ^= iidList_.GetHashCode();
hash ^= DevStatus.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 (Suid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Suid);
}
iidList_.WriteTo(output, _repeated_iidList_codec);
devStatus_.WriteTo(output, _map_devStatus_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Suid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Suid);
}
iidList_.WriteTo(ref output, _repeated_iidList_codec);
devStatus_.WriteTo(ref output, _map_devStatus_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
{
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Suid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Suid);
}
size += iidList_.CalculateSize(_repeated_iidList_codec);
size += devStatus_.CalculateSize(_map_devStatus_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Heartbeat other) {
if (other == null) {
return;
}
if (other.Suid != 0) {
Suid = other.Suid;
}
iidList_.Add(other.iidList_);
devStatus_.Add(other.devStatus_);
_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: {
Suid = input.ReadUInt32();
break;
}
case 18:
case 16: {
iidList_.AddEntriesFrom(input, _repeated_iidList_codec);
break;
}
case 26: {
devStatus_.AddEntriesFrom(input, _map_devStatus_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Suid = input.ReadUInt32();
break;
}
case 18:
case 16: {
iidList_.AddEntriesFrom(ref input, _repeated_iidList_codec);
break;
}
case 26: {
devStatus_.AddEntriesFrom(ref input, _map_devStatus_codec);
break;
}
}
}
}
#endif
}
public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TDSCmd> _parser = new pb::MessageParser<TDSCmd>(() => new TDSCmd());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -63,7 +966,7 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Satllite.Protobuf.TDSCmd.TdscmdReflection.Descriptor.MessageTypes[0]; }
get { return global::TdscmdReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -83,10 +986,13 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TDSCmd(TDSCmd other) : this() {
cmd_ = other.cmd_;
dstSUID_ = other.dstSUID_;
srcSUID_ = other.srcSUID_;
interfaceId_ = other.interfaceId_;
dstSuid_ = other.dstSuid_;
srcSuid_ = other.srcSuid_;
forwardFlag_ = other.forwardFlag_;
priority_ = other.priority_;
requestIndex_ = other.requestIndex_;
ts_ = other.ts_ != null ? other.ts_.Clone() : null;
parameters_ = other.parameters_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
......@@ -97,43 +1003,43 @@ namespace Satllite.Protobuf.TDSCmd {
return new TDSCmd(this);
}
/// <summary>Field number for the "Cmd" field.</summary>
public const int CmdFieldNumber = 1;
private global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID cmd_ = global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base;
/// <summary>Field number for the "interface_id" field.</summary>
public const int InterfaceIdFieldNumber = 1;
private global::IID interfaceId_ = global::IID.Base;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID Cmd {
get { return cmd_; }
public global::IID InterfaceId {
get { return interfaceId_; }
set {
cmd_ = value;
interfaceId_ = value;
}
}
/// <summary>Field number for the "DstSUID" field.</summary>
public const int DstSUIDFieldNumber = 2;
private uint dstSUID_;
/// <summary>Field number for the "dst_suid" field.</summary>
public const int DstSuidFieldNumber = 2;
private uint dstSuid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DstSUID {
get { return dstSUID_; }
public uint DstSuid {
get { return dstSuid_; }
set {
dstSUID_ = value;
dstSuid_ = value;
}
}
/// <summary>Field number for the "SrcSUID" field.</summary>
public const int SrcSUIDFieldNumber = 3;
private uint srcSUID_;
/// <summary>Field number for the "src_suid" field.</summary>
public const int SrcSuidFieldNumber = 3;
private uint srcSuid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SrcSUID {
get { return srcSUID_; }
public uint SrcSuid {
get { return srcSuid_; }
set {
srcSUID_ = value;
srcSuid_ = value;
}
}
/// <summary>Field number for the "ForwardFlag" field.</summary>
/// <summary>Field number for the "forward_flag" field.</summary>
public const int ForwardFlagFieldNumber = 4;
private uint forwardFlag_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -145,10 +1051,49 @@ namespace Satllite.Protobuf.TDSCmd {
}
}
/// <summary>Field number for the "Parameters" field.</summary>
public const int ParametersFieldNumber = 5;
/// <summary>Field number for the "priority" field.</summary>
public const int PriorityFieldNumber = 5;
private uint priority_;
/// <summary>
///报文优先级 可以优先发送
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Priority {
get { return priority_; }
set {
priority_ = value;
}
}
/// <summary>Field number for the "request_index" field.</summary>
public const int RequestIndexFieldNumber = 6;
private uint requestIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RequestIndex {
get { return requestIndex_; }
set {
requestIndex_ = value;
}
}
/// <summary>Field number for the "ts" field.</summary>
public const int TsFieldNumber = 7;
private global::Google.Protobuf.WellKnownTypes.Timestamp ts_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp Ts {
get { return ts_; }
set {
ts_ = value;
}
}
/// <summary>Field number for the "parameters" field.</summary>
public const int ParametersFieldNumber = 8;
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_parameters_codec
= pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.Any.Parser);
= pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.Any.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> parameters_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
......@@ -171,10 +1116,13 @@ namespace Satllite.Protobuf.TDSCmd {
if (ReferenceEquals(other, this)) {
return true;
}
if (Cmd != other.Cmd) return false;
if (DstSUID != other.DstSUID) return false;
if (SrcSUID != other.SrcSUID) return false;
if (InterfaceId != other.InterfaceId) return false;
if (DstSuid != other.DstSuid) return false;
if (SrcSuid != other.SrcSuid) return false;
if (ForwardFlag != other.ForwardFlag) return false;
if (Priority != other.Priority) return false;
if (RequestIndex != other.RequestIndex) return false;
if (!object.Equals(Ts, other.Ts)) return false;
if(!parameters_.Equals(other.parameters_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
......@@ -183,10 +1131,13 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) hash ^= Cmd.GetHashCode();
if (DstSUID != 0) hash ^= DstSUID.GetHashCode();
if (SrcSUID != 0) hash ^= SrcSUID.GetHashCode();
if (InterfaceId != global::IID.Base) hash ^= InterfaceId.GetHashCode();
if (DstSuid != 0) hash ^= DstSuid.GetHashCode();
if (SrcSuid != 0) hash ^= SrcSuid.GetHashCode();
if (ForwardFlag != 0) hash ^= ForwardFlag.GetHashCode();
if (Priority != 0) hash ^= Priority.GetHashCode();
if (RequestIndex != 0) hash ^= RequestIndex.GetHashCode();
if (ts_ != null) hash ^= Ts.GetHashCode();
hash ^= parameters_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
......@@ -206,22 +1157,34 @@ namespace Satllite.Protobuf.TDSCmd {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
if (InterfaceId != global::IID.Base) {
output.WriteRawTag(8);
output.WriteEnum((int) Cmd);
output.WriteEnum((int) InterfaceId);
}
if (DstSUID != 0) {
if (DstSuid != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DstSUID);
output.WriteUInt32(DstSuid);
}
if (SrcSUID != 0) {
if (SrcSuid != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SrcSUID);
output.WriteUInt32(SrcSuid);
}
if (ForwardFlag != 0) {
output.WriteRawTag(32);
output.WriteUInt32(ForwardFlag);
}
if (Priority != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Priority);
}
if (RequestIndex != 0) {
output.WriteRawTag(48);
output.WriteUInt32(RequestIndex);
}
if (ts_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Ts);
}
parameters_.WriteTo(output, _repeated_parameters_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
......@@ -233,22 +1196,34 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
if (InterfaceId != global::IID.Base) {
output.WriteRawTag(8);
output.WriteEnum((int) Cmd);
output.WriteEnum((int) InterfaceId);
}
if (DstSUID != 0) {
if (DstSuid != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DstSUID);
output.WriteUInt32(DstSuid);
}
if (SrcSUID != 0) {
if (SrcSuid != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SrcSUID);
output.WriteUInt32(SrcSuid);
}
if (ForwardFlag != 0) {
output.WriteRawTag(32);
output.WriteUInt32(ForwardFlag);
}
if (Priority != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Priority);
}
if (RequestIndex != 0) {
output.WriteRawTag(48);
output.WriteUInt32(RequestIndex);
}
if (ts_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Ts);
}
parameters_.WriteTo(ref output, _repeated_parameters_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
......@@ -260,18 +1235,27 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cmd);
if (InterfaceId != global::IID.Base) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) InterfaceId);
}
if (DstSUID != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DstSUID);
if (DstSuid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DstSuid);
}
if (SrcSUID != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcSUID);
if (SrcSuid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcSuid);
}
if (ForwardFlag != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ForwardFlag);
}
if (Priority != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority);
}
if (RequestIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RequestIndex);
}
if (ts_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ts);
}
size += parameters_.CalculateSize(_repeated_parameters_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
......@@ -285,18 +1269,30 @@ namespace Satllite.Protobuf.TDSCmd {
if (other == null) {
return;
}
if (other.Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
Cmd = other.Cmd;
if (other.InterfaceId != global::IID.Base) {
InterfaceId = other.InterfaceId;
}
if (other.DstSUID != 0) {
DstSUID = other.DstSUID;
if (other.DstSuid != 0) {
DstSuid = other.DstSuid;
}
if (other.SrcSUID != 0) {
SrcSUID = other.SrcSUID;
if (other.SrcSuid != 0) {
SrcSuid = other.SrcSuid;
}
if (other.ForwardFlag != 0) {
ForwardFlag = other.ForwardFlag;
}
if (other.Priority != 0) {
Priority = other.Priority;
}
if (other.RequestIndex != 0) {
RequestIndex = other.RequestIndex;
}
if (other.ts_ != null) {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
Ts.MergeFrom(other.Ts);
}
parameters_.Add(other.parameters_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
......@@ -314,22 +1310,37 @@ namespace Satllite.Protobuf.TDSCmd {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
InterfaceId = (global::IID) input.ReadEnum();
break;
}
case 16: {
DstSUID = input.ReadUInt32();
DstSuid = input.ReadUInt32();
break;
}
case 24: {
SrcSUID = input.ReadUInt32();
SrcSuid = input.ReadUInt32();
break;
}
case 32: {
ForwardFlag = input.ReadUInt32();
break;
}
case 42: {
case 40: {
Priority = input.ReadUInt32();
break;
}
case 48: {
RequestIndex = input.ReadUInt32();
break;
}
case 58: {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(Ts);
break;
}
case 66: {
parameters_.AddEntriesFrom(input, _repeated_parameters_codec);
break;
}
......@@ -349,63 +1360,48 @@ namespace Satllite.Protobuf.TDSCmd {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
InterfaceId = (global::IID) input.ReadEnum();
break;
}
case 16: {
DstSUID = input.ReadUInt32();
DstSuid = input.ReadUInt32();
break;
}
case 24: {
SrcSUID = input.ReadUInt32();
SrcSuid = input.ReadUInt32();
break;
}
case 32: {
ForwardFlag = input.ReadUInt32();
break;
}
case 42: {
parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec);
case 40: {
Priority = input.ReadUInt32();
break;
}
case 48: {
RequestIndex = input.ReadUInt32();
break;
}
case 58: {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(Ts);
break;
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the TDSCmd message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public enum IID {
[pbr::OriginalName("IID_Base")] Base = 0,
[pbr::OriginalName("IID_Server_Base")] ServerBase = 1000,
[pbr::OriginalName("IID_Server_xxx")] ServerXxx = 1001,
[pbr::OriginalName("IID_Server_xxx_respond")] ServerXxxRespond = 1002,
[pbr::OriginalName("IID_UI_Base")] UiBase = 2000,
[pbr::OriginalName("IID_UI_xxx")] UiXxx = 2001,
[pbr::OriginalName("IID_UI_xxx_respond")] UiXxxRespond = 2002,
[pbr::OriginalName("IID_Device_Base")] DeviceBase = 3000,
[pbr::OriginalName("IID_Device_xxx")] DeviceXxx = 3001,
[pbr::OriginalName("IID_Device_xxx_respond")] DeviceXxxRespond = 3002,
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 4000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 4001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 4002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 4003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 4004,
[pbr::OriginalName("IID_OAM_Base")] OamBase = 5000,
[pbr::OriginalName("IID_OAM_xxx")] OamXxx = 5001,
[pbr::OriginalName("IID_OAM_xxx_respond")] OamXxxRespond = 5002,
case 66: {
parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec);
break;
}
}
#endregion
}
#endregion
}
#endif
}
#endregion
#endregion Designer generated code
/**
* @file cmmstruct.proto
* @brief TDSCmd define
* @author Fan Chuanlin, fanchuanlin@aliyun.com
* @version 1.0
* @date 2022-09-06
*/
syntax = "proto3";
import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto";
option go_package = "../protogo";
//成功失败 枚举
enum CodeValue
{
base_start = 0;
Succeed = 1;
Failed = 2;
}
enum IID
{
IID_Base = 0;
//====================== server =============================
IID_Server_Base = 10000;
// common
IID_Server_SyncEnd = 10001;
// satellite action
IID_Server_SatelliteList = 10101;
IID_Server_SatelliteList_respond = 10102;//list
IID_Server_SatelliteBaseUpdate = 10103;
IID_Server_SatelliteBaseUpdate_respond = 10104;
IID_Server_SatellitePriorityUpdate = 10105;
IID_Server_SatellitePriorityUpdate_respond = 10106;
IID_Server_SatellitePriorityList = 10107;
IID_Server_SatellitePriorityList_respond = 10108;
IID_Server_SatelliteAvailableUpdate = 10109;
IID_Server_SatelliteAvailableUpdate_respond = 10110;
IID_Server_SatelliteElementUpdate = 10111;
IID_Server_SatelliteElementUpdate_respond = 10112;
IID_Server_SatelliteElementLoad = 10113;
IID_Server_SatelliteElementLoad_respond = 10114;
IID_Server_SatelliteDel = 10115;
IID_Server_SatelliteDel_respond = 10116;
IID_Server_SatelliteInstantaneousRootUpdate = 10117;
IID_Server_SatelliteInstantaneousRootUpdate_respond = 10118;
IID_Server_SatelliteListSend = 10119;
IID_Server_SatelliteListSend_respond = 10120;
IID_Server_SatelliteListReceive = 10121;
IID_Server_SatelliteListReceive_respond = 10122;
// 卫星射频/解调参数
IID_Server_SatelliteWorkParamList = 10201;
IID_Server_SatelliteWorkParamList_respond = 10202;//list
IID_Server_SatelliteWorkParamUpdate = 10203;
IID_Server_SatelliteWorkParamUpdate_respond = 10204;
IID_Server_SatelliteWorkParamDel = 10205;
IID_Server_SatelliteWorkParamDel_respond = 10206;
IID_Server_SatelliteWorkParamListSend = 10207;
IID_Server_SatelliteWorkParamListSend_respond = 10208;
IID_Server_SatelliteWorkParamListReceive = 10209;
IID_Server_SatelliteWorkParamListReceive_respond = 10210;
// site action
IID_Server_SiteList = 10301;
IID_Server_SiteList_respond = 10302;//list
IID_Server_SiteUpdate = 10303;
IID_Server_SiteUpdate_respond = 10304;
IID_Server_SiteParamUpdate = 10305;
IID_Server_SiteParamUpdate_respond = 10306;
IID_Server_SiteDel = 10307;
IID_Server_SiteDel_respond = 10308;
IID_Server_SiteListSend = 10309;
IID_Server_SiteListSend_respond = 10310;
IID_Server_SiteListReceive = 10311;
IID_Server_SiteListReceive_respond = 10312;
// task action
IID_Server_TaskList = 10401;
IID_Server_TaskList_respond = 10402;//list
IID_Server_TaskForecast = 10403;
IID_Server_TaskForecast_respond = 10404;//list
IID_Server_TaskUpdate = 10405;
IID_Server_TaskUpdate_respond = 10406;
IID_Server_TaskDel = 10407;
IID_Server_TaskDel_respond = 10408;
IID_Server_TaskDetailDat = 10409;
IID_Server_TaskDetailDat_respond = 10410;//data
IID_Server_TaskDetailPoint = 10411;
IID_Server_TaskDetailPoint_respond = 10412;//data
IID_Server_TaskPause = 10413;
IID_Server_TaskPause_respond = 10414;
IID_Server_TaskRestart = 10415;
IID_Server_TaskRestart_respond = 10416;
IID_Server_TaskHandleConflict = 10417;
IID_Server_TaskHandleConflict_respond = 10418;//list
IID_Server_TaskHandModeSwitch = 10419;
IID_Server_TaskHandModeSwitch_respond = 10420;
IID_Server_TaskIndex = 10421;
IID_Server_TaskIndex_respond = 10422;//data
IID_Server_TaskListSend = 10423;
IID_Server_TaskListSend_respond = 10424;
IID_Server_TaskListReceive = 10425;
IID_Server_TaskListReceive_respond = 10426;
IID_Server_FileReceive = 10427;
IID_Server_FileReceive_respond = 10428;
IID_Server_TaskExecAnalysisResult = 105;
IID_Server_TaskExecAnalysisResult_respond = 10502;
IID_Server_TaskExecList = 10503;
IID_Server_TaskExecList_respond = 10504;//list
// more setting action
IID_Server_MoreSettingSet = 10601;
IID_Server_MoreSettingSet_respond = 10602;
IID_Server_MoreSettingGet = 10603;
IID_Server_MoreSettingGet_respond = 10604;// 正常-data ,获取存储规则-list
IID_Server_MoreSettingGetDefault = 10605;
IID_Server_MoreSettingGetDefault_respond = 10606;//data
IID_Server_MoreSettingDataSet = 10607;
IID_Server_MoreSettingDataSet_respond = 10608;
IID_Server_MoreSettingDataDel = 10609;
IID_Server_MoreSettingDataDel_respond = 10610;
// IID_Server_MoreSettingSend = 10611;
// IID_Server_MoreSettingSend_respond = 10612;
// IID_Server_MoreSettingReceive = 10613;
// IID_Server_MoreSettingReceive_respond = 10614;
// user action
IID_Server_Login = 10701;
IID_Server_Login_respond = 10702;//data
IID_Server_UserCreate = 10703;
IID_Server_UserCreate_respond = 10704;
IID_Server_UserUpdate = 10705;
IID_Server_UserUpdate_respond = 10706;
IID_Server_UserDel = 10707;
IID_Server_UserDel_respond = 10708;
IID_Server_UserList = 10709;
IID_Server_UserList_respond = 10710;//list
//====================== UI =============================
IID_UI_Base = 20000;
IID_UI_xxx = 20001;
IID_UI_xxx_respond = 20002;
//====================== Device =============================
IID_Device_Base = 30000;
IID_Device_DBC_CURD = 30001;
IID_Device_DBC_CURD_respond = 30002;
IID_Device_Xpro_TX_cmd = 30003;
IID_Device_Xpro_TX_cmd_respond = 30004;
IID_Device_Xpro_RX_cmd = 30005;
IID_Device_Xpro_RX_cmd_respond = 30006; //用不上
//====================== AGI =============================
IID_AGI_Base=4000;
IID_AGI_TLE=4001;
IID_AGI_TLE_respond=4002;
IID_AGI_Report=4003;
IID_AGI_Report_respond=4004;
//====================== OAM =============================
IID_OAM_Base = 50000;
// public use
IID_OAM_HeartBeat_RX = 50001;
IID_OAM_LOG_RX = 50003;
// OAM relay
IID_OAM_SysStatus_Relay = 50005;
IID_OAM_SysStatus_Relay_Respond = 50006;
IID_OAM_Performance_Relay = 50007;
IID_OAM_Performance_Relay_Respond = 50008;
IID_OAM_Alert_Start_Relay = 50009;
IID_OAM_Alert_Start_Relay_Respond = 50010;
IID_OAM_Alert_End_Relay = 50011;
IID_OAM_Alert_End_Relay_Respond = 50012;
IID_OAM_LOG_Relay = 50013;
IID_OAM_LOG_Relay_Respond = 50014;
// communicate with UI
IID_OAM_UI_SysStatus_Require = 50015;
IID_OAM_UI_SysStatus_Respond = 50016;
IID_OAM_UI_SysStatus_Update = 50017;
IID_OAM_UI_SysStatus_Update_Respond = 50018;
IID_OAM_UI_CurrentAlarms_Require = 50019;
IID_OAM_UI_CurrentAlarms_Respond = 50020;
IID_OAM_UI_CurrentAlarms_Start_Update = 50021;
IID_OAM_UI_CurrentAlarms_Start_Update_Respond = 50022;
IID_OAM_UI_CurrentAlarms_End_Update = 50023;
IID_OAM_UI_CurrentAlarms_End_Update_Respond = 50024;
IID_OAM_UI_HistoryAlarms_Require = 50025;
IID_OAM_UI_HistoryAlarms_Respond = 50026;
IID_OAM_UI_AlarmAttribution_Require = 50027;
IID_OAM_UI_AlarmAttribution_Respond = 50028;
IID_OAM_UI_AlarmAttribution_Update_Require = 50029;
IID_OAM_UI_AlarmAttribution_Update_Respond = 50030;
IID_OAM_UI_PerInfos_Require = 50031;
IID_OAM_UI_PerInfos_Respond = 50032;
IID_OAM_UI_PerAttribution_Require = 50033;
IID_OAM_UI_PerAttribution_Respond = 50034;
IID_OAM_UI_PerAttribution_Update_Require = 50035;
IID_OAM_UI_PerAttribution_Update_Respond = 50036;
IID_OAM_UI_LOG_Require = 50037;
IID_OAM_UI_LOG_Respond = 50038;
// communicate with Device
IID_OAM_Device_Alert_Start = 50039;
IID_OAM_Device_Alert_Start_Respond = 50040;
IID_OAM_Device_Alert_End = 50041;
IID_OAM_Device_Alert_End_Respond = 50042;
IID_OAM_Device_Performance_RX = 50043;
/*
......
xxxx id%2 == 1
xxxx_respond = id+1
*/
}
/// sub system define
enum BROKERAREA
{
BROKERAREA_LOCAL = 0;
BROKERAREA_CLOUD_LEVEL2 = 1;
BROKERAREA_CLOUD_LEVEL1 = 2;
}
enum SUBSYSTEM
{
SUBSYSTEM_base = 0;
SUBSYSTEM_Server = 1;
SUBSYSTEM_UI = 2;
SUBSYSTEM_Device = 3;
SUBSYSTEM_AGI = 4;
SUBSYSTEM_OAM = 5;
SUBSYSTEM_default = 6;
}
message TestParams
{
string key = 1;
string value = 2;
}
//设备状态枚举
enum Devistatus
{
Init_status = 0;
Online = 1;
Offline = 2;
Alarm = 3;
}
//心跳
message Heartbeat
{
uint32 suid = 1;
repeated IID iid_list = 2;
map<uint32, Devistatus> Dev_status = 3; //存放设备状态 <DEV_SUID,STATUS>
}
message TDSCmd
{
IID interface_id = 1;
uint32 dst_suid = 2;
uint32 src_suid = 3;
uint32 forward_flag = 4;
uint32 priority = 5; //报文优先级 可以优先发送
uint32 request_index = 6;
google.protobuf.Timestamp ts = 7;
repeated google.protobuf.Any parameters = 8;
}
......@@ -1942,6 +1942,9 @@ namespace Satllite.Protobuf.Agi {
private static readonly pb::FieldCodec<global::Satllite.Protobuf.Agi.Xxd> _repeated_xxds_codec
= pb::FieldCodec.ForMessage(10, global::Satllite.Protobuf.Agi.Xxd.Parser);
private readonly pbc::RepeatedField<global::Satllite.Protobuf.Agi.Xxd> xxds_ = new pbc::RepeatedField<global::Satllite.Protobuf.Agi.Xxd>();
/// <summary>
///星下点
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Satllite.Protobuf.Agi.Xxd> Xxds {
......@@ -1953,6 +1956,9 @@ namespace Satllite.Protobuf.Agi {
private static readonly pb::FieldCodec<global::Satllite.Protobuf.Agi.Task> _repeated_tasks_codec
= pb::FieldCodec.ForMessage(18, global::Satllite.Protobuf.Agi.Task.Parser);
private readonly pbc::RepeatedField<global::Satllite.Protobuf.Agi.Task> tasks_ = new pbc::RepeatedField<global::Satllite.Protobuf.Agi.Task>();
/// <summary>
///任务预报信息
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Satllite.Protobuf.Agi.Task> Tasks {
......@@ -2149,6 +2155,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "dt" field.</summary>
public const int DtFieldNumber = 1;
private string dt_ = "";
/// <summary>
///时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Dt {
......@@ -2161,6 +2170,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "lon" field.</summary>
public const int LonFieldNumber = 2;
private double lon_;
/// <summary>
///经度
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Lon {
......@@ -2173,6 +2185,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "lat" field.</summary>
public const int LatFieldNumber = 3;
private double lat_;
/// <summary>
///纬度
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Lat {
......@@ -2185,6 +2200,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "height" field.</summary>
public const int HeightFieldNumber = 4;
private double height_;
/// <summary>
///高度
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Height {
......@@ -2457,6 +2475,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "start" field.</summary>
public const int StartFieldNumber = 1;
private string start_ = "";
/// <summary>
///开始时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Start {
......@@ -2469,6 +2490,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "end" field.</summary>
public const int EndFieldNumber = 2;
private string end_ = "";
/// <summary>
///结束时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string End {
......@@ -2481,6 +2505,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "startAzi" field.</summary>
public const int StartAziFieldNumber = 3;
private double startAzi_;
/// <summary>
///开始方位角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double StartAzi {
......@@ -2493,6 +2520,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "endAzi" field.</summary>
public const int EndAziFieldNumber = 4;
private double endAzi_;
/// <summary>
///结束方位角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double EndAzi {
......@@ -2505,6 +2535,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "startEle" field.</summary>
public const int StartEleFieldNumber = 5;
private double startEle_;
/// <summary>
///开始俯仰角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double StartEle {
......@@ -2517,6 +2550,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "maxEle" field.</summary>
public const int MaxEleFieldNumber = 6;
private double maxEle_;
/// <summary>
///最大俯仰角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double MaxEle {
......@@ -2529,6 +2565,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "minDist" field.</summary>
public const int MinDistFieldNumber = 7;
private double minDist_;
/// <summary>
///最短距离
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double MinDist {
......@@ -2541,6 +2580,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "maxDist" field.</summary>
public const int MaxDistFieldNumber = 8;
private double maxDist_;
/// <summary>
///最大距离
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double MaxDist {
......@@ -2555,6 +2597,9 @@ namespace Satllite.Protobuf.Agi {
private static readonly pb::FieldCodec<global::Satllite.Protobuf.Agi.Obs> _repeated_obss_codec
= pb::FieldCodec.ForMessage(74, global::Satllite.Protobuf.Agi.Obs.Parser);
private readonly pbc::RepeatedField<global::Satllite.Protobuf.Agi.Obs> obss_ = new pbc::RepeatedField<global::Satllite.Protobuf.Agi.Obs>();
/// <summary>
///方位角俯仰角信息
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Satllite.Protobuf.Agi.Obs> Obss {
......@@ -2929,6 +2974,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "dt" field.</summary>
public const int DtFieldNumber = 1;
private string dt_ = "";
/// <summary>
///时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Dt {
......@@ -2941,6 +2989,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "azi" field.</summary>
public const int AziFieldNumber = 2;
private double azi_;
/// <summary>
///方位角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Azi {
......@@ -2953,6 +3004,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "ele" field.</summary>
public const int EleFieldNumber = 3;
private double ele_;
/// <summary>
///俯仰角
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Ele {
......@@ -2965,6 +3019,9 @@ namespace Satllite.Protobuf.Agi {
/// <summary>Field number for the "range" field.</summary>
public const int RangeFieldNumber = 4;
private double range_;
/// <summary>
///距离
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double Range {
......
......@@ -9,10 +9,8 @@ using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Satllite.Protobuf.TDSCmd {
/// <summary>Holder for reflection information generated from tdscmd.proto</summary>
public static partial class TdscmdReflection {
/// <summary>Holder for reflection information generated from tdscmd.proto</summary>
public static partial class TdscmdReflection {
#region Descriptor
/// <summary>File descriptor for tdscmd.proto</summary>
......@@ -24,36 +22,941 @@ namespace Satllite.Protobuf.TDSCmd {
static TdscmdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cgx0ZHNjbWQucHJvdG8SGHNhdGxsaXRlLnByb3RvYnVmLlREU0NtZBoZZ29v",
"Z2xlL3Byb3RvYnVmL2FueS5wcm90byKuBAoGVERTQ21kEjEKA0NtZBgBIAEo",
"DjIkLnNhdGxsaXRlLnByb3RvYnVmLlREU0NtZC5URFNDbWQuSUlEEg8KB0Rz",
"dFNVSUQYAiABKA0SDwoHU3JjU1VJRBgDIAEoDRITCgtGb3J3YXJkRmxhZxgE",
"IAEoDRIoCgpQYXJhbWV0ZXJzGAUgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFu",
"eSKPAwoDSUlEEgwKCElJRF9CYXNlEAASFAoPSUlEX1NlcnZlcl9CYXNlEOgH",
"EhMKDklJRF9TZXJ2ZXJfeHh4EOkHEhsKFklJRF9TZXJ2ZXJfeHh4X3Jlc3Bv",
"bmQQ6gcSEAoLSUlEX1VJX0Jhc2UQ0A8SDwoKSUlEX1VJX3h4eBDRDxIXChJJ",
"SURfVUlfeHh4X3Jlc3BvbmQQ0g8SFAoPSUlEX0Rldm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",
"YXR1cxAAEgoKBk9ubGluZRABEgsKB09mZmxpbmUQAhIJCgVBbGFybRADQgxa",
"Ci4uL3Byb3RvZ29iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd), global::Satllite.Protobuf.TDSCmd.TDSCmd.Parser, new[]{ "Cmd", "DstSUID", "SrcSUID", "ForwardFlag", "Parameters" }, null, new[]{ typeof(global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) }, null, null)
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CodeValue), typeof(global::IID), typeof(global::BROKERAREA), typeof(global::SUBSYSTEM), typeof(global::Devistatus), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::TestParams), global::TestParams.Parser, new[]{ "Key", "Value" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Heartbeat), global::Heartbeat.Parser, new[]{ "Suid", "IidList", "DevStatus" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::TDSCmd), global::TDSCmd.Parser, new[]{ "InterfaceId", "DstSuid", "SrcSuid", "ForwardFlag", "Priority", "RequestIndex", "Ts", "Parameters" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
/// <summary>
///成功失败 枚举
/// </summary>
public enum CodeValue {
[pbr::OriginalName("base_start")] BaseStart = 0,
[pbr::OriginalName("Succeed")] Succeed = 1,
[pbr::OriginalName("Failed")] Failed = 2,
}
public enum IID {
[pbr::OriginalName("IID_Base")] Base = 0,
/// <summary>
///====================== server =============================
/// </summary>
[pbr::OriginalName("IID_Server_Base")] ServerBase = 10000,
/// <summary>
/// common
/// </summary>
[pbr::OriginalName("IID_Server_SyncEnd")] ServerSyncEnd = 10001,
/// <summary>
/// satellite action
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteList")] ServerSatelliteList = 10101,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteList_respond")] ServerSatelliteListRespond = 10102,
[pbr::OriginalName("IID_Server_SatelliteBaseUpdate")] ServerSatelliteBaseUpdate = 10103,
[pbr::OriginalName("IID_Server_SatelliteBaseUpdate_respond")] ServerSatelliteBaseUpdateRespond = 10104,
[pbr::OriginalName("IID_Server_SatellitePriorityUpdate")] ServerSatellitePriorityUpdate = 10105,
[pbr::OriginalName("IID_Server_SatellitePriorityUpdate_respond")] ServerSatellitePriorityUpdateRespond = 10106,
[pbr::OriginalName("IID_Server_SatellitePriorityList")] ServerSatellitePriorityList = 10107,
[pbr::OriginalName("IID_Server_SatellitePriorityList_respond")] ServerSatellitePriorityListRespond = 10108,
[pbr::OriginalName("IID_Server_SatelliteAvailableUpdate")] ServerSatelliteAvailableUpdate = 10109,
[pbr::OriginalName("IID_Server_SatelliteAvailableUpdate_respond")] ServerSatelliteAvailableUpdateRespond = 10110,
[pbr::OriginalName("IID_Server_SatelliteElementUpdate")] ServerSatelliteElementUpdate = 10111,
[pbr::OriginalName("IID_Server_SatelliteElementUpdate_respond")] ServerSatelliteElementUpdateRespond = 10112,
[pbr::OriginalName("IID_Server_SatelliteElementLoad")] ServerSatelliteElementLoad = 10113,
[pbr::OriginalName("IID_Server_SatelliteElementLoad_respond")] ServerSatelliteElementLoadRespond = 10114,
[pbr::OriginalName("IID_Server_SatelliteDel")] ServerSatelliteDel = 10115,
[pbr::OriginalName("IID_Server_SatelliteDel_respond")] ServerSatelliteDelRespond = 10116,
[pbr::OriginalName("IID_Server_SatelliteInstantaneousRootUpdate")] ServerSatelliteInstantaneousRootUpdate = 10117,
[pbr::OriginalName("IID_Server_SatelliteInstantaneousRootUpdate_respond")] ServerSatelliteInstantaneousRootUpdateRespond = 10118,
[pbr::OriginalName("IID_Server_SatelliteListSend")] ServerSatelliteListSend = 10119,
[pbr::OriginalName("IID_Server_SatelliteListSend_respond")] ServerSatelliteListSendRespond = 10120,
[pbr::OriginalName("IID_Server_SatelliteListReceive")] ServerSatelliteListReceive = 10121,
[pbr::OriginalName("IID_Server_SatelliteListReceive_respond")] ServerSatelliteListReceiveRespond = 10122,
/// <summary>
/// 卫星射频/解调参数
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteWorkParamList")] ServerSatelliteWorkParamList = 10201,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SatelliteWorkParamList_respond")] ServerSatelliteWorkParamListRespond = 10202,
[pbr::OriginalName("IID_Server_SatelliteWorkParamUpdate")] ServerSatelliteWorkParamUpdate = 10203,
[pbr::OriginalName("IID_Server_SatelliteWorkParamUpdate_respond")] ServerSatelliteWorkParamUpdateRespond = 10204,
[pbr::OriginalName("IID_Server_SatelliteWorkParamDel")] ServerSatelliteWorkParamDel = 10205,
[pbr::OriginalName("IID_Server_SatelliteWorkParamDel_respond")] ServerSatelliteWorkParamDelRespond = 10206,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListSend")] ServerSatelliteWorkParamListSend = 10207,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListSend_respond")] ServerSatelliteWorkParamListSendRespond = 10208,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListReceive")] ServerSatelliteWorkParamListReceive = 10209,
[pbr::OriginalName("IID_Server_SatelliteWorkParamListReceive_respond")] ServerSatelliteWorkParamListReceiveRespond = 10210,
/// <summary>
/// site action
/// </summary>
[pbr::OriginalName("IID_Server_SiteList")] ServerSiteList = 10301,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_SiteList_respond")] ServerSiteListRespond = 10302,
[pbr::OriginalName("IID_Server_SiteUpdate")] ServerSiteUpdate = 10303,
[pbr::OriginalName("IID_Server_SiteUpdate_respond")] ServerSiteUpdateRespond = 10304,
[pbr::OriginalName("IID_Server_SiteParamUpdate")] ServerSiteParamUpdate = 10305,
[pbr::OriginalName("IID_Server_SiteParamUpdate_respond")] ServerSiteParamUpdateRespond = 10306,
[pbr::OriginalName("IID_Server_SiteDel")] ServerSiteDel = 10307,
[pbr::OriginalName("IID_Server_SiteDel_respond")] ServerSiteDelRespond = 10308,
[pbr::OriginalName("IID_Server_SiteListSend")] ServerSiteListSend = 10309,
[pbr::OriginalName("IID_Server_SiteListSend_respond")] ServerSiteListSendRespond = 10310,
[pbr::OriginalName("IID_Server_SiteListReceive")] ServerSiteListReceive = 10311,
[pbr::OriginalName("IID_Server_SiteListReceive_respond")] ServerSiteListReceiveRespond = 10312,
/// <summary>
/// task action
/// </summary>
[pbr::OriginalName("IID_Server_TaskList")] ServerTaskList = 10401,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskList_respond")] ServerTaskListRespond = 10402,
[pbr::OriginalName("IID_Server_TaskForecast")] ServerTaskForecast = 10403,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskForecast_respond")] ServerTaskForecastRespond = 10404,
[pbr::OriginalName("IID_Server_TaskUpdate")] ServerTaskUpdate = 10405,
[pbr::OriginalName("IID_Server_TaskUpdate_respond")] ServerTaskUpdateRespond = 10406,
[pbr::OriginalName("IID_Server_TaskDel")] ServerTaskDel = 10407,
[pbr::OriginalName("IID_Server_TaskDel_respond")] ServerTaskDelRespond = 10408,
[pbr::OriginalName("IID_Server_TaskDetailDat")] ServerTaskDetailDat = 10409,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskDetailDat_respond")] ServerTaskDetailDatRespond = 10410,
[pbr::OriginalName("IID_Server_TaskDetailPoint")] ServerTaskDetailPoint = 10411,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskDetailPoint_respond")] ServerTaskDetailPointRespond = 10412,
[pbr::OriginalName("IID_Server_TaskPause")] ServerTaskPause = 10413,
[pbr::OriginalName("IID_Server_TaskPause_respond")] ServerTaskPauseRespond = 10414,
[pbr::OriginalName("IID_Server_TaskRestart")] ServerTaskRestart = 10415,
[pbr::OriginalName("IID_Server_TaskRestart_respond")] ServerTaskRestartRespond = 10416,
[pbr::OriginalName("IID_Server_TaskHandleConflict")] ServerTaskHandleConflict = 10417,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskHandleConflict_respond")] ServerTaskHandleConflictRespond = 10418,
[pbr::OriginalName("IID_Server_TaskHandModeSwitch")] ServerTaskHandModeSwitch = 10419,
[pbr::OriginalName("IID_Server_TaskHandModeSwitch_respond")] ServerTaskHandModeSwitchRespond = 10420,
[pbr::OriginalName("IID_Server_TaskIndex")] ServerTaskIndex = 10421,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_TaskIndex_respond")] ServerTaskIndexRespond = 10422,
[pbr::OriginalName("IID_Server_TaskListSend")] ServerTaskListSend = 10423,
[pbr::OriginalName("IID_Server_TaskListSend_respond")] ServerTaskListSendRespond = 10424,
[pbr::OriginalName("IID_Server_TaskListReceive")] ServerTaskListReceive = 10425,
[pbr::OriginalName("IID_Server_TaskListReceive_respond")] ServerTaskListReceiveRespond = 10426,
[pbr::OriginalName("IID_Server_FileReceive")] ServerFileReceive = 10427,
[pbr::OriginalName("IID_Server_FileReceive_respond")] ServerFileReceiveRespond = 10428,
[pbr::OriginalName("IID_Server_TaskExecAnalysisResult")] ServerTaskExecAnalysisResult = 105,
[pbr::OriginalName("IID_Server_TaskExecAnalysisResult_respond")] ServerTaskExecAnalysisResultRespond = 10502,
[pbr::OriginalName("IID_Server_TaskExecList")] ServerTaskExecList = 10503,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_TaskExecList_respond")] ServerTaskExecListRespond = 10504,
/// <summary>
/// more setting action
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingSet")] ServerMoreSettingSet = 10601,
[pbr::OriginalName("IID_Server_MoreSettingSet_respond")] ServerMoreSettingSetRespond = 10602,
[pbr::OriginalName("IID_Server_MoreSettingGet")] ServerMoreSettingGet = 10603,
/// <summary>
/// 正常-data ,获取存储规则-list
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingGet_respond")] ServerMoreSettingGetRespond = 10604,
[pbr::OriginalName("IID_Server_MoreSettingGetDefault")] ServerMoreSettingGetDefault = 10605,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_MoreSettingGetDefault_respond")] ServerMoreSettingGetDefaultRespond = 10606,
[pbr::OriginalName("IID_Server_MoreSettingDataSet")] ServerMoreSettingDataSet = 10607,
[pbr::OriginalName("IID_Server_MoreSettingDataSet_respond")] ServerMoreSettingDataSetRespond = 10608,
[pbr::OriginalName("IID_Server_MoreSettingDataDel")] ServerMoreSettingDataDel = 10609,
[pbr::OriginalName("IID_Server_MoreSettingDataDel_respond")] ServerMoreSettingDataDelRespond = 10610,
/// <summary>
/// IID_Server_MoreSettingSend = 10611;
/// IID_Server_MoreSettingSend_respond = 10612;
/// IID_Server_MoreSettingReceive = 10613;
/// IID_Server_MoreSettingReceive_respond = 10614;
/// user action
/// </summary>
[pbr::OriginalName("IID_Server_Login")] ServerLogin = 10701,
/// <summary>
///data
/// </summary>
[pbr::OriginalName("IID_Server_Login_respond")] ServerLoginRespond = 10702,
[pbr::OriginalName("IID_Server_UserCreate")] ServerUserCreate = 10703,
[pbr::OriginalName("IID_Server_UserCreate_respond")] ServerUserCreateRespond = 10704,
[pbr::OriginalName("IID_Server_UserUpdate")] ServerUserUpdate = 10705,
[pbr::OriginalName("IID_Server_UserUpdate_respond")] ServerUserUpdateRespond = 10706,
[pbr::OriginalName("IID_Server_UserDel")] ServerUserDel = 10707,
[pbr::OriginalName("IID_Server_UserDel_respond")] ServerUserDelRespond = 10708,
[pbr::OriginalName("IID_Server_UserList")] ServerUserList = 10709,
/// <summary>
///list
/// </summary>
[pbr::OriginalName("IID_Server_UserList_respond")] ServerUserListRespond = 10710,
/// <summary>
///====================== UI =============================
/// </summary>
[pbr::OriginalName("IID_UI_Base")] UiBase = 20000,
[pbr::OriginalName("IID_UI_xxx")] UiXxx = 20001,
[pbr::OriginalName("IID_UI_xxx_respond")] UiXxxRespond = 20002,
/// <summary>
///====================== Device =============================
/// </summary>
[pbr::OriginalName("IID_Device_Base")] DeviceBase = 30000,
[pbr::OriginalName("IID_Device_DBC_CURD")] DeviceDbcCurd = 30001,
[pbr::OriginalName("IID_Device_DBC_CURD_respond")] DeviceDbcCurdRespond = 30002,
[pbr::OriginalName("IID_Device_Xpro_TX_cmd")] DeviceXproTxCmd = 30003,
[pbr::OriginalName("IID_Device_Xpro_TX_cmd_respond")] DeviceXproTxCmdRespond = 30004,
[pbr::OriginalName("IID_Device_Xpro_RX_cmd")] DeviceXproRxCmd = 30005,
/// <summary>
///用不上
/// </summary>
[pbr::OriginalName("IID_Device_Xpro_RX_cmd_respond")] DeviceXproRxCmdRespond = 30006,
/// <summary>
///====================== AGI =============================
/// </summary>
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 4000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 4001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 4002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 4003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 4004,
/// <summary>
///====================== OAM =============================
/// </summary>
[pbr::OriginalName("IID_OAM_Base")] OamBase = 50000,
/// <summary>
/// public use
/// </summary>
[pbr::OriginalName("IID_OAM_HeartBeat_RX")] OamHeartBeatRx = 50001,
[pbr::OriginalName("IID_OAM_LOG_RX")] OamLogRx = 50003,
/// <summary>
/// OAM relay
/// </summary>
[pbr::OriginalName("IID_OAM_SysStatus_Relay")] OamSysStatusRelay = 50005,
[pbr::OriginalName("IID_OAM_SysStatus_Relay_Respond")] OamSysStatusRelayRespond = 50006,
[pbr::OriginalName("IID_OAM_Performance_Relay")] OamPerformanceRelay = 50007,
[pbr::OriginalName("IID_OAM_Performance_Relay_Respond")] OamPerformanceRelayRespond = 50008,
[pbr::OriginalName("IID_OAM_Alert_Start_Relay")] OamAlertStartRelay = 50009,
[pbr::OriginalName("IID_OAM_Alert_Start_Relay_Respond")] OamAlertStartRelayRespond = 50010,
[pbr::OriginalName("IID_OAM_Alert_End_Relay")] OamAlertEndRelay = 50011,
[pbr::OriginalName("IID_OAM_Alert_End_Relay_Respond")] OamAlertEndRelayRespond = 50012,
[pbr::OriginalName("IID_OAM_LOG_Relay")] OamLogRelay = 50013,
[pbr::OriginalName("IID_OAM_LOG_Relay_Respond")] OamLogRelayRespond = 50014,
/// <summary>
/// communicate with UI
/// </summary>
[pbr::OriginalName("IID_OAM_UI_SysStatus_Require")] OamUiSysStatusRequire = 50015,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Respond")] OamUiSysStatusRespond = 50016,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Update")] OamUiSysStatusUpdate = 50017,
[pbr::OriginalName("IID_OAM_UI_SysStatus_Update_Respond")] OamUiSysStatusUpdateRespond = 50018,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Require")] OamUiCurrentAlarmsRequire = 50019,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Respond")] OamUiCurrentAlarmsRespond = 50020,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Start_Update")] OamUiCurrentAlarmsStartUpdate = 50021,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_Start_Update_Respond")] OamUiCurrentAlarmsStartUpdateRespond = 50022,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_End_Update")] OamUiCurrentAlarmsEndUpdate = 50023,
[pbr::OriginalName("IID_OAM_UI_CurrentAlarms_End_Update_Respond")] OamUiCurrentAlarmsEndUpdateRespond = 50024,
[pbr::OriginalName("IID_OAM_UI_HistoryAlarms_Require")] OamUiHistoryAlarmsRequire = 50025,
[pbr::OriginalName("IID_OAM_UI_HistoryAlarms_Respond")] OamUiHistoryAlarmsRespond = 50026,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Require")] OamUiAlarmAttributionRequire = 50027,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Respond")] OamUiAlarmAttributionRespond = 50028,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Update_Require")] OamUiAlarmAttributionUpdateRequire = 50029,
[pbr::OriginalName("IID_OAM_UI_AlarmAttribution_Update_Respond")] OamUiAlarmAttributionUpdateRespond = 50030,
[pbr::OriginalName("IID_OAM_UI_PerInfos_Require")] OamUiPerInfosRequire = 50031,
[pbr::OriginalName("IID_OAM_UI_PerInfos_Respond")] OamUiPerInfosRespond = 50032,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Require")] OamUiPerAttributionRequire = 50033,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Respond")] OamUiPerAttributionRespond = 50034,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Update_Require")] OamUiPerAttributionUpdateRequire = 50035,
[pbr::OriginalName("IID_OAM_UI_PerAttribution_Update_Respond")] OamUiPerAttributionUpdateRespond = 50036,
[pbr::OriginalName("IID_OAM_UI_LOG_Require")] OamUiLogRequire = 50037,
[pbr::OriginalName("IID_OAM_UI_LOG_Respond")] OamUiLogRespond = 50038,
/// <summary>
/// communicate with Device
/// </summary>
[pbr::OriginalName("IID_OAM_Device_Alert_Start")] OamDeviceAlertStart = 50039,
[pbr::OriginalName("IID_OAM_Device_Alert_Start_Respond")] OamDeviceAlertStartRespond = 50040,
[pbr::OriginalName("IID_OAM_Device_Alert_End")] OamDeviceAlertEnd = 50041,
[pbr::OriginalName("IID_OAM_Device_Alert_End_Respond")] OamDeviceAlertEndRespond = 50042,
[pbr::OriginalName("IID_OAM_Device_Performance_RX")] OamDevicePerformanceRx = 50043,
}
/// <summary>
//// sub system define
/// </summary>
public enum BROKERAREA {
[pbr::OriginalName("BROKERAREA_LOCAL")] Local = 0,
[pbr::OriginalName("BROKERAREA_CLOUD_LEVEL2")] CloudLevel2 = 1,
[pbr::OriginalName("BROKERAREA_CLOUD_LEVEL1")] CloudLevel1 = 2,
}
public enum SUBSYSTEM {
[pbr::OriginalName("SUBSYSTEM_base")] Base = 0,
[pbr::OriginalName("SUBSYSTEM_Server")] Server = 1,
[pbr::OriginalName("SUBSYSTEM_UI")] Ui = 2,
[pbr::OriginalName("SUBSYSTEM_Device")] Device = 3,
[pbr::OriginalName("SUBSYSTEM_AGI")] Agi = 4,
[pbr::OriginalName("SUBSYSTEM_OAM")] Oam = 5,
[pbr::OriginalName("SUBSYSTEM_default")] Default = 6,
}
/// <summary>
///设备状态枚举
/// </summary>
public enum Devistatus {
[pbr::OriginalName("Init_status")] InitStatus = 0,
[pbr::OriginalName("Online")] Online = 1,
[pbr::OriginalName("Offline")] Offline = 2,
[pbr::OriginalName("Alarm")] Alarm = 3,
}
#endregion
#region Messages
public sealed partial class TestParams : pb::IMessage<TestParams>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TestParams> _parser = new pb::MessageParser<TestParams>(() => new TestParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TestParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[0]; }
}
#region Messages
public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
[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 TestParams() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TestParams(TestParams other) : this() {
key_ = other.key_;
value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TestParams Clone() {
return new TestParams(this);
}
/// <summary>Field number for the "key" field.</summary>
public const int KeyFieldNumber = 1;
private string key_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Key {
get { return key_; }
set {
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "value" field.</summary>
public const int ValueFieldNumber = 2;
private string value_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Value {
get { return value_; }
set {
value_ = 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 TestParams);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TestParams other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Key != other.Key) return false;
if (Value != other.Value) 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 (Key.Length != 0) hash ^= Key.GetHashCode();
if (Value.Length != 0) hash ^= Value.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 (Key.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Key);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Key.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Key);
}
if (Value.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Value);
}
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 (Key.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
}
if (Value.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TestParams other) {
if (other == null) {
return;
}
if (other.Key.Length != 0) {
Key = other.Key;
}
if (other.Value.Length != 0) {
Value = other.Value;
}
_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: {
Key = input.ReadString();
break;
}
case 18: {
Value = 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: {
Key = input.ReadString();
break;
}
case 18: {
Value = input.ReadString();
break;
}
}
}
}
#endif
}
/// <summary>
///心跳
/// </summary>
public sealed partial class Heartbeat : pb::IMessage<Heartbeat>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Heartbeat> _parser = new pb::MessageParser<Heartbeat>(() => new Heartbeat());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Heartbeat> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.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 Heartbeat() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Heartbeat(Heartbeat other) : this() {
suid_ = other.suid_;
iidList_ = other.iidList_.Clone();
devStatus_ = other.devStatus_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Heartbeat Clone() {
return new Heartbeat(this);
}
/// <summary>Field number for the "suid" field.</summary>
public const int SuidFieldNumber = 1;
private uint suid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Suid {
get { return suid_; }
set {
suid_ = value;
}
}
/// <summary>Field number for the "iid_list" field.</summary>
public const int IidListFieldNumber = 2;
private static readonly pb::FieldCodec<global::IID> _repeated_iidList_codec
= pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::IID) x);
private readonly pbc::RepeatedField<global::IID> iidList_ = new pbc::RepeatedField<global::IID>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::IID> IidList {
get { return iidList_; }
}
/// <summary>Field number for the "Dev_status" field.</summary>
public const int DevStatusFieldNumber = 3;
private static readonly pbc::MapField<uint, global::Devistatus>.Codec _map_devStatus_codec
= new pbc::MapField<uint, global::Devistatus>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Devistatus) x, global::Devistatus.InitStatus), 26);
private readonly pbc::MapField<uint, global::Devistatus> devStatus_ = new pbc::MapField<uint, global::Devistatus>();
/// <summary>
///存放设备状态 &lt;DEV_SUID,STATUS>
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<uint, global::Devistatus> DevStatus {
get { return devStatus_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Heartbeat);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Heartbeat other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Suid != other.Suid) return false;
if(!iidList_.Equals(other.iidList_)) return false;
if (!DevStatus.Equals(other.DevStatus)) 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 (Suid != 0) hash ^= Suid.GetHashCode();
hash ^= iidList_.GetHashCode();
hash ^= DevStatus.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 (Suid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Suid);
}
iidList_.WriteTo(output, _repeated_iidList_codec);
devStatus_.WriteTo(output, _map_devStatus_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Suid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Suid);
}
iidList_.WriteTo(ref output, _repeated_iidList_codec);
devStatus_.WriteTo(ref output, _map_devStatus_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
{
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Suid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Suid);
}
size += iidList_.CalculateSize(_repeated_iidList_codec);
size += devStatus_.CalculateSize(_map_devStatus_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Heartbeat other) {
if (other == null) {
return;
}
if (other.Suid != 0) {
Suid = other.Suid;
}
iidList_.Add(other.iidList_);
devStatus_.Add(other.devStatus_);
_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: {
Suid = input.ReadUInt32();
break;
}
case 18:
case 16: {
iidList_.AddEntriesFrom(input, _repeated_iidList_codec);
break;
}
case 26: {
devStatus_.AddEntriesFrom(input, _map_devStatus_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Suid = input.ReadUInt32();
break;
}
case 18:
case 16: {
iidList_.AddEntriesFrom(ref input, _repeated_iidList_codec);
break;
}
case 26: {
devStatus_.AddEntriesFrom(ref input, _map_devStatus_codec);
break;
}
}
}
}
#endif
}
public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TDSCmd> _parser = new pb::MessageParser<TDSCmd>(() => new TDSCmd());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -63,7 +966,7 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Satllite.Protobuf.TDSCmd.TdscmdReflection.Descriptor.MessageTypes[0]; }
get { return global::TdscmdReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -83,10 +986,13 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TDSCmd(TDSCmd other) : this() {
cmd_ = other.cmd_;
dstSUID_ = other.dstSUID_;
srcSUID_ = other.srcSUID_;
interfaceId_ = other.interfaceId_;
dstSuid_ = other.dstSuid_;
srcSuid_ = other.srcSuid_;
forwardFlag_ = other.forwardFlag_;
priority_ = other.priority_;
requestIndex_ = other.requestIndex_;
ts_ = other.ts_ != null ? other.ts_.Clone() : null;
parameters_ = other.parameters_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
......@@ -97,43 +1003,43 @@ namespace Satllite.Protobuf.TDSCmd {
return new TDSCmd(this);
}
/// <summary>Field number for the "Cmd" field.</summary>
public const int CmdFieldNumber = 1;
private global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID cmd_ = global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base;
/// <summary>Field number for the "interface_id" field.</summary>
public const int InterfaceIdFieldNumber = 1;
private global::IID interfaceId_ = global::IID.Base;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID Cmd {
get { return cmd_; }
public global::IID InterfaceId {
get { return interfaceId_; }
set {
cmd_ = value;
interfaceId_ = value;
}
}
/// <summary>Field number for the "DstSUID" field.</summary>
public const int DstSUIDFieldNumber = 2;
private uint dstSUID_;
/// <summary>Field number for the "dst_suid" field.</summary>
public const int DstSuidFieldNumber = 2;
private uint dstSuid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DstSUID {
get { return dstSUID_; }
public uint DstSuid {
get { return dstSuid_; }
set {
dstSUID_ = value;
dstSuid_ = value;
}
}
/// <summary>Field number for the "SrcSUID" field.</summary>
public const int SrcSUIDFieldNumber = 3;
private uint srcSUID_;
/// <summary>Field number for the "src_suid" field.</summary>
public const int SrcSuidFieldNumber = 3;
private uint srcSuid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SrcSUID {
get { return srcSUID_; }
public uint SrcSuid {
get { return srcSuid_; }
set {
srcSUID_ = value;
srcSuid_ = value;
}
}
/// <summary>Field number for the "ForwardFlag" field.</summary>
/// <summary>Field number for the "forward_flag" field.</summary>
public const int ForwardFlagFieldNumber = 4;
private uint forwardFlag_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -145,10 +1051,49 @@ namespace Satllite.Protobuf.TDSCmd {
}
}
/// <summary>Field number for the "Parameters" field.</summary>
public const int ParametersFieldNumber = 5;
/// <summary>Field number for the "priority" field.</summary>
public const int PriorityFieldNumber = 5;
private uint priority_;
/// <summary>
///报文优先级 可以优先发送
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Priority {
get { return priority_; }
set {
priority_ = value;
}
}
/// <summary>Field number for the "request_index" field.</summary>
public const int RequestIndexFieldNumber = 6;
private uint requestIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RequestIndex {
get { return requestIndex_; }
set {
requestIndex_ = value;
}
}
/// <summary>Field number for the "ts" field.</summary>
public const int TsFieldNumber = 7;
private global::Google.Protobuf.WellKnownTypes.Timestamp ts_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp Ts {
get { return ts_; }
set {
ts_ = value;
}
}
/// <summary>Field number for the "parameters" field.</summary>
public const int ParametersFieldNumber = 8;
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_parameters_codec
= pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.Any.Parser);
= pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.Any.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> parameters_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
......@@ -171,10 +1116,13 @@ namespace Satllite.Protobuf.TDSCmd {
if (ReferenceEquals(other, this)) {
return true;
}
if (Cmd != other.Cmd) return false;
if (DstSUID != other.DstSUID) return false;
if (SrcSUID != other.SrcSUID) return false;
if (InterfaceId != other.InterfaceId) return false;
if (DstSuid != other.DstSuid) return false;
if (SrcSuid != other.SrcSuid) return false;
if (ForwardFlag != other.ForwardFlag) return false;
if (Priority != other.Priority) return false;
if (RequestIndex != other.RequestIndex) return false;
if (!object.Equals(Ts, other.Ts)) return false;
if(!parameters_.Equals(other.parameters_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
......@@ -183,10 +1131,13 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) hash ^= Cmd.GetHashCode();
if (DstSUID != 0) hash ^= DstSUID.GetHashCode();
if (SrcSUID != 0) hash ^= SrcSUID.GetHashCode();
if (InterfaceId != global::IID.Base) hash ^= InterfaceId.GetHashCode();
if (DstSuid != 0) hash ^= DstSuid.GetHashCode();
if (SrcSuid != 0) hash ^= SrcSuid.GetHashCode();
if (ForwardFlag != 0) hash ^= ForwardFlag.GetHashCode();
if (Priority != 0) hash ^= Priority.GetHashCode();
if (RequestIndex != 0) hash ^= RequestIndex.GetHashCode();
if (ts_ != null) hash ^= Ts.GetHashCode();
hash ^= parameters_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
......@@ -206,22 +1157,34 @@ namespace Satllite.Protobuf.TDSCmd {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
if (InterfaceId != global::IID.Base) {
output.WriteRawTag(8);
output.WriteEnum((int) Cmd);
output.WriteEnum((int) InterfaceId);
}
if (DstSUID != 0) {
if (DstSuid != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DstSUID);
output.WriteUInt32(DstSuid);
}
if (SrcSUID != 0) {
if (SrcSuid != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SrcSUID);
output.WriteUInt32(SrcSuid);
}
if (ForwardFlag != 0) {
output.WriteRawTag(32);
output.WriteUInt32(ForwardFlag);
}
if (Priority != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Priority);
}
if (RequestIndex != 0) {
output.WriteRawTag(48);
output.WriteUInt32(RequestIndex);
}
if (ts_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Ts);
}
parameters_.WriteTo(output, _repeated_parameters_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
......@@ -233,22 +1196,34 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
if (InterfaceId != global::IID.Base) {
output.WriteRawTag(8);
output.WriteEnum((int) Cmd);
output.WriteEnum((int) InterfaceId);
}
if (DstSUID != 0) {
if (DstSuid != 0) {
output.WriteRawTag(16);
output.WriteUInt32(DstSUID);
output.WriteUInt32(DstSuid);
}
if (SrcSUID != 0) {
if (SrcSuid != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SrcSUID);
output.WriteUInt32(SrcSuid);
}
if (ForwardFlag != 0) {
output.WriteRawTag(32);
output.WriteUInt32(ForwardFlag);
}
if (Priority != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Priority);
}
if (RequestIndex != 0) {
output.WriteRawTag(48);
output.WriteUInt32(RequestIndex);
}
if (ts_ != null) {
output.WriteRawTag(58);
output.WriteMessage(Ts);
}
parameters_.WriteTo(ref output, _repeated_parameters_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
......@@ -260,18 +1235,27 @@ namespace Satllite.Protobuf.TDSCmd {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cmd);
if (InterfaceId != global::IID.Base) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) InterfaceId);
}
if (DstSUID != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DstSUID);
if (DstSuid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DstSuid);
}
if (SrcSUID != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcSUID);
if (SrcSuid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcSuid);
}
if (ForwardFlag != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ForwardFlag);
}
if (Priority != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority);
}
if (RequestIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RequestIndex);
}
if (ts_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ts);
}
size += parameters_.CalculateSize(_repeated_parameters_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
......@@ -285,18 +1269,30 @@ namespace Satllite.Protobuf.TDSCmd {
if (other == null) {
return;
}
if (other.Cmd != global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID.Base) {
Cmd = other.Cmd;
if (other.InterfaceId != global::IID.Base) {
InterfaceId = other.InterfaceId;
}
if (other.DstSUID != 0) {
DstSUID = other.DstSUID;
if (other.DstSuid != 0) {
DstSuid = other.DstSuid;
}
if (other.SrcSUID != 0) {
SrcSUID = other.SrcSUID;
if (other.SrcSuid != 0) {
SrcSuid = other.SrcSuid;
}
if (other.ForwardFlag != 0) {
ForwardFlag = other.ForwardFlag;
}
if (other.Priority != 0) {
Priority = other.Priority;
}
if (other.RequestIndex != 0) {
RequestIndex = other.RequestIndex;
}
if (other.ts_ != null) {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
Ts.MergeFrom(other.Ts);
}
parameters_.Add(other.parameters_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
......@@ -314,22 +1310,37 @@ namespace Satllite.Protobuf.TDSCmd {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
InterfaceId = (global::IID) input.ReadEnum();
break;
}
case 16: {
DstSUID = input.ReadUInt32();
DstSuid = input.ReadUInt32();
break;
}
case 24: {
SrcSUID = input.ReadUInt32();
SrcSuid = input.ReadUInt32();
break;
}
case 32: {
ForwardFlag = input.ReadUInt32();
break;
}
case 42: {
case 40: {
Priority = input.ReadUInt32();
break;
}
case 48: {
RequestIndex = input.ReadUInt32();
break;
}
case 58: {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(Ts);
break;
}
case 66: {
parameters_.AddEntriesFrom(input, _repeated_parameters_codec);
break;
}
......@@ -349,63 +1360,48 @@ namespace Satllite.Protobuf.TDSCmd {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Cmd = (global::Satllite.Protobuf.TDSCmd.TDSCmd.Types.IID) input.ReadEnum();
InterfaceId = (global::IID) input.ReadEnum();
break;
}
case 16: {
DstSUID = input.ReadUInt32();
DstSuid = input.ReadUInt32();
break;
}
case 24: {
SrcSUID = input.ReadUInt32();
SrcSuid = input.ReadUInt32();
break;
}
case 32: {
ForwardFlag = input.ReadUInt32();
break;
}
case 42: {
parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec);
case 40: {
Priority = input.ReadUInt32();
break;
}
case 48: {
RequestIndex = input.ReadUInt32();
break;
}
case 58: {
if (ts_ == null) {
Ts = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(Ts);
break;
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the TDSCmd message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public enum IID {
[pbr::OriginalName("IID_Base")] Base = 0,
[pbr::OriginalName("IID_Server_Base")] ServerBase = 1000,
[pbr::OriginalName("IID_Server_xxx")] ServerXxx = 1001,
[pbr::OriginalName("IID_Server_xxx_respond")] ServerXxxRespond = 1002,
[pbr::OriginalName("IID_UI_Base")] UiBase = 2000,
[pbr::OriginalName("IID_UI_xxx")] UiXxx = 2001,
[pbr::OriginalName("IID_UI_xxx_respond")] UiXxxRespond = 2002,
[pbr::OriginalName("IID_Device_Base")] DeviceBase = 3000,
[pbr::OriginalName("IID_Device_xxx")] DeviceXxx = 3001,
[pbr::OriginalName("IID_Device_xxx_respond")] DeviceXxxRespond = 3002,
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 4000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 4001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 4002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 4003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 4004,
[pbr::OriginalName("IID_OAM_Base")] OamBase = 5000,
[pbr::OriginalName("IID_OAM_xxx")] OamXxx = 5001,
[pbr::OriginalName("IID_OAM_xxx_respond")] OamXxxRespond = 5002,
case 66: {
parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec);
break;
}
}
#endregion
}
#endregion
}
#endif
}
#endregion
#endregion Designer generated code
......@@ -20,17 +20,56 @@ PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = _pb::internal;
namespace satllite {
namespace protobuf {
namespace TDSCmd {
PROTOBUF_CONSTEXPR TestParams::TestParams(
::_pbi::ConstantInitialized)
: key_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
, value_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){}
struct TestParamsDefaultTypeInternal {
PROTOBUF_CONSTEXPR TestParamsDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
~TestParamsDefaultTypeInternal() {}
union {
TestParams _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestParamsDefaultTypeInternal _TestParams_default_instance_;
PROTOBUF_CONSTEXPR Heartbeat_DevStatusEntry_DoNotUse::Heartbeat_DevStatusEntry_DoNotUse(
::_pbi::ConstantInitialized){}
struct Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal {
PROTOBUF_CONSTEXPR Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
~Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal() {}
union {
Heartbeat_DevStatusEntry_DoNotUse _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal _Heartbeat_DevStatusEntry_DoNotUse_default_instance_;
PROTOBUF_CONSTEXPR Heartbeat::Heartbeat(
::_pbi::ConstantInitialized)
: iid_list_()
, _iid_list_cached_byte_size_(0)
, dev_status_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{})
, suid_(0u){}
struct HeartbeatDefaultTypeInternal {
PROTOBUF_CONSTEXPR HeartbeatDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
~HeartbeatDefaultTypeInternal() {}
union {
Heartbeat _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeartbeatDefaultTypeInternal _Heartbeat_default_instance_;
PROTOBUF_CONSTEXPR TDSCmd::TDSCmd(
::_pbi::ConstantInitialized)
: parameters_()
, cmd_(0)
, ts_(nullptr)
, interface_id_(0)
, dstsuid_(0u)
, srcsuid_(0u)
, forwardflag_(0u){}
, dst_suid_(0u)
, src_suid_(0u)
, forward_flag_(0u)
, priority_(0u)
, request_index_(0u){}
struct TDSCmdDefaultTypeInternal {
PROTOBUF_CONSTEXPR TDSCmdDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
......@@ -40,60 +79,242 @@ struct TDSCmdDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TDSCmdDefaultTypeInternal _TDSCmd_default_instance_;
} // namespace TDSCmd
} // namespace protobuf
} // namespace satllite
static ::_pb::Metadata file_level_metadata_tdscmd_2eproto[1];
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_tdscmd_2eproto[1];
static ::_pb::Metadata file_level_metadata_tdscmd_2eproto[4];
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_tdscmd_2eproto[5];
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_tdscmd_2eproto = nullptr;
const uint32_t TableStruct_tdscmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, _internal_metadata_),
PROTOBUF_FIELD_OFFSET(::TestParams, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, cmd_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, dstsuid_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, srcsuid_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, forwardflag_),
PROTOBUF_FIELD_OFFSET(::satllite::protobuf::TDSCmd::TDSCmd, parameters_),
PROTOBUF_FIELD_OFFSET(::TestParams, key_),
PROTOBUF_FIELD_OFFSET(::TestParams, value_),
PROTOBUF_FIELD_OFFSET(::Heartbeat_DevStatusEntry_DoNotUse, _has_bits_),
PROTOBUF_FIELD_OFFSET(::Heartbeat_DevStatusEntry_DoNotUse, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::Heartbeat_DevStatusEntry_DoNotUse, key_),
PROTOBUF_FIELD_OFFSET(::Heartbeat_DevStatusEntry_DoNotUse, value_),
0,
1,
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::Heartbeat, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::Heartbeat, suid_),
PROTOBUF_FIELD_OFFSET(::Heartbeat, iid_list_),
PROTOBUF_FIELD_OFFSET(::Heartbeat, dev_status_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::TDSCmd, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::TDSCmd, interface_id_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, dst_suid_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, src_suid_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, forward_flag_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, priority_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, request_index_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, ts_),
PROTOBUF_FIELD_OFFSET(::TDSCmd, parameters_),
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, -1, sizeof(::satllite::protobuf::TDSCmd::TDSCmd)},
{ 0, -1, -1, sizeof(::TestParams)},
{ 8, 16, -1, sizeof(::Heartbeat_DevStatusEntry_DoNotUse)},
{ 18, -1, -1, sizeof(::Heartbeat)},
{ 27, -1, -1, sizeof(::TDSCmd)},
};
static const ::_pb::Message* const file_default_instances[] = {
&::satllite::protobuf::TDSCmd::_TDSCmd_default_instance_._instance,
&::_TestParams_default_instance_._instance,
&::_Heartbeat_DevStatusEntry_DoNotUse_default_instance_._instance,
&::_Heartbeat_default_instance_._instance,
&::_TDSCmd_default_instance_._instance,
};
const char descriptor_table_protodef_tdscmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\014tdscmd.proto\022\030satllite.protobuf.TDSCmd"
"\032\031google/protobuf/any.proto\"\256\004\n\006TDSCmd\0221"
"\n\003Cmd\030\001 \001(\0162$.satllite.protobuf.TDSCmd.T"
"DSCmd.IID\022\017\n\007DstSUID\030\002 \001(\r\022\017\n\007SrcSUID\030\003 "
"\001(\r\022\023\n\013ForwardFlag\030\004 \001(\r\022(\n\nParameters\030\005"
" \003(\0132\024.google.protobuf.Any\"\217\003\n\003IID\022\014\n\010II"
"D_Base\020\000\022\024\n\017IID_Server_Base\020\350\007\022\023\n\016IID_Se"
"rver_xxx\020\351\007\022\033\n\026IID_Server_xxx_respond\020\352\007"
"\022\020\n\013IID_UI_Base\020\320\017\022\017\n\nIID_UI_xxx\020\321\017\022\027\n\022I"
"ID_UI_xxx_respond\020\322\017\022\024\n\017IID_Device_Base\020"
"\270\027\022\023\n\016IID_Device_xxx\020\271\027\022\033\n\026IID_Device_xx"
"x_respond\020\272\027\022\021\n\014IID_AGI_Base\020\240\037\022\020\n\013IID_A"
"GI_TLE\020\241\037\022\030\n\023IID_AGI_TLE_respond\020\242\037\022\023\n\016I"
"ID_AGI_Report\020\243\037\022\033\n\026IID_AGI_Report_respo"
"nd\020\244\037\022\021\n\014IID_OAM_Base\020\210\'\022\020\n\013IID_OAM_xxx\020"
"\211\'\022\030\n\023IID_OAM_xxx_respond\020\212\'b\006proto3"
"\n\014tdscmd.proto\032\031google/protobuf/any.prot"
"o\032\037google/protobuf/timestamp.proto\"(\n\nTe"
"stParams\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\237\001\n"
"\tHeartbeat\022\014\n\004suid\030\001 \001(\r\022\026\n\010iid_list\030\002 \003"
"(\0162\004.IID\022-\n\nDev_status\030\003 \003(\0132\031.Heartbeat"
".DevStatusEntry\032=\n\016DevStatusEntry\022\013\n\003key"
"\030\001 \001(\r\022\032\n\005value\030\002 \001(\0162\013.Devistatus:\0028\001\"\331"
"\001\n\006TDSCmd\022\032\n\014interface_id\030\001 \001(\0162\004.IID\022\020\n"
"\010dst_suid\030\002 \001(\r\022\020\n\010src_suid\030\003 \001(\r\022\024\n\014for"
"ward_flag\030\004 \001(\r\022\020\n\010priority\030\005 \001(\r\022\025\n\rreq"
"uest_index\030\006 \001(\r\022&\n\002ts\030\007 \001(\0132\032.google.pr"
"otobuf.Timestamp\022(\n\nparameters\030\010 \003(\0132\024.g"
"oogle.protobuf.Any*4\n\tCodeValue\022\016\n\nbase_"
"start\020\000\022\013\n\007Succeed\020\001\022\n\n\006Failed\020\002*\221,\n\003IID"
"\022\014\n\010IID_Base\020\000\022\024\n\017IID_Server_Base\020\220N\022\027\n\022"
"IID_Server_SyncEnd\020\221N\022\035\n\030IID_Server_Sate"
"lliteList\020\365N\022%\n IID_Server_SatelliteList"
"_respond\020\366N\022#\n\036IID_Server_SatelliteBaseU"
"pdate\020\367N\022+\n&IID_Server_SatelliteBaseUpda"
"te_respond\020\370N\022\'\n\"IID_Server_SatellitePri"
"orityUpdate\020\371N\022/\n*IID_Server_SatellitePr"
"iorityUpdate_respond\020\372N\022%\n IID_Server_Sa"
"tellitePriorityList\020\373N\022-\n(IID_Server_Sat"
"ellitePriorityList_respond\020\374N\022(\n#IID_Ser"
"ver_SatelliteAvailableUpdate\020\375N\0220\n+IID_S"
"erver_SatelliteAvailableUpdate_respond\020\376"
"N\022&\n!IID_Server_SatelliteElementUpdate\020\377"
"N\022.\n)IID_Server_SatelliteElementUpdate_r"
"espond\020\200O\022$\n\037IID_Server_SatelliteElement"
"Load\020\201O\022,\n\'IID_Server_SatelliteElementLo"
"ad_respond\020\202O\022\034\n\027IID_Server_SatelliteDel"
"\020\203O\022$\n\037IID_Server_SatelliteDel_respond\020\204"
"O\0220\n+IID_Server_SatelliteInstantaneousRo"
"otUpdate\020\205O\0228\n3IID_Server_SatelliteInsta"
"ntaneousRootUpdate_respond\020\206O\022!\n\034IID_Ser"
"ver_SatelliteListSend\020\207O\022)\n$IID_Server_S"
"atelliteListSend_respond\020\210O\022$\n\037IID_Serve"
"r_SatelliteListReceive\020\211O\022,\n\'IID_Server_"
"SatelliteListReceive_respond\020\212O\022&\n!IID_S"
"erver_SatelliteWorkParamList\020\331O\022.\n)IID_S"
"erver_SatelliteWorkParamList_respond\020\332O\022"
"(\n#IID_Server_SatelliteWorkParamUpdate\020\333"
"O\0220\n+IID_Server_SatelliteWorkParamUpdate"
"_respond\020\334O\022%\n IID_Server_SatelliteWorkP"
"aramDel\020\335O\022-\n(IID_Server_SatelliteWorkPa"
"ramDel_respond\020\336O\022*\n%IID_Server_Satellit"
"eWorkParamListSend\020\337O\0222\n-IID_Server_Sate"
"lliteWorkParamListSend_respond\020\340O\022-\n(IID"
"_Server_SatelliteWorkParamListReceive\020\341O"
"\0225\n0IID_Server_SatelliteWorkParamListRec"
"eive_respond\020\342O\022\030\n\023IID_Server_SiteList\020\275"
"P\022 \n\033IID_Server_SiteList_respond\020\276P\022\032\n\025I"
"ID_Server_SiteUpdate\020\277P\022\"\n\035IID_Server_Si"
"teUpdate_respond\020\300P\022\037\n\032IID_Server_SitePa"
"ramUpdate\020\301P\022\'\n\"IID_Server_SiteParamUpda"
"te_respond\020\302P\022\027\n\022IID_Server_SiteDel\020\303P\022\037"
"\n\032IID_Server_SiteDel_respond\020\304P\022\034\n\027IID_S"
"erver_SiteListSend\020\305P\022$\n\037IID_Server_Site"
"ListSend_respond\020\306P\022\037\n\032IID_Server_SiteLi"
"stReceive\020\307P\022\'\n\"IID_Server_SiteListRecei"
"ve_respond\020\310P\022\030\n\023IID_Server_TaskList\020\241Q\022"
" \n\033IID_Server_TaskList_respond\020\242Q\022\034\n\027IID"
"_Server_TaskForecast\020\243Q\022$\n\037IID_Server_Ta"
"skForecast_respond\020\244Q\022\032\n\025IID_Server_Task"
"Update\020\245Q\022\"\n\035IID_Server_TaskUpdate_respo"
"nd\020\246Q\022\027\n\022IID_Server_TaskDel\020\247Q\022\037\n\032IID_Se"
"rver_TaskDel_respond\020\250Q\022\035\n\030IID_Server_Ta"
"skDetailDat\020\251Q\022%\n IID_Server_TaskDetailD"
"at_respond\020\252Q\022\037\n\032IID_Server_TaskDetailPo"
"int\020\253Q\022\'\n\"IID_Server_TaskDetailPoint_res"
"pond\020\254Q\022\031\n\024IID_Server_TaskPause\020\255Q\022!\n\034II"
"D_Server_TaskPause_respond\020\256Q\022\033\n\026IID_Ser"
"ver_TaskRestart\020\257Q\022#\n\036IID_Server_TaskRes"
"tart_respond\020\260Q\022\"\n\035IID_Server_TaskHandle"
"Conflict\020\261Q\022*\n%IID_Server_TaskHandleConf"
"lict_respond\020\262Q\022\"\n\035IID_Server_TaskHandMo"
"deSwitch\020\263Q\022*\n%IID_Server_TaskHandModeSw"
"itch_respond\020\264Q\022\031\n\024IID_Server_TaskIndex\020"
"\265Q\022!\n\034IID_Server_TaskIndex_respond\020\266Q\022\034\n"
"\027IID_Server_TaskListSend\020\267Q\022$\n\037IID_Serve"
"r_TaskListSend_respond\020\270Q\022\037\n\032IID_Server_"
"TaskListReceive\020\271Q\022\'\n\"IID_Server_TaskLis"
"tReceive_respond\020\272Q\022\033\n\026IID_Server_FileRe"
"ceive\020\273Q\022#\n\036IID_Server_FileReceive_respo"
"nd\020\274Q\022%\n!IID_Server_TaskExecAnalysisResu"
"lt\020i\022.\n)IID_Server_TaskExecAnalysisResul"
"t_respond\020\206R\022\034\n\027IID_Server_TaskExecList\020"
"\207R\022$\n\037IID_Server_TaskExecList_respond\020\210R"
"\022\036\n\031IID_Server_MoreSettingSet\020\351R\022&\n!IID_"
"Server_MoreSettingSet_respond\020\352R\022\036\n\031IID_"
"Server_MoreSettingGet\020\353R\022&\n!IID_Server_M"
"oreSettingGet_respond\020\354R\022%\n IID_Server_M"
"oreSettingGetDefault\020\355R\022-\n(IID_Server_Mo"
"reSettingGetDefault_respond\020\356R\022\"\n\035IID_Se"
"rver_MoreSettingDataSet\020\357R\022*\n%IID_Server"
"_MoreSettingDataSet_respond\020\360R\022\"\n\035IID_Se"
"rver_MoreSettingDataDel\020\361R\022*\n%IID_Server"
"_MoreSettingDataDel_respond\020\362R\022\025\n\020IID_Se"
"rver_Login\020\315S\022\035\n\030IID_Server_Login_respon"
"d\020\316S\022\032\n\025IID_Server_UserCreate\020\317S\022\"\n\035IID_"
"Server_UserCreate_respond\020\320S\022\032\n\025IID_Serv"
"er_UserUpdate\020\321S\022\"\n\035IID_Server_UserUpdat"
"e_respond\020\322S\022\027\n\022IID_Server_UserDel\020\323S\022\037\n"
"\032IID_Server_UserDel_respond\020\324S\022\030\n\023IID_Se"
"rver_UserList\020\325S\022 \n\033IID_Server_UserList_"
"respond\020\326S\022\021\n\013IID_UI_Base\020\240\234\001\022\020\n\nIID_UI_"
"xxx\020\241\234\001\022\030\n\022IID_UI_xxx_respond\020\242\234\001\022\025\n\017IID"
"_Device_Base\020\260\352\001\022\031\n\023IID_Device_DBC_CURD\020"
"\261\352\001\022!\n\033IID_Device_DBC_CURD_respond\020\262\352\001\022\034"
"\n\026IID_Device_Xpro_TX_cmd\020\263\352\001\022$\n\036IID_Devi"
"ce_Xpro_TX_cmd_respond\020\264\352\001\022\034\n\026IID_Device"
"_Xpro_RX_cmd\020\265\352\001\022$\n\036IID_Device_Xpro_RX_c"
"md_respond\020\266\352\001\022\021\n\014IID_AGI_Base\020\240\037\022\020\n\013IID"
"_AGI_TLE\020\241\037\022\030\n\023IID_AGI_TLE_respond\020\242\037\022\023\n"
"\016IID_AGI_Report\020\243\037\022\033\n\026IID_AGI_Report_res"
"pond\020\244\037\022\022\n\014IID_OAM_Base\020\320\206\003\022\032\n\024IID_OAM_H"
"eartBeat_RX\020\321\206\003\022\024\n\016IID_OAM_LOG_RX\020\323\206\003\022\035\n"
"\027IID_OAM_SysStatus_Relay\020\325\206\003\022%\n\037IID_OAM_"
"SysStatus_Relay_Respond\020\326\206\003\022\037\n\031IID_OAM_P"
"erformance_Relay\020\327\206\003\022\'\n!IID_OAM_Performa"
"nce_Relay_Respond\020\330\206\003\022\037\n\031IID_OAM_Alert_S"
"tart_Relay\020\331\206\003\022\'\n!IID_OAM_Alert_Start_Re"
"lay_Respond\020\332\206\003\022\035\n\027IID_OAM_Alert_End_Rel"
"ay\020\333\206\003\022%\n\037IID_OAM_Alert_End_Relay_Respon"
"d\020\334\206\003\022\027\n\021IID_OAM_LOG_Relay\020\335\206\003\022\037\n\031IID_OA"
"M_LOG_Relay_Respond\020\336\206\003\022\"\n\034IID_OAM_UI_Sy"
"sStatus_Require\020\337\206\003\022\"\n\034IID_OAM_UI_SysSta"
"tus_Respond\020\340\206\003\022!\n\033IID_OAM_UI_SysStatus_"
"Update\020\341\206\003\022)\n#IID_OAM_UI_SysStatus_Updat"
"e_Respond\020\342\206\003\022&\n IID_OAM_UI_CurrentAlarm"
"s_Require\020\343\206\003\022&\n IID_OAM_UI_CurrentAlarm"
"s_Respond\020\344\206\003\022+\n%IID_OAM_UI_CurrentAlarm"
"s_Start_Update\020\345\206\003\0223\n-IID_OAM_UI_Current"
"Alarms_Start_Update_Respond\020\346\206\003\022)\n#IID_O"
"AM_UI_CurrentAlarms_End_Update\020\347\206\003\0221\n+II"
"D_OAM_UI_CurrentAlarms_End_Update_Respon"
"d\020\350\206\003\022&\n IID_OAM_UI_HistoryAlarms_Requir"
"e\020\351\206\003\022&\n IID_OAM_UI_HistoryAlarms_Respon"
"d\020\352\206\003\022)\n#IID_OAM_UI_AlarmAttribution_Req"
"uire\020\353\206\003\022)\n#IID_OAM_UI_AlarmAttribution_"
"Respond\020\354\206\003\0220\n*IID_OAM_UI_AlarmAttributi"
"on_Update_Require\020\355\206\003\0220\n*IID_OAM_UI_Alar"
"mAttribution_Update_Respond\020\356\206\003\022!\n\033IID_O"
"AM_UI_PerInfos_Require\020\357\206\003\022!\n\033IID_OAM_UI"
"_PerInfos_Respond\020\360\206\003\022\'\n!IID_OAM_UI_PerA"
"ttribution_Require\020\361\206\003\022\'\n!IID_OAM_UI_Per"
"Attribution_Respond\020\362\206\003\022.\n(IID_OAM_UI_Pe"
"rAttribution_Update_Require\020\363\206\003\022.\n(IID_O"
"AM_UI_PerAttribution_Update_Respond\020\364\206\003\022"
"\034\n\026IID_OAM_UI_LOG_Require\020\365\206\003\022\034\n\026IID_OAM"
"_UI_LOG_Respond\020\366\206\003\022 \n\032IID_OAM_Device_Al"
"ert_Start\020\367\206\003\022(\n\"IID_OAM_Device_Alert_St"
"art_Respond\020\370\206\003\022\036\n\030IID_OAM_Device_Alert_"
"End\020\371\206\003\022&\n IID_OAM_Device_Alert_End_Resp"
"ond\020\372\206\003\022#\n\035IID_OAM_Device_Performance_RX"
"\020\373\206\003*\\\n\nBROKERAREA\022\024\n\020BROKERAREA_LOCAL\020\000"
"\022\033\n\027BROKERAREA_CLOUD_LEVEL2\020\001\022\033\n\027BROKERA"
"REA_CLOUD_LEVEL1\020\002*\232\001\n\tSUBSYSTEM\022\022\n\016SUBS"
"YSTEM_base\020\000\022\024\n\020SUBSYSTEM_Server\020\001\022\020\n\014SU"
"BSYSTEM_UI\020\002\022\024\n\020SUBSYSTEM_Device\020\003\022\021\n\rSU"
"BSYSTEM_AGI\020\004\022\021\n\rSUBSYSTEM_OAM\020\005\022\025\n\021SUBS"
"YSTEM_default\020\006*A\n\nDevistatus\022\017\n\013Init_st"
"atus\020\000\022\n\n\006Online\020\001\022\013\n\007Offline\020\002\022\t\n\005Alarm"
"\020\003B\014Z\n../protogob\006proto3"
;
static const ::_pbi::DescriptorTable* const descriptor_table_tdscmd_2eproto_deps[1] = {
static const ::_pbi::DescriptorTable* const descriptor_table_tdscmd_2eproto_deps[2] = {
&::descriptor_table_google_2fprotobuf_2fany_2eproto,
&::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto,
};
static ::_pbi::once_flag descriptor_table_tdscmd_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_tdscmd_2eproto = {
false, false, 636, descriptor_table_protodef_tdscmd_2eproto,
false, false, 6544, descriptor_table_protodef_tdscmd_2eproto,
"tdscmd.proto",
&descriptor_table_tdscmd_2eproto_once, descriptor_table_tdscmd_2eproto_deps, 1, 1,
&descriptor_table_tdscmd_2eproto_once, descriptor_table_tdscmd_2eproto_deps, 2, 4,
schemas, file_default_instances, TableStruct_tdscmd_2eproto::offsets,
file_level_metadata_tdscmd_2eproto, file_level_enum_descriptors_tdscmd_2eproto,
file_level_service_descriptors_tdscmd_2eproto,
......@@ -104,69 +325,781 @@ PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_tdscmd_2
// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_tdscmd_2eproto(&descriptor_table_tdscmd_2eproto);
namespace satllite {
namespace protobuf {
namespace TDSCmd {
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TDSCmd_IID_descriptor() {
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CodeValue_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[0];
}
bool TDSCmd_IID_IsValid(int value) {
bool CodeValue_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
return true;
default:
return false;
}
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IID_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[1];
}
bool IID_IsValid(int value) {
switch (value) {
case 0:
case 1000:
case 1001:
case 1002:
case 2000:
case 2001:
case 2002:
case 3000:
case 3001:
case 3002:
case 105:
case 4000:
case 4001:
case 4002:
case 4003:
case 4004:
case 5000:
case 5001:
case 5002:
case 10000:
case 10001:
case 10101:
case 10102:
case 10103:
case 10104:
case 10105:
case 10106:
case 10107:
case 10108:
case 10109:
case 10110:
case 10111:
case 10112:
case 10113:
case 10114:
case 10115:
case 10116:
case 10117:
case 10118:
case 10119:
case 10120:
case 10121:
case 10122:
case 10201:
case 10202:
case 10203:
case 10204:
case 10205:
case 10206:
case 10207:
case 10208:
case 10209:
case 10210:
case 10301:
case 10302:
case 10303:
case 10304:
case 10305:
case 10306:
case 10307:
case 10308:
case 10309:
case 10310:
case 10311:
case 10312:
case 10401:
case 10402:
case 10403:
case 10404:
case 10405:
case 10406:
case 10407:
case 10408:
case 10409:
case 10410:
case 10411:
case 10412:
case 10413:
case 10414:
case 10415:
case 10416:
case 10417:
case 10418:
case 10419:
case 10420:
case 10421:
case 10422:
case 10423:
case 10424:
case 10425:
case 10426:
case 10427:
case 10428:
case 10502:
case 10503:
case 10504:
case 10601:
case 10602:
case 10603:
case 10604:
case 10605:
case 10606:
case 10607:
case 10608:
case 10609:
case 10610:
case 10701:
case 10702:
case 10703:
case 10704:
case 10705:
case 10706:
case 10707:
case 10708:
case 10709:
case 10710:
case 20000:
case 20001:
case 20002:
case 30000:
case 30001:
case 30002:
case 30003:
case 30004:
case 30005:
case 30006:
case 50000:
case 50001:
case 50003:
case 50005:
case 50006:
case 50007:
case 50008:
case 50009:
case 50010:
case 50011:
case 50012:
case 50013:
case 50014:
case 50015:
case 50016:
case 50017:
case 50018:
case 50019:
case 50020:
case 50021:
case 50022:
case 50023:
case 50024:
case 50025:
case 50026:
case 50027:
case 50028:
case 50029:
case 50030:
case 50031:
case 50032:
case 50033:
case 50034:
case 50035:
case 50036:
case 50037:
case 50038:
case 50039:
case 50040:
case 50041:
case 50042:
case 50043:
return true;
default:
return false;
}
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BROKERAREA_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[2];
}
bool BROKERAREA_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
return true;
default:
return false;
}
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SUBSYSTEM_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[3];
}
bool SUBSYSTEM_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
return true;
default:
return false;
}
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Devistatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[4];
}
bool Devistatus_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
case 3:
return true;
default:
return false;
}
}
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr TDSCmd_IID TDSCmd::IID_Base;
constexpr TDSCmd_IID TDSCmd::IID_Server_Base;
constexpr TDSCmd_IID TDSCmd::IID_Server_xxx;
constexpr TDSCmd_IID TDSCmd::IID_Server_xxx_respond;
constexpr TDSCmd_IID TDSCmd::IID_UI_Base;
constexpr TDSCmd_IID TDSCmd::IID_UI_xxx;
constexpr TDSCmd_IID TDSCmd::IID_UI_xxx_respond;
constexpr TDSCmd_IID TDSCmd::IID_Device_Base;
constexpr TDSCmd_IID TDSCmd::IID_Device_xxx;
constexpr TDSCmd_IID TDSCmd::IID_Device_xxx_respond;
constexpr TDSCmd_IID TDSCmd::IID_AGI_Base;
constexpr TDSCmd_IID TDSCmd::IID_AGI_TLE;
constexpr TDSCmd_IID TDSCmd::IID_AGI_TLE_respond;
constexpr TDSCmd_IID TDSCmd::IID_AGI_Report;
constexpr TDSCmd_IID TDSCmd::IID_AGI_Report_respond;
constexpr TDSCmd_IID TDSCmd::IID_OAM_Base;
constexpr TDSCmd_IID TDSCmd::IID_OAM_xxx;
constexpr TDSCmd_IID TDSCmd::IID_OAM_xxx_respond;
constexpr TDSCmd_IID TDSCmd::IID_MIN;
constexpr TDSCmd_IID TDSCmd::IID_MAX;
constexpr int TDSCmd::IID_ARRAYSIZE;
#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
// ===================================================================
class TestParams::_Internal {
public:
};
TestParams::TestParams(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor();
// @@protoc_insertion_point(arena_constructor:TestParams)
}
TestParams::TestParams(const TestParams& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
key_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
key_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_key().empty()) {
key_.Set(from._internal_key(),
GetArenaForAllocation());
}
value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_value().empty()) {
value_.Set(from._internal_value(),
GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:TestParams)
}
inline void TestParams::SharedCtor() {
key_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
key_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
TestParams::~TestParams() {
// @@protoc_insertion_point(destructor:TestParams)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena;
return;
}
SharedDtor();
}
inline void TestParams::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
key_.Destroy();
value_.Destroy();
}
void TestParams::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
void TestParams::Clear() {
// @@protoc_insertion_point(message_clear_start:TestParams)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
key_.ClearToEmpty();
value_.ClearToEmpty();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* TestParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string key = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_key();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "TestParams.key"));
} else
goto handle_unusual;
continue;
// string value = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "TestParams.value"));
} else
goto handle_unusual;
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
uint8_t* TestParams::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:TestParams)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// string key = 1;
if (!this->_internal_key().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_key().data(), static_cast<int>(this->_internal_key().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"TestParams.key");
target = stream->WriteStringMaybeAliased(
1, this->_internal_key(), target);
}
// string value = 2;
if (!this->_internal_value().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_value().data(), static_cast<int>(this->_internal_value().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"TestParams.value");
target = stream->WriteStringMaybeAliased(
2, this->_internal_value(), 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);
}
// @@protoc_insertion_point(serialize_to_array_end:TestParams)
return target;
}
size_t TestParams::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:TestParams)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// string key = 1;
if (!this->_internal_key().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_key());
}
// string value = 2;
if (!this->_internal_value().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_value());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TestParams::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
TestParams::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TestParams::GetClassData() const { return &_class_data_; }
void TestParams::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
static_cast<TestParams *>(to)->MergeFrom(
static_cast<const TestParams &>(from));
}
void TestParams::MergeFrom(const TestParams& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:TestParams)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (!from._internal_key().empty()) {
_internal_set_key(from._internal_key());
}
if (!from._internal_value().empty()) {
_internal_set_value(from._internal_value());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void TestParams::CopyFrom(const TestParams& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:TestParams)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool TestParams::IsInitialized() const {
return true;
}
void TestParams::InternalSwap(TestParams* other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&key_, lhs_arena,
&other->key_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&value_, lhs_arena,
&other->value_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata TestParams::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_tdscmd_2eproto_getter, &descriptor_table_tdscmd_2eproto_once,
file_level_metadata_tdscmd_2eproto[0]);
}
// ===================================================================
Heartbeat_DevStatusEntry_DoNotUse::Heartbeat_DevStatusEntry_DoNotUse() {}
Heartbeat_DevStatusEntry_DoNotUse::Heartbeat_DevStatusEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: SuperType(arena) {}
void Heartbeat_DevStatusEntry_DoNotUse::MergeFrom(const Heartbeat_DevStatusEntry_DoNotUse& other) {
MergeFromInternal(other);
}
::PROTOBUF_NAMESPACE_ID::Metadata Heartbeat_DevStatusEntry_DoNotUse::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_tdscmd_2eproto_getter, &descriptor_table_tdscmd_2eproto_once,
file_level_metadata_tdscmd_2eproto[1]);
}
// ===================================================================
class Heartbeat::_Internal {
public:
};
Heartbeat::Heartbeat(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
iid_list_(arena),
dev_status_(arena) {
SharedCtor();
if (arena != nullptr && !is_message_owned) {
arena->OwnCustomDestructor(this, &Heartbeat::ArenaDtor);
}
// @@protoc_insertion_point(arena_constructor:Heartbeat)
}
Heartbeat::Heartbeat(const Heartbeat& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
iid_list_(from.iid_list_) {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
dev_status_.MergeFrom(from.dev_status_);
suid_ = from.suid_;
// @@protoc_insertion_point(copy_constructor:Heartbeat)
}
inline void Heartbeat::SharedCtor() {
suid_ = 0u;
}
Heartbeat::~Heartbeat() {
// @@protoc_insertion_point(destructor:Heartbeat)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena;
ArenaDtor(this);
return;
}
SharedDtor();
}
inline void Heartbeat::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
dev_status_.Destruct();
}
void Heartbeat::ArenaDtor(void* object) {
Heartbeat* _this = reinterpret_cast< Heartbeat* >(object);
_this->dev_status_.Destruct();
}
void Heartbeat::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
void Heartbeat::Clear() {
// @@protoc_insertion_point(message_clear_start:Heartbeat)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
iid_list_.Clear();
dev_status_.Clear();
suid_ = 0u;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* Heartbeat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// uint32 suid = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
suid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .IID iid_list = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_iid_list(), ptr, ctx);
CHK_(ptr);
} else if (static_cast<uint8_t>(tag) == 16) {
uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
_internal_add_iid_list(static_cast<::IID>(val));
} else
goto handle_unusual;
continue;
// map<uint32, .Devistatus> Dev_status = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(&dev_status_, ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
} else
goto handle_unusual;
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
uint8_t* Heartbeat::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:Heartbeat)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// uint32 suid = 1;
if (this->_internal_suid() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_suid(), target);
}
// repeated .IID iid_list = 2;
{
int byte_size = _iid_list_cached_byte_size_.load(std::memory_order_relaxed);
if (byte_size > 0) {
target = stream->WriteEnumPacked(
2, iid_list_, byte_size, target);
}
}
// map<uint32, .Devistatus> Dev_status = 3;
if (!this->_internal_dev_status().empty()) {
using MapType = ::_pb::Map<uint32_t, ::Devistatus>;
using WireHelper = Heartbeat_DevStatusEntry_DoNotUse::Funcs;
const auto& map_field = this->_internal_dev_status();
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
for (const auto& entry : ::_pbi::MapSorterFlat<MapType>(map_field)) {
target = WireHelper::InternalSerialize(3, entry.first, entry.second, target, stream);
}
} else {
for (const auto& entry : map_field) {
target = WireHelper::InternalSerialize(3, entry.first, entry.second, target, stream);
}
}
}
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);
}
// @@protoc_insertion_point(serialize_to_array_end:Heartbeat)
return target;
}
size_t Heartbeat::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Heartbeat)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .IID iid_list = 2;
{
size_t data_size = 0;
unsigned int count = static_cast<unsigned int>(this->_internal_iid_list_size());for (unsigned int i = 0; i < count; i++) {
data_size += ::_pbi::WireFormatLite::EnumSize(
this->_internal_iid_list(static_cast<int>(i)));
}
if (data_size > 0) {
total_size += 1 +
::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
}
int cached_size = ::_pbi::ToCachedSize(data_size);
_iid_list_cached_byte_size_.store(cached_size,
std::memory_order_relaxed);
total_size += data_size;
}
// map<uint32, .Devistatus> Dev_status = 3;
total_size += 1 *
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_dev_status_size());
for (::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >::const_iterator
it = this->_internal_dev_status().begin();
it != this->_internal_dev_status().end(); ++it) {
total_size += Heartbeat_DevStatusEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
}
// uint32 suid = 1;
if (this->_internal_suid() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_suid());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Heartbeat::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
Heartbeat::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Heartbeat::GetClassData() const { return &_class_data_; }
void Heartbeat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
const ::PROTOBUF_NAMESPACE_ID::Message& from) {
static_cast<Heartbeat *>(to)->MergeFrom(
static_cast<const Heartbeat &>(from));
}
void Heartbeat::MergeFrom(const Heartbeat& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Heartbeat)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
iid_list_.MergeFrom(from.iid_list_);
dev_status_.MergeFrom(from.dev_status_);
if (from._internal_suid() != 0) {
_internal_set_suid(from._internal_suid());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Heartbeat::CopyFrom(const Heartbeat& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:Heartbeat)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Heartbeat::IsInitialized() const {
return true;
}
void Heartbeat::InternalSwap(Heartbeat* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
iid_list_.InternalSwap(&other->iid_list_);
dev_status_.InternalSwap(&other->dev_status_);
swap(suid_, other->suid_);
}
::PROTOBUF_NAMESPACE_ID::Metadata Heartbeat::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_tdscmd_2eproto_getter, &descriptor_table_tdscmd_2eproto_once,
file_level_metadata_tdscmd_2eproto[2]);
}
// ===================================================================
class TDSCmd::_Internal {
public:
static const ::PROTOBUF_NAMESPACE_ID::Timestamp& ts(const TDSCmd* msg);
};
const ::PROTOBUF_NAMESPACE_ID::Timestamp&
TDSCmd::_Internal::ts(const TDSCmd* msg) {
return *msg->ts_;
}
void TDSCmd::clear_ts() {
if (GetArenaForAllocation() == nullptr && ts_ != nullptr) {
delete ts_;
}
ts_ = nullptr;
}
void TDSCmd::clear_parameters() {
parameters_.Clear();
}
......@@ -175,27 +1108,32 @@ TDSCmd::TDSCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
parameters_(arena) {
SharedCtor();
// @@protoc_insertion_point(arena_constructor:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(arena_constructor:TDSCmd)
}
TDSCmd::TDSCmd(const TDSCmd& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
parameters_(from.parameters_) {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
::memcpy(&cmd_, &from.cmd_,
static_cast<size_t>(reinterpret_cast<char*>(&forwardflag_) -
reinterpret_cast<char*>(&cmd_)) + sizeof(forwardflag_));
// @@protoc_insertion_point(copy_constructor:satllite.protobuf.TDSCmd.TDSCmd)
if (from._internal_has_ts()) {
ts_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.ts_);
} else {
ts_ = nullptr;
}
::memcpy(&interface_id_, &from.interface_id_,
static_cast<size_t>(reinterpret_cast<char*>(&request_index_) -
reinterpret_cast<char*>(&interface_id_)) + sizeof(request_index_));
// @@protoc_insertion_point(copy_constructor:TDSCmd)
}
inline void TDSCmd::SharedCtor() {
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
reinterpret_cast<char*>(&cmd_) - reinterpret_cast<char*>(this)),
0, static_cast<size_t>(reinterpret_cast<char*>(&forwardflag_) -
reinterpret_cast<char*>(&cmd_)) + sizeof(forwardflag_));
reinterpret_cast<char*>(&ts_) - reinterpret_cast<char*>(this)),
0, static_cast<size_t>(reinterpret_cast<char*>(&request_index_) -
reinterpret_cast<char*>(&ts_)) + sizeof(request_index_));
}
TDSCmd::~TDSCmd() {
// @@protoc_insertion_point(destructor:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(destructor:TDSCmd)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena;
return;
......@@ -205,6 +1143,7 @@ TDSCmd::~TDSCmd() {
inline void TDSCmd::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete ts_;
}
void TDSCmd::SetCachedSize(int size) const {
......@@ -212,15 +1151,19 @@ void TDSCmd::SetCachedSize(int size) const {
}
void TDSCmd::Clear() {
// @@protoc_insertion_point(message_clear_start:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(message_clear_start:TDSCmd)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
parameters_.Clear();
::memset(&cmd_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&forwardflag_) -
reinterpret_cast<char*>(&cmd_)) + sizeof(forwardflag_));
if (GetArenaForAllocation() == nullptr && ts_ != nullptr) {
delete ts_;
}
ts_ = nullptr;
::memset(&interface_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&request_index_) -
reinterpret_cast<char*>(&interface_id_)) + sizeof(request_index_));
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
......@@ -230,49 +1173,73 @@ const char* TDSCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .satllite.protobuf.TDSCmd.TDSCmd.IID Cmd = 1;
// .IID interface_id = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
_internal_set_cmd(static_cast<::satllite::protobuf::TDSCmd::TDSCmd_IID>(val));
_internal_set_interface_id(static_cast<::IID>(val));
} else
goto handle_unusual;
continue;
// uint32 DstSUID = 2;
// uint32 dst_suid = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
dstsuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
dst_suid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// uint32 SrcSUID = 3;
// uint32 src_suid = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
srcsuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
src_suid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// uint32 ForwardFlag = 4;
// uint32 forward_flag = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
forwardflag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
forward_flag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .google.protobuf.Any Parameters = 5;
// uint32 priority = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
priority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// uint32 request_index = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
request_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// .google.protobuf.Timestamp ts = 7;
case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_ts(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .google.protobuf.Any parameters = 8;
case 8:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_add_parameters(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
} else
goto handle_unusual;
continue;
......@@ -301,85 +1268,121 @@ failure:
uint8_t* TDSCmd::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(serialize_to_array_start:TDSCmd)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// .satllite.protobuf.TDSCmd.TDSCmd.IID Cmd = 1;
if (this->_internal_cmd() != 0) {
// .IID interface_id = 1;
if (this->_internal_interface_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_cmd(), target);
1, this->_internal_interface_id(), target);
}
// uint32 DstSUID = 2;
if (this->_internal_dstsuid() != 0) {
// uint32 dst_suid = 2;
if (this->_internal_dst_suid() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dstsuid(), target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dst_suid(), target);
}
// uint32 SrcSUID = 3;
if (this->_internal_srcsuid() != 0) {
// uint32 src_suid = 3;
if (this->_internal_src_suid() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_srcsuid(), target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_src_suid(), target);
}
// uint32 ForwardFlag = 4;
if (this->_internal_forwardflag() != 0) {
// uint32 forward_flag = 4;
if (this->_internal_forward_flag() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_forwardflag(), target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_forward_flag(), target);
}
// repeated .google.protobuf.Any Parameters = 5;
// uint32 priority = 5;
if (this->_internal_priority() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_priority(), target);
}
// uint32 request_index = 6;
if (this->_internal_request_index() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_request_index(), target);
}
// .google.protobuf.Timestamp ts = 7;
if (this->_internal_has_ts()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(7, _Internal::ts(this),
_Internal::ts(this).GetCachedSize(), target, stream);
}
// repeated .google.protobuf.Any parameters = 8;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_parameters_size()); i < n; i++) {
const auto& repfield = this->_internal_parameters(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream);
InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream);
}
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);
}
// @@protoc_insertion_point(serialize_to_array_end:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(serialize_to_array_end:TDSCmd)
return target;
}
size_t TDSCmd::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(message_byte_size_start:TDSCmd)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .google.protobuf.Any Parameters = 5;
// repeated .google.protobuf.Any parameters = 8;
total_size += 1UL * this->_internal_parameters_size();
for (const auto& msg : this->parameters_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
// .satllite.protobuf.TDSCmd.TDSCmd.IID Cmd = 1;
if (this->_internal_cmd() != 0) {
// .google.protobuf.Timestamp ts = 7;
if (this->_internal_has_ts()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*ts_);
}
// .IID interface_id = 1;
if (this->_internal_interface_id() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_cmd());
::_pbi::WireFormatLite::EnumSize(this->_internal_interface_id());
}
// uint32 dst_suid = 2;
if (this->_internal_dst_suid() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dst_suid());
}
// uint32 DstSUID = 2;
if (this->_internal_dstsuid() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dstsuid());
// uint32 src_suid = 3;
if (this->_internal_src_suid() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_src_suid());
}
// uint32 SrcSUID = 3;
if (this->_internal_srcsuid() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_srcsuid());
// uint32 forward_flag = 4;
if (this->_internal_forward_flag() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forward_flag());
}
// uint32 ForwardFlag = 4;
if (this->_internal_forwardflag() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forwardflag());
// uint32 priority = 5;
if (this->_internal_priority() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_priority());
}
// uint32 request_index = 6;
if (this->_internal_request_index() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_index());
}
return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
......@@ -399,29 +1402,38 @@ void TDSCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
void TDSCmd::MergeFrom(const TDSCmd& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(class_specific_merge_from_start:TDSCmd)
GOOGLE_DCHECK_NE(&from, this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
parameters_.MergeFrom(from.parameters_);
if (from._internal_cmd() != 0) {
_internal_set_cmd(from._internal_cmd());
if (from._internal_has_ts()) {
_internal_mutable_ts()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_ts());
}
if (from._internal_interface_id() != 0) {
_internal_set_interface_id(from._internal_interface_id());
}
if (from._internal_dstsuid() != 0) {
_internal_set_dstsuid(from._internal_dstsuid());
if (from._internal_dst_suid() != 0) {
_internal_set_dst_suid(from._internal_dst_suid());
}
if (from._internal_srcsuid() != 0) {
_internal_set_srcsuid(from._internal_srcsuid());
if (from._internal_src_suid() != 0) {
_internal_set_src_suid(from._internal_src_suid());
}
if (from._internal_forwardflag() != 0) {
_internal_set_forwardflag(from._internal_forwardflag());
if (from._internal_forward_flag() != 0) {
_internal_set_forward_flag(from._internal_forward_flag());
}
if (from._internal_priority() != 0) {
_internal_set_priority(from._internal_priority());
}
if (from._internal_request_index() != 0) {
_internal_set_request_index(from._internal_request_index());
}
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void TDSCmd::CopyFrom(const TDSCmd& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:satllite.protobuf.TDSCmd.TDSCmd)
// @@protoc_insertion_point(class_specific_copy_from_start:TDSCmd)
if (&from == this) return;
Clear();
MergeFrom(from);
......@@ -436,27 +1448,36 @@ void TDSCmd::InternalSwap(TDSCmd* other) {
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
parameters_.InternalSwap(&other->parameters_);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(TDSCmd, forwardflag_)
+ sizeof(TDSCmd::forwardflag_)
- PROTOBUF_FIELD_OFFSET(TDSCmd, cmd_)>(
reinterpret_cast<char*>(&cmd_),
reinterpret_cast<char*>(&other->cmd_));
PROTOBUF_FIELD_OFFSET(TDSCmd, request_index_)
+ sizeof(TDSCmd::request_index_)
- PROTOBUF_FIELD_OFFSET(TDSCmd, ts_)>(
reinterpret_cast<char*>(&ts_),
reinterpret_cast<char*>(&other->ts_));
}
::PROTOBUF_NAMESPACE_ID::Metadata TDSCmd::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_tdscmd_2eproto_getter, &descriptor_table_tdscmd_2eproto_once,
file_level_metadata_tdscmd_2eproto[0]);
file_level_metadata_tdscmd_2eproto[3]);
}
// @@protoc_insertion_point(namespace_scope)
} // namespace TDSCmd
} // namespace protobuf
} // namespace satllite
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::satllite::protobuf::TDSCmd::TDSCmd*
Arena::CreateMaybeMessage< ::satllite::protobuf::TDSCmd::TDSCmd >(Arena* arena) {
return Arena::CreateMessageInternal< ::satllite::protobuf::TDSCmd::TDSCmd >(arena);
template<> PROTOBUF_NOINLINE ::TestParams*
Arena::CreateMaybeMessage< ::TestParams >(Arena* arena) {
return Arena::CreateMessageInternal< ::TestParams >(arena);
}
template<> PROTOBUF_NOINLINE ::Heartbeat_DevStatusEntry_DoNotUse*
Arena::CreateMaybeMessage< ::Heartbeat_DevStatusEntry_DoNotUse >(Arena* arena) {
return Arena::CreateMessageInternal< ::Heartbeat_DevStatusEntry_DoNotUse >(arena);
}
template<> PROTOBUF_NOINLINE ::Heartbeat*
Arena::CreateMaybeMessage< ::Heartbeat >(Arena* arena) {
return Arena::CreateMessageInternal< ::Heartbeat >(arena);
}
template<> PROTOBUF_NOINLINE ::TDSCmd*
Arena::CreateMaybeMessage< ::TDSCmd >(Arena* arena) {
return Arena::CreateMessageInternal< ::TDSCmd >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
......
......@@ -29,9 +29,13 @@
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/map.h> // IWYU pragma: export
#include <google/protobuf/map_entry.h>
#include <google/protobuf/map_field_inl.h>
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/any.pb.h>
#include <google/protobuf/timestamp.pb.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_tdscmd_2eproto
......@@ -46,67 +50,694 @@ struct TableStruct_tdscmd_2eproto {
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tdscmd_2eproto;
namespace satllite {
namespace protobuf {
namespace TDSCmd {
class Heartbeat;
struct HeartbeatDefaultTypeInternal;
extern HeartbeatDefaultTypeInternal _Heartbeat_default_instance_;
class Heartbeat_DevStatusEntry_DoNotUse;
struct Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal;
extern Heartbeat_DevStatusEntry_DoNotUseDefaultTypeInternal _Heartbeat_DevStatusEntry_DoNotUse_default_instance_;
class TDSCmd;
struct TDSCmdDefaultTypeInternal;
extern TDSCmdDefaultTypeInternal _TDSCmd_default_instance_;
} // namespace TDSCmd
} // namespace protobuf
} // namespace satllite
class TestParams;
struct TestParamsDefaultTypeInternal;
extern TestParamsDefaultTypeInternal _TestParams_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::satllite::protobuf::TDSCmd::TDSCmd* Arena::CreateMaybeMessage<::satllite::protobuf::TDSCmd::TDSCmd>(Arena*);
template<> ::Heartbeat* Arena::CreateMaybeMessage<::Heartbeat>(Arena*);
template<> ::Heartbeat_DevStatusEntry_DoNotUse* Arena::CreateMaybeMessage<::Heartbeat_DevStatusEntry_DoNotUse>(Arena*);
template<> ::TDSCmd* Arena::CreateMaybeMessage<::TDSCmd>(Arena*);
template<> ::TestParams* Arena::CreateMaybeMessage<::TestParams>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace satllite {
namespace protobuf {
namespace TDSCmd {
enum TDSCmd_IID : int {
TDSCmd_IID_IID_Base = 0,
TDSCmd_IID_IID_Server_Base = 1000,
TDSCmd_IID_IID_Server_xxx = 1001,
TDSCmd_IID_IID_Server_xxx_respond = 1002,
TDSCmd_IID_IID_UI_Base = 2000,
TDSCmd_IID_IID_UI_xxx = 2001,
TDSCmd_IID_IID_UI_xxx_respond = 2002,
TDSCmd_IID_IID_Device_Base = 3000,
TDSCmd_IID_IID_Device_xxx = 3001,
TDSCmd_IID_IID_Device_xxx_respond = 3002,
TDSCmd_IID_IID_AGI_Base = 4000,
TDSCmd_IID_IID_AGI_TLE = 4001,
TDSCmd_IID_IID_AGI_TLE_respond = 4002,
TDSCmd_IID_IID_AGI_Report = 4003,
TDSCmd_IID_IID_AGI_Report_respond = 4004,
TDSCmd_IID_IID_OAM_Base = 5000,
TDSCmd_IID_IID_OAM_xxx = 5001,
TDSCmd_IID_IID_OAM_xxx_respond = 5002,
TDSCmd_IID_TDSCmd_IID_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
TDSCmd_IID_TDSCmd_IID_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
enum CodeValue : int {
base_start = 0,
Succeed = 1,
Failed = 2,
CodeValue_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
CodeValue_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool CodeValue_IsValid(int value);
constexpr CodeValue CodeValue_MIN = base_start;
constexpr CodeValue CodeValue_MAX = Failed;
constexpr int CodeValue_ARRAYSIZE = CodeValue_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CodeValue_descriptor();
template<typename T>
inline const std::string& CodeValue_Name(T enum_t_value) {
static_assert(::std::is_same<T, CodeValue>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function CodeValue_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
CodeValue_descriptor(), enum_t_value);
}
inline bool CodeValue_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CodeValue* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CodeValue>(
CodeValue_descriptor(), name, value);
}
enum IID : int {
IID_Base = 0,
IID_Server_Base = 10000,
IID_Server_SyncEnd = 10001,
IID_Server_SatelliteList = 10101,
IID_Server_SatelliteList_respond = 10102,
IID_Server_SatelliteBaseUpdate = 10103,
IID_Server_SatelliteBaseUpdate_respond = 10104,
IID_Server_SatellitePriorityUpdate = 10105,
IID_Server_SatellitePriorityUpdate_respond = 10106,
IID_Server_SatellitePriorityList = 10107,
IID_Server_SatellitePriorityList_respond = 10108,
IID_Server_SatelliteAvailableUpdate = 10109,
IID_Server_SatelliteAvailableUpdate_respond = 10110,
IID_Server_SatelliteElementUpdate = 10111,
IID_Server_SatelliteElementUpdate_respond = 10112,
IID_Server_SatelliteElementLoad = 10113,
IID_Server_SatelliteElementLoad_respond = 10114,
IID_Server_SatelliteDel = 10115,
IID_Server_SatelliteDel_respond = 10116,
IID_Server_SatelliteInstantaneousRootUpdate = 10117,
IID_Server_SatelliteInstantaneousRootUpdate_respond = 10118,
IID_Server_SatelliteListSend = 10119,
IID_Server_SatelliteListSend_respond = 10120,
IID_Server_SatelliteListReceive = 10121,
IID_Server_SatelliteListReceive_respond = 10122,
IID_Server_SatelliteWorkParamList = 10201,
IID_Server_SatelliteWorkParamList_respond = 10202,
IID_Server_SatelliteWorkParamUpdate = 10203,
IID_Server_SatelliteWorkParamUpdate_respond = 10204,
IID_Server_SatelliteWorkParamDel = 10205,
IID_Server_SatelliteWorkParamDel_respond = 10206,
IID_Server_SatelliteWorkParamListSend = 10207,
IID_Server_SatelliteWorkParamListSend_respond = 10208,
IID_Server_SatelliteWorkParamListReceive = 10209,
IID_Server_SatelliteWorkParamListReceive_respond = 10210,
IID_Server_SiteList = 10301,
IID_Server_SiteList_respond = 10302,
IID_Server_SiteUpdate = 10303,
IID_Server_SiteUpdate_respond = 10304,
IID_Server_SiteParamUpdate = 10305,
IID_Server_SiteParamUpdate_respond = 10306,
IID_Server_SiteDel = 10307,
IID_Server_SiteDel_respond = 10308,
IID_Server_SiteListSend = 10309,
IID_Server_SiteListSend_respond = 10310,
IID_Server_SiteListReceive = 10311,
IID_Server_SiteListReceive_respond = 10312,
IID_Server_TaskList = 10401,
IID_Server_TaskList_respond = 10402,
IID_Server_TaskForecast = 10403,
IID_Server_TaskForecast_respond = 10404,
IID_Server_TaskUpdate = 10405,
IID_Server_TaskUpdate_respond = 10406,
IID_Server_TaskDel = 10407,
IID_Server_TaskDel_respond = 10408,
IID_Server_TaskDetailDat = 10409,
IID_Server_TaskDetailDat_respond = 10410,
IID_Server_TaskDetailPoint = 10411,
IID_Server_TaskDetailPoint_respond = 10412,
IID_Server_TaskPause = 10413,
IID_Server_TaskPause_respond = 10414,
IID_Server_TaskRestart = 10415,
IID_Server_TaskRestart_respond = 10416,
IID_Server_TaskHandleConflict = 10417,
IID_Server_TaskHandleConflict_respond = 10418,
IID_Server_TaskHandModeSwitch = 10419,
IID_Server_TaskHandModeSwitch_respond = 10420,
IID_Server_TaskIndex = 10421,
IID_Server_TaskIndex_respond = 10422,
IID_Server_TaskListSend = 10423,
IID_Server_TaskListSend_respond = 10424,
IID_Server_TaskListReceive = 10425,
IID_Server_TaskListReceive_respond = 10426,
IID_Server_FileReceive = 10427,
IID_Server_FileReceive_respond = 10428,
IID_Server_TaskExecAnalysisResult = 105,
IID_Server_TaskExecAnalysisResult_respond = 10502,
IID_Server_TaskExecList = 10503,
IID_Server_TaskExecList_respond = 10504,
IID_Server_MoreSettingSet = 10601,
IID_Server_MoreSettingSet_respond = 10602,
IID_Server_MoreSettingGet = 10603,
IID_Server_MoreSettingGet_respond = 10604,
IID_Server_MoreSettingGetDefault = 10605,
IID_Server_MoreSettingGetDefault_respond = 10606,
IID_Server_MoreSettingDataSet = 10607,
IID_Server_MoreSettingDataSet_respond = 10608,
IID_Server_MoreSettingDataDel = 10609,
IID_Server_MoreSettingDataDel_respond = 10610,
IID_Server_Login = 10701,
IID_Server_Login_respond = 10702,
IID_Server_UserCreate = 10703,
IID_Server_UserCreate_respond = 10704,
IID_Server_UserUpdate = 10705,
IID_Server_UserUpdate_respond = 10706,
IID_Server_UserDel = 10707,
IID_Server_UserDel_respond = 10708,
IID_Server_UserList = 10709,
IID_Server_UserList_respond = 10710,
IID_UI_Base = 20000,
IID_UI_xxx = 20001,
IID_UI_xxx_respond = 20002,
IID_Device_Base = 30000,
IID_Device_DBC_CURD = 30001,
IID_Device_DBC_CURD_respond = 30002,
IID_Device_Xpro_TX_cmd = 30003,
IID_Device_Xpro_TX_cmd_respond = 30004,
IID_Device_Xpro_RX_cmd = 30005,
IID_Device_Xpro_RX_cmd_respond = 30006,
IID_AGI_Base = 4000,
IID_AGI_TLE = 4001,
IID_AGI_TLE_respond = 4002,
IID_AGI_Report = 4003,
IID_AGI_Report_respond = 4004,
IID_OAM_Base = 50000,
IID_OAM_HeartBeat_RX = 50001,
IID_OAM_LOG_RX = 50003,
IID_OAM_SysStatus_Relay = 50005,
IID_OAM_SysStatus_Relay_Respond = 50006,
IID_OAM_Performance_Relay = 50007,
IID_OAM_Performance_Relay_Respond = 50008,
IID_OAM_Alert_Start_Relay = 50009,
IID_OAM_Alert_Start_Relay_Respond = 50010,
IID_OAM_Alert_End_Relay = 50011,
IID_OAM_Alert_End_Relay_Respond = 50012,
IID_OAM_LOG_Relay = 50013,
IID_OAM_LOG_Relay_Respond = 50014,
IID_OAM_UI_SysStatus_Require = 50015,
IID_OAM_UI_SysStatus_Respond = 50016,
IID_OAM_UI_SysStatus_Update = 50017,
IID_OAM_UI_SysStatus_Update_Respond = 50018,
IID_OAM_UI_CurrentAlarms_Require = 50019,
IID_OAM_UI_CurrentAlarms_Respond = 50020,
IID_OAM_UI_CurrentAlarms_Start_Update = 50021,
IID_OAM_UI_CurrentAlarms_Start_Update_Respond = 50022,
IID_OAM_UI_CurrentAlarms_End_Update = 50023,
IID_OAM_UI_CurrentAlarms_End_Update_Respond = 50024,
IID_OAM_UI_HistoryAlarms_Require = 50025,
IID_OAM_UI_HistoryAlarms_Respond = 50026,
IID_OAM_UI_AlarmAttribution_Require = 50027,
IID_OAM_UI_AlarmAttribution_Respond = 50028,
IID_OAM_UI_AlarmAttribution_Update_Require = 50029,
IID_OAM_UI_AlarmAttribution_Update_Respond = 50030,
IID_OAM_UI_PerInfos_Require = 50031,
IID_OAM_UI_PerInfos_Respond = 50032,
IID_OAM_UI_PerAttribution_Require = 50033,
IID_OAM_UI_PerAttribution_Respond = 50034,
IID_OAM_UI_PerAttribution_Update_Require = 50035,
IID_OAM_UI_PerAttribution_Update_Respond = 50036,
IID_OAM_UI_LOG_Require = 50037,
IID_OAM_UI_LOG_Respond = 50038,
IID_OAM_Device_Alert_Start = 50039,
IID_OAM_Device_Alert_Start_Respond = 50040,
IID_OAM_Device_Alert_End = 50041,
IID_OAM_Device_Alert_End_Respond = 50042,
IID_OAM_Device_Performance_RX = 50043,
IID_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
IID_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool IID_IsValid(int value);
constexpr IID IID_MIN = IID_Base;
constexpr IID IID_MAX = IID_OAM_Device_Performance_RX;
constexpr int IID_ARRAYSIZE = IID_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IID_descriptor();
template<typename T>
inline const std::string& IID_Name(T enum_t_value) {
static_assert(::std::is_same<T, IID>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function IID_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
IID_descriptor(), enum_t_value);
}
inline bool IID_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IID* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<IID>(
IID_descriptor(), name, value);
}
enum BROKERAREA : int {
BROKERAREA_LOCAL = 0,
BROKERAREA_CLOUD_LEVEL2 = 1,
BROKERAREA_CLOUD_LEVEL1 = 2,
BROKERAREA_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
BROKERAREA_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool TDSCmd_IID_IsValid(int value);
constexpr TDSCmd_IID TDSCmd_IID_IID_MIN = TDSCmd_IID_IID_Base;
constexpr TDSCmd_IID TDSCmd_IID_IID_MAX = TDSCmd_IID_IID_OAM_xxx_respond;
constexpr int TDSCmd_IID_IID_ARRAYSIZE = TDSCmd_IID_IID_MAX + 1;
bool BROKERAREA_IsValid(int value);
constexpr BROKERAREA BROKERAREA_MIN = BROKERAREA_LOCAL;
constexpr BROKERAREA BROKERAREA_MAX = BROKERAREA_CLOUD_LEVEL1;
constexpr int BROKERAREA_ARRAYSIZE = BROKERAREA_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TDSCmd_IID_descriptor();
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BROKERAREA_descriptor();
template<typename T>
inline const std::string& TDSCmd_IID_Name(T enum_t_value) {
static_assert(::std::is_same<T, TDSCmd_IID>::value ||
inline const std::string& BROKERAREA_Name(T enum_t_value) {
static_assert(::std::is_same<T, BROKERAREA>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function TDSCmd_IID_Name.");
"Incorrect type passed to function BROKERAREA_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
TDSCmd_IID_descriptor(), enum_t_value);
BROKERAREA_descriptor(), enum_t_value);
}
inline bool TDSCmd_IID_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TDSCmd_IID* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TDSCmd_IID>(
TDSCmd_IID_descriptor(), name, value);
inline bool BROKERAREA_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BROKERAREA* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BROKERAREA>(
BROKERAREA_descriptor(), name, value);
}
enum SUBSYSTEM : int {
SUBSYSTEM_base = 0,
SUBSYSTEM_Server = 1,
SUBSYSTEM_UI = 2,
SUBSYSTEM_Device = 3,
SUBSYSTEM_AGI = 4,
SUBSYSTEM_OAM = 5,
SUBSYSTEM_default = 6,
SUBSYSTEM_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
SUBSYSTEM_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool SUBSYSTEM_IsValid(int value);
constexpr SUBSYSTEM SUBSYSTEM_MIN = SUBSYSTEM_base;
constexpr SUBSYSTEM SUBSYSTEM_MAX = SUBSYSTEM_default;
constexpr int SUBSYSTEM_ARRAYSIZE = SUBSYSTEM_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SUBSYSTEM_descriptor();
template<typename T>
inline const std::string& SUBSYSTEM_Name(T enum_t_value) {
static_assert(::std::is_same<T, SUBSYSTEM>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function SUBSYSTEM_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
SUBSYSTEM_descriptor(), enum_t_value);
}
inline bool SUBSYSTEM_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SUBSYSTEM* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SUBSYSTEM>(
SUBSYSTEM_descriptor(), name, value);
}
enum Devistatus : int {
Init_status = 0,
Online = 1,
Offline = 2,
Alarm = 3,
Devistatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
Devistatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool Devistatus_IsValid(int value);
constexpr Devistatus Devistatus_MIN = Init_status;
constexpr Devistatus Devistatus_MAX = Alarm;
constexpr int Devistatus_ARRAYSIZE = Devistatus_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Devistatus_descriptor();
template<typename T>
inline const std::string& Devistatus_Name(T enum_t_value) {
static_assert(::std::is_same<T, Devistatus>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function Devistatus_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
Devistatus_descriptor(), enum_t_value);
}
inline bool Devistatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Devistatus* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Devistatus>(
Devistatus_descriptor(), name, value);
}
// ===================================================================
class TestParams final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TestParams) */ {
public:
inline TestParams() : TestParams(nullptr) {}
~TestParams() override;
explicit PROTOBUF_CONSTEXPR TestParams(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TestParams(const TestParams& from);
TestParams(TestParams&& from) noexcept
: TestParams() {
*this = ::std::move(from);
}
inline TestParams& operator=(const TestParams& from) {
CopyFrom(from);
return *this;
}
inline TestParams& operator=(TestParams&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const TestParams& default_instance() {
return *internal_default_instance();
}
static inline const TestParams* internal_default_instance() {
return reinterpret_cast<const TestParams*>(
&_TestParams_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(TestParams& a, TestParams& b) {
a.Swap(&b);
}
inline void Swap(TestParams* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(TestParams* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
TestParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<TestParams>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TestParams& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const TestParams& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TestParams* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "TestParams";
}
protected:
explicit TestParams(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kKeyFieldNumber = 1,
kValueFieldNumber = 2,
};
// string key = 1;
void clear_key();
const std::string& key() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_key(ArgT0&& arg0, ArgT... args);
std::string* mutable_key();
PROTOBUF_NODISCARD std::string* release_key();
void set_allocated_key(std::string* key);
private:
const std::string& _internal_key() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value);
std::string* _internal_mutable_key();
public:
// string value = 2;
void clear_value();
const std::string& value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_value(ArgT0&& arg0, ArgT... args);
std::string* mutable_value();
PROTOBUF_NODISCARD std::string* release_value();
void set_allocated_value(std::string* value);
private:
const std::string& _internal_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
std::string* _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:TestParams)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_tdscmd_2eproto;
};
// -------------------------------------------------------------------
class Heartbeat_DevStatusEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Heartbeat_DevStatusEntry_DoNotUse,
uint32_t, ::Devistatus,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM> {
public:
typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Heartbeat_DevStatusEntry_DoNotUse,
uint32_t, ::Devistatus,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM> SuperType;
Heartbeat_DevStatusEntry_DoNotUse();
explicit PROTOBUF_CONSTEXPR Heartbeat_DevStatusEntry_DoNotUse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
explicit Heartbeat_DevStatusEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
void MergeFrom(const Heartbeat_DevStatusEntry_DoNotUse& other);
static const Heartbeat_DevStatusEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Heartbeat_DevStatusEntry_DoNotUse*>(&_Heartbeat_DevStatusEntry_DoNotUse_default_instance_); }
static bool ValidateKey(void*) { return true; }
static bool ValidateValue(void*) { return true; }
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
friend struct ::TableStruct_tdscmd_2eproto;
};
// -------------------------------------------------------------------
class Heartbeat final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Heartbeat) */ {
public:
inline Heartbeat() : Heartbeat(nullptr) {}
~Heartbeat() override;
explicit PROTOBUF_CONSTEXPR Heartbeat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Heartbeat(const Heartbeat& from);
Heartbeat(Heartbeat&& from) noexcept
: Heartbeat() {
*this = ::std::move(from);
}
inline Heartbeat& operator=(const Heartbeat& from) {
CopyFrom(from);
return *this;
}
inline Heartbeat& operator=(Heartbeat&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Heartbeat& default_instance() {
return *internal_default_instance();
}
static inline const Heartbeat* internal_default_instance() {
return reinterpret_cast<const Heartbeat*>(
&_Heartbeat_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(Heartbeat& a, Heartbeat& b) {
a.Swap(&b);
}
inline void Swap(Heartbeat* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Heartbeat* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Heartbeat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Heartbeat>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Heartbeat& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Heartbeat& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Heartbeat* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Heartbeat";
}
protected:
explicit Heartbeat(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kIidListFieldNumber = 2,
kDevStatusFieldNumber = 3,
kSuidFieldNumber = 1,
};
// repeated .IID iid_list = 2;
int iid_list_size() const;
private:
int _internal_iid_list_size() const;
public:
void clear_iid_list();
private:
::IID _internal_iid_list(int index) const;
void _internal_add_iid_list(::IID value);
::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_iid_list();
public:
::IID iid_list(int index) const;
void set_iid_list(int index, ::IID value);
void add_iid_list(::IID value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& iid_list() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_iid_list();
// map<uint32, .Devistatus> Dev_status = 3;
int dev_status_size() const;
private:
int _internal_dev_status_size() const;
public:
void clear_dev_status();
private:
const ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >&
_internal_dev_status() const;
::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >*
_internal_mutable_dev_status();
public:
const ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >&
dev_status() const;
::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >*
mutable_dev_status();
// uint32 suid = 1;
void clear_suid();
uint32_t suid() const;
void set_suid(uint32_t value);
private:
uint32_t _internal_suid() const;
void _internal_set_suid(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Heartbeat)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedField<int> iid_list_;
mutable std::atomic<int> _iid_list_cached_byte_size_;
::PROTOBUF_NAMESPACE_ID::internal::MapField<
Heartbeat_DevStatusEntry_DoNotUse,
uint32_t, ::Devistatus,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM> dev_status_;
uint32_t suid_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_tdscmd_2eproto;
};
// -------------------------------------------------------------------
class TDSCmd final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:satllite.protobuf.TDSCmd.TDSCmd) */ {
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TDSCmd) */ {
public:
inline TDSCmd() : TDSCmd(nullptr) {}
~TDSCmd() override;
......@@ -153,7 +784,7 @@ class TDSCmd final :
&_TDSCmd_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
3;
friend void swap(TDSCmd& a, TDSCmd& b) {
a.Swap(&b);
......@@ -207,7 +838,7 @@ class TDSCmd final :
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "satllite.protobuf.TDSCmd.TDSCmd";
return "TDSCmd";
}
protected:
explicit TDSCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
......@@ -221,78 +852,19 @@ class TDSCmd final :
// nested types ----------------------------------------------------
typedef TDSCmd_IID IID;
static constexpr IID IID_Base =
TDSCmd_IID_IID_Base;
static constexpr IID IID_Server_Base =
TDSCmd_IID_IID_Server_Base;
static constexpr IID IID_Server_xxx =
TDSCmd_IID_IID_Server_xxx;
static constexpr IID IID_Server_xxx_respond =
TDSCmd_IID_IID_Server_xxx_respond;
static constexpr IID IID_UI_Base =
TDSCmd_IID_IID_UI_Base;
static constexpr IID IID_UI_xxx =
TDSCmd_IID_IID_UI_xxx;
static constexpr IID IID_UI_xxx_respond =
TDSCmd_IID_IID_UI_xxx_respond;
static constexpr IID IID_Device_Base =
TDSCmd_IID_IID_Device_Base;
static constexpr IID IID_Device_xxx =
TDSCmd_IID_IID_Device_xxx;
static constexpr IID IID_Device_xxx_respond =
TDSCmd_IID_IID_Device_xxx_respond;
static constexpr IID IID_AGI_Base =
TDSCmd_IID_IID_AGI_Base;
static constexpr IID IID_AGI_TLE =
TDSCmd_IID_IID_AGI_TLE;
static constexpr IID IID_AGI_TLE_respond =
TDSCmd_IID_IID_AGI_TLE_respond;
static constexpr IID IID_AGI_Report =
TDSCmd_IID_IID_AGI_Report;
static constexpr IID IID_AGI_Report_respond =
TDSCmd_IID_IID_AGI_Report_respond;
static constexpr IID IID_OAM_Base =
TDSCmd_IID_IID_OAM_Base;
static constexpr IID IID_OAM_xxx =
TDSCmd_IID_IID_OAM_xxx;
static constexpr IID IID_OAM_xxx_respond =
TDSCmd_IID_IID_OAM_xxx_respond;
static inline bool IID_IsValid(int value) {
return TDSCmd_IID_IsValid(value);
}
static constexpr IID IID_MIN =
TDSCmd_IID_IID_MIN;
static constexpr IID IID_MAX =
TDSCmd_IID_IID_MAX;
static constexpr int IID_ARRAYSIZE =
TDSCmd_IID_IID_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
IID_descriptor() {
return TDSCmd_IID_descriptor();
}
template<typename T>
static inline const std::string& IID_Name(T enum_t_value) {
static_assert(::std::is_same<T, IID>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function IID_Name.");
return TDSCmd_IID_Name(enum_t_value);
}
static inline bool IID_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
IID* value) {
return TDSCmd_IID_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kParametersFieldNumber = 5,
kCmdFieldNumber = 1,
kDstSUIDFieldNumber = 2,
kSrcSUIDFieldNumber = 3,
kParametersFieldNumber = 8,
kTsFieldNumber = 7,
kInterfaceIdFieldNumber = 1,
kDstSuidFieldNumber = 2,
kSrcSuidFieldNumber = 3,
kForwardFlagFieldNumber = 4,
kPriorityFieldNumber = 5,
kRequestIndexFieldNumber = 6,
};
// repeated .google.protobuf.Any Parameters = 5;
// repeated .google.protobuf.Any parameters = 8;
int parameters_size() const;
private:
int _internal_parameters_size() const;
......@@ -310,43 +882,79 @@ class TDSCmd final :
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
parameters() const;
// .satllite.protobuf.TDSCmd.TDSCmd.IID Cmd = 1;
void clear_cmd();
::satllite::protobuf::TDSCmd::TDSCmd_IID cmd() const;
void set_cmd(::satllite::protobuf::TDSCmd::TDSCmd_IID value);
// .google.protobuf.Timestamp ts = 7;
bool has_ts() const;
private:
bool _internal_has_ts() const;
public:
void clear_ts();
const ::PROTOBUF_NAMESPACE_ID::Timestamp& ts() const;
PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_ts();
::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_ts();
void set_allocated_ts(::PROTOBUF_NAMESPACE_ID::Timestamp* ts);
private:
const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_ts() const;
::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_ts();
public:
void unsafe_arena_set_allocated_ts(
::PROTOBUF_NAMESPACE_ID::Timestamp* ts);
::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_ts();
// .IID interface_id = 1;
void clear_interface_id();
::IID interface_id() const;
void set_interface_id(::IID value);
private:
::satllite::protobuf::TDSCmd::TDSCmd_IID _internal_cmd() const;
void _internal_set_cmd(::satllite::protobuf::TDSCmd::TDSCmd_IID value);
::IID _internal_interface_id() const;
void _internal_set_interface_id(::IID value);
public:
// uint32 DstSUID = 2;
void clear_dstsuid();
uint32_t dstsuid() const;
void set_dstsuid(uint32_t value);
// uint32 dst_suid = 2;
void clear_dst_suid();
uint32_t dst_suid() const;
void set_dst_suid(uint32_t value);
private:
uint32_t _internal_dstsuid() const;
void _internal_set_dstsuid(uint32_t value);
uint32_t _internal_dst_suid() const;
void _internal_set_dst_suid(uint32_t value);
public:
// uint32 SrcSUID = 3;
void clear_srcsuid();
uint32_t srcsuid() const;
void set_srcsuid(uint32_t value);
// uint32 src_suid = 3;
void clear_src_suid();
uint32_t src_suid() const;
void set_src_suid(uint32_t value);
private:
uint32_t _internal_srcsuid() const;
void _internal_set_srcsuid(uint32_t value);
uint32_t _internal_src_suid() const;
void _internal_set_src_suid(uint32_t value);
public:
// uint32 ForwardFlag = 4;
void clear_forwardflag();
uint32_t forwardflag() const;
void set_forwardflag(uint32_t value);
// uint32 forward_flag = 4;
void clear_forward_flag();
uint32_t forward_flag() const;
void set_forward_flag(uint32_t value);
private:
uint32_t _internal_forwardflag() const;
void _internal_set_forwardflag(uint32_t value);
uint32_t _internal_forward_flag() const;
void _internal_set_forward_flag(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:satllite.protobuf.TDSCmd.TDSCmd)
// uint32 priority = 5;
void clear_priority();
uint32_t priority() const;
void set_priority(uint32_t value);
private:
uint32_t _internal_priority() const;
void _internal_set_priority(uint32_t value);
public:
// uint32 request_index = 6;
void clear_request_index();
uint32_t request_index() const;
void set_request_index(uint32_t value);
private:
uint32_t _internal_request_index() const;
void _internal_set_request_index(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:TDSCmd)
private:
class _Internal;
......@@ -354,10 +962,13 @@ class TDSCmd final :
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any > parameters_;
int cmd_;
uint32_t dstsuid_;
uint32_t srcsuid_;
uint32_t forwardflag_;
::PROTOBUF_NAMESPACE_ID::Timestamp* ts_;
int interface_id_;
uint32_t dst_suid_;
uint32_t src_suid_;
uint32_t forward_flag_;
uint32_t priority_;
uint32_t request_index_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_tdscmd_2eproto;
};
......@@ -370,89 +981,416 @@ class TDSCmd final :
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// TestParams
// string key = 1;
inline void TestParams::clear_key() {
key_.ClearToEmpty();
}
inline const std::string& TestParams::key() const {
// @@protoc_insertion_point(field_get:TestParams.key)
return _internal_key();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TestParams::set_key(ArgT0&& arg0, ArgT... args) {
key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:TestParams.key)
}
inline std::string* TestParams::mutable_key() {
std::string* _s = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:TestParams.key)
return _s;
}
inline const std::string& TestParams::_internal_key() const {
return key_.Get();
}
inline void TestParams::_internal_set_key(const std::string& value) {
key_.Set(value, GetArenaForAllocation());
}
inline std::string* TestParams::_internal_mutable_key() {
return key_.Mutable(GetArenaForAllocation());
}
inline std::string* TestParams::release_key() {
// @@protoc_insertion_point(field_release:TestParams.key)
return key_.Release();
}
inline void TestParams::set_allocated_key(std::string* key) {
if (key != nullptr) {
} else {
}
key_.SetAllocated(key, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (key_.IsDefault()) {
key_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:TestParams.key)
}
// string value = 2;
inline void TestParams::clear_value() {
value_.ClearToEmpty();
}
inline const std::string& TestParams::value() const {
// @@protoc_insertion_point(field_get:TestParams.value)
return _internal_value();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TestParams::set_value(ArgT0&& arg0, ArgT... args) {
value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:TestParams.value)
}
inline std::string* TestParams::mutable_value() {
std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:TestParams.value)
return _s;
}
inline const std::string& TestParams::_internal_value() const {
return value_.Get();
}
inline void TestParams::_internal_set_value(const std::string& value) {
value_.Set(value, GetArenaForAllocation());
}
inline std::string* TestParams::_internal_mutable_value() {
return value_.Mutable(GetArenaForAllocation());
}
inline std::string* TestParams::release_value() {
// @@protoc_insertion_point(field_release:TestParams.value)
return value_.Release();
}
inline void TestParams::set_allocated_value(std::string* value) {
if (value != nullptr) {
} else {
}
value_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (value_.IsDefault()) {
value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:TestParams.value)
}
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// Heartbeat
// uint32 suid = 1;
inline void Heartbeat::clear_suid() {
suid_ = 0u;
}
inline uint32_t Heartbeat::_internal_suid() const {
return suid_;
}
inline uint32_t Heartbeat::suid() const {
// @@protoc_insertion_point(field_get:Heartbeat.suid)
return _internal_suid();
}
inline void Heartbeat::_internal_set_suid(uint32_t value) {
suid_ = value;
}
inline void Heartbeat::set_suid(uint32_t value) {
_internal_set_suid(value);
// @@protoc_insertion_point(field_set:Heartbeat.suid)
}
// repeated .IID iid_list = 2;
inline int Heartbeat::_internal_iid_list_size() const {
return iid_list_.size();
}
inline int Heartbeat::iid_list_size() const {
return _internal_iid_list_size();
}
inline void Heartbeat::clear_iid_list() {
iid_list_.Clear();
}
inline ::IID Heartbeat::_internal_iid_list(int index) const {
return static_cast< ::IID >(iid_list_.Get(index));
}
inline ::IID Heartbeat::iid_list(int index) const {
// @@protoc_insertion_point(field_get:Heartbeat.iid_list)
return _internal_iid_list(index);
}
inline void Heartbeat::set_iid_list(int index, ::IID value) {
iid_list_.Set(index, value);
// @@protoc_insertion_point(field_set:Heartbeat.iid_list)
}
inline void Heartbeat::_internal_add_iid_list(::IID value) {
iid_list_.Add(value);
}
inline void Heartbeat::add_iid_list(::IID value) {
_internal_add_iid_list(value);
// @@protoc_insertion_point(field_add:Heartbeat.iid_list)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
Heartbeat::iid_list() const {
// @@protoc_insertion_point(field_list:Heartbeat.iid_list)
return iid_list_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
Heartbeat::_internal_mutable_iid_list() {
return &iid_list_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
Heartbeat::mutable_iid_list() {
// @@protoc_insertion_point(field_mutable_list:Heartbeat.iid_list)
return _internal_mutable_iid_list();
}
// map<uint32, .Devistatus> Dev_status = 3;
inline int Heartbeat::_internal_dev_status_size() const {
return dev_status_.size();
}
inline int Heartbeat::dev_status_size() const {
return _internal_dev_status_size();
}
inline void Heartbeat::clear_dev_status() {
dev_status_.Clear();
}
inline const ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >&
Heartbeat::_internal_dev_status() const {
return dev_status_.GetMap();
}
inline const ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >&
Heartbeat::dev_status() const {
// @@protoc_insertion_point(field_map:Heartbeat.Dev_status)
return _internal_dev_status();
}
inline ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >*
Heartbeat::_internal_mutable_dev_status() {
return dev_status_.MutableMap();
}
inline ::PROTOBUF_NAMESPACE_ID::Map< uint32_t, ::Devistatus >*
Heartbeat::mutable_dev_status() {
// @@protoc_insertion_point(field_mutable_map:Heartbeat.Dev_status)
return _internal_mutable_dev_status();
}
// -------------------------------------------------------------------
// TDSCmd
// .satllite.protobuf.TDSCmd.TDSCmd.IID Cmd = 1;
inline void TDSCmd::clear_cmd() {
cmd_ = 0;
// .IID interface_id = 1;
inline void TDSCmd::clear_interface_id() {
interface_id_ = 0;
}
inline ::satllite::protobuf::TDSCmd::TDSCmd_IID TDSCmd::_internal_cmd() const {
return static_cast< ::satllite::protobuf::TDSCmd::TDSCmd_IID >(cmd_);
inline ::IID TDSCmd::_internal_interface_id() const {
return static_cast< ::IID >(interface_id_);
}
inline ::satllite::protobuf::TDSCmd::TDSCmd_IID TDSCmd::cmd() const {
// @@protoc_insertion_point(field_get:satllite.protobuf.TDSCmd.TDSCmd.Cmd)
return _internal_cmd();
inline ::IID TDSCmd::interface_id() const {
// @@protoc_insertion_point(field_get:TDSCmd.interface_id)
return _internal_interface_id();
}
inline void TDSCmd::_internal_set_cmd(::satllite::protobuf::TDSCmd::TDSCmd_IID value) {
inline void TDSCmd::_internal_set_interface_id(::IID value) {
cmd_ = value;
interface_id_ = value;
}
inline void TDSCmd::set_cmd(::satllite::protobuf::TDSCmd::TDSCmd_IID value) {
_internal_set_cmd(value);
// @@protoc_insertion_point(field_set:satllite.protobuf.TDSCmd.TDSCmd.Cmd)
inline void TDSCmd::set_interface_id(::IID value) {
_internal_set_interface_id(value);
// @@protoc_insertion_point(field_set:TDSCmd.interface_id)
}
// uint32 DstSUID = 2;
inline void TDSCmd::clear_dstsuid() {
dstsuid_ = 0u;
// uint32 dst_suid = 2;
inline void TDSCmd::clear_dst_suid() {
dst_suid_ = 0u;
}
inline uint32_t TDSCmd::_internal_dstsuid() const {
return dstsuid_;
inline uint32_t TDSCmd::_internal_dst_suid() const {
return dst_suid_;
}
inline uint32_t TDSCmd::dstsuid() const {
// @@protoc_insertion_point(field_get:satllite.protobuf.TDSCmd.TDSCmd.DstSUID)
return _internal_dstsuid();
inline uint32_t TDSCmd::dst_suid() const {
// @@protoc_insertion_point(field_get:TDSCmd.dst_suid)
return _internal_dst_suid();
}
inline void TDSCmd::_internal_set_dstsuid(uint32_t value) {
inline void TDSCmd::_internal_set_dst_suid(uint32_t value) {
dstsuid_ = value;
dst_suid_ = value;
}
inline void TDSCmd::set_dstsuid(uint32_t value) {
_internal_set_dstsuid(value);
// @@protoc_insertion_point(field_set:satllite.protobuf.TDSCmd.TDSCmd.DstSUID)
inline void TDSCmd::set_dst_suid(uint32_t value) {
_internal_set_dst_suid(value);
// @@protoc_insertion_point(field_set:TDSCmd.dst_suid)
}
// uint32 SrcSUID = 3;
inline void TDSCmd::clear_srcsuid() {
srcsuid_ = 0u;
// uint32 src_suid = 3;
inline void TDSCmd::clear_src_suid() {
src_suid_ = 0u;
}
inline uint32_t TDSCmd::_internal_srcsuid() const {
return srcsuid_;
inline uint32_t TDSCmd::_internal_src_suid() const {
return src_suid_;
}
inline uint32_t TDSCmd::srcsuid() const {
// @@protoc_insertion_point(field_get:satllite.protobuf.TDSCmd.TDSCmd.SrcSUID)
return _internal_srcsuid();
inline uint32_t TDSCmd::src_suid() const {
// @@protoc_insertion_point(field_get:TDSCmd.src_suid)
return _internal_src_suid();
}
inline void TDSCmd::_internal_set_srcsuid(uint32_t value) {
inline void TDSCmd::_internal_set_src_suid(uint32_t value) {
srcsuid_ = value;
src_suid_ = value;
}
inline void TDSCmd::set_srcsuid(uint32_t value) {
_internal_set_srcsuid(value);
// @@protoc_insertion_point(field_set:satllite.protobuf.TDSCmd.TDSCmd.SrcSUID)
inline void TDSCmd::set_src_suid(uint32_t value) {
_internal_set_src_suid(value);
// @@protoc_insertion_point(field_set:TDSCmd.src_suid)
}
// uint32 ForwardFlag = 4;
inline void TDSCmd::clear_forwardflag() {
forwardflag_ = 0u;
// uint32 forward_flag = 4;
inline void TDSCmd::clear_forward_flag() {
forward_flag_ = 0u;
}
inline uint32_t TDSCmd::_internal_forwardflag() const {
return forwardflag_;
inline uint32_t TDSCmd::_internal_forward_flag() const {
return forward_flag_;
}
inline uint32_t TDSCmd::forwardflag() const {
// @@protoc_insertion_point(field_get:satllite.protobuf.TDSCmd.TDSCmd.ForwardFlag)
return _internal_forwardflag();
inline uint32_t TDSCmd::forward_flag() const {
// @@protoc_insertion_point(field_get:TDSCmd.forward_flag)
return _internal_forward_flag();
}
inline void TDSCmd::_internal_set_forwardflag(uint32_t value) {
inline void TDSCmd::_internal_set_forward_flag(uint32_t value) {
forwardflag_ = value;
forward_flag_ = value;
}
inline void TDSCmd::set_forwardflag(uint32_t value) {
_internal_set_forwardflag(value);
// @@protoc_insertion_point(field_set:satllite.protobuf.TDSCmd.TDSCmd.ForwardFlag)
inline void TDSCmd::set_forward_flag(uint32_t value) {
_internal_set_forward_flag(value);
// @@protoc_insertion_point(field_set:TDSCmd.forward_flag)
}
// repeated .google.protobuf.Any Parameters = 5;
// uint32 priority = 5;
inline void TDSCmd::clear_priority() {
priority_ = 0u;
}
inline uint32_t TDSCmd::_internal_priority() const {
return priority_;
}
inline uint32_t TDSCmd::priority() const {
// @@protoc_insertion_point(field_get:TDSCmd.priority)
return _internal_priority();
}
inline void TDSCmd::_internal_set_priority(uint32_t value) {
priority_ = value;
}
inline void TDSCmd::set_priority(uint32_t value) {
_internal_set_priority(value);
// @@protoc_insertion_point(field_set:TDSCmd.priority)
}
// uint32 request_index = 6;
inline void TDSCmd::clear_request_index() {
request_index_ = 0u;
}
inline uint32_t TDSCmd::_internal_request_index() const {
return request_index_;
}
inline uint32_t TDSCmd::request_index() const {
// @@protoc_insertion_point(field_get:TDSCmd.request_index)
return _internal_request_index();
}
inline void TDSCmd::_internal_set_request_index(uint32_t value) {
request_index_ = value;
}
inline void TDSCmd::set_request_index(uint32_t value) {
_internal_set_request_index(value);
// @@protoc_insertion_point(field_set:TDSCmd.request_index)
}
// .google.protobuf.Timestamp ts = 7;
inline bool TDSCmd::_internal_has_ts() const {
return this != internal_default_instance() && ts_ != nullptr;
}
inline bool TDSCmd::has_ts() const {
return _internal_has_ts();
}
inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& TDSCmd::_internal_ts() const {
const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = ts_;
return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
}
inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& TDSCmd::ts() const {
// @@protoc_insertion_point(field_get:TDSCmd.ts)
return _internal_ts();
}
inline void TDSCmd::unsafe_arena_set_allocated_ts(
::PROTOBUF_NAMESPACE_ID::Timestamp* ts) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ts_);
}
ts_ = ts;
if (ts) {
} else {
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:TDSCmd.ts)
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* TDSCmd::release_ts() {
::PROTOBUF_NAMESPACE_ID::Timestamp* temp = ts_;
ts_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* TDSCmd::unsafe_arena_release_ts() {
// @@protoc_insertion_point(field_release:TDSCmd.ts)
::PROTOBUF_NAMESPACE_ID::Timestamp* temp = ts_;
ts_ = nullptr;
return temp;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* TDSCmd::_internal_mutable_ts() {
if (ts_ == nullptr) {
auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
ts_ = p;
}
return ts_;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* TDSCmd::mutable_ts() {
::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_ts();
// @@protoc_insertion_point(field_mutable:TDSCmd.ts)
return _msg;
}
inline void TDSCmd::set_allocated_ts(::PROTOBUF_NAMESPACE_ID::Timestamp* ts) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(ts_);
}
if (ts) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ts));
if (message_arena != submessage_arena) {
ts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, ts, submessage_arena);
}
} else {
}
ts_ = ts;
// @@protoc_insertion_point(field_set_allocated:TDSCmd.ts)
}
// repeated .google.protobuf.Any parameters = 8;
inline int TDSCmd::_internal_parameters_size() const {
return parameters_.size();
}
......@@ -460,19 +1398,19 @@ inline int TDSCmd::parameters_size() const {
return _internal_parameters_size();
}
inline ::PROTOBUF_NAMESPACE_ID::Any* TDSCmd::mutable_parameters(int index) {
// @@protoc_insertion_point(field_mutable:satllite.protobuf.TDSCmd.TDSCmd.Parameters)
// @@protoc_insertion_point(field_mutable:TDSCmd.parameters)
return parameters_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
TDSCmd::mutable_parameters() {
// @@protoc_insertion_point(field_mutable_list:satllite.protobuf.TDSCmd.TDSCmd.Parameters)
// @@protoc_insertion_point(field_mutable_list:TDSCmd.parameters)
return &parameters_;
}
inline const ::PROTOBUF_NAMESPACE_ID::Any& TDSCmd::_internal_parameters(int index) const {
return parameters_.Get(index);
}
inline const ::PROTOBUF_NAMESPACE_ID::Any& TDSCmd::parameters(int index) const {
// @@protoc_insertion_point(field_get:satllite.protobuf.TDSCmd.TDSCmd.Parameters)
// @@protoc_insertion_point(field_get:TDSCmd.parameters)
return _internal_parameters(index);
}
inline ::PROTOBUF_NAMESPACE_ID::Any* TDSCmd::_internal_add_parameters() {
......@@ -480,31 +1418,54 @@ inline ::PROTOBUF_NAMESPACE_ID::Any* TDSCmd::_internal_add_parameters() {
}
inline ::PROTOBUF_NAMESPACE_ID::Any* TDSCmd::add_parameters() {
::PROTOBUF_NAMESPACE_ID::Any* _add = _internal_add_parameters();
// @@protoc_insertion_point(field_add:satllite.protobuf.TDSCmd.TDSCmd.Parameters)
// @@protoc_insertion_point(field_add:TDSCmd.parameters)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
TDSCmd::parameters() const {
// @@protoc_insertion_point(field_list:satllite.protobuf.TDSCmd.TDSCmd.Parameters)
// @@protoc_insertion_point(field_list:TDSCmd.parameters)
return parameters_;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace TDSCmd
} // namespace protobuf
} // namespace satllite
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::satllite::protobuf::TDSCmd::TDSCmd_IID> : ::std::true_type {};
template <> struct is_proto_enum< ::CodeValue> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::CodeValue>() {
return ::CodeValue_descriptor();
}
template <> struct is_proto_enum< ::IID> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::IID>() {
return ::IID_descriptor();
}
template <> struct is_proto_enum< ::BROKERAREA> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::BROKERAREA>() {
return ::BROKERAREA_descriptor();
}
template <> struct is_proto_enum< ::SUBSYSTEM> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::SUBSYSTEM>() {
return ::SUBSYSTEM_descriptor();
}
template <> struct is_proto_enum< ::Devistatus> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::satllite::protobuf::TDSCmd::TDSCmd_IID>() {
return ::satllite::protobuf::TDSCmd::TDSCmd_IID_descriptor();
inline const EnumDescriptor* GetEnumDescriptor< ::Devistatus>() {
return ::Devistatus_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE
......
/**
* @file cmmstruct.proto
* @brief TDSCmd define
* @author Fan Chuanlin, fanchuanlin@aliyun.com
* @version 1.0
* @date 2022-09-06
*/
syntax = "proto3";
import "google/protobuf/any.proto";
package satllite.protobuf.TDSCmd;
message TDSCmd{
enum IID{
IID_Base=0;
IID_Server_Base=1000;
IID_Server_xxx=1001;
IID_Server_xxx_respond=1002;
IID_UI_Base=2000;
IID_UI_xxx=2001;
IID_UI_xxx_respond=2002;
IID_Device_Base=3000;
IID_Device_xxx=3001;
IID_Device_xxx_respond=3002;
import "google/protobuf/timestamp.proto";
option go_package = "../protogo";
//成功失败 枚举
enum CodeValue
{
base_start = 0;
Succeed = 1;
Failed = 2;
}
enum IID
{
IID_Base = 0;
//====================== server =============================
IID_Server_Base = 10000;
// common
IID_Server_SyncEnd = 10001;
// satellite action
IID_Server_SatelliteList = 10101;
IID_Server_SatelliteList_respond = 10102;//list
IID_Server_SatelliteBaseUpdate = 10103;
IID_Server_SatelliteBaseUpdate_respond = 10104;
IID_Server_SatellitePriorityUpdate = 10105;
IID_Server_SatellitePriorityUpdate_respond = 10106;
IID_Server_SatellitePriorityList = 10107;
IID_Server_SatellitePriorityList_respond = 10108;
IID_Server_SatelliteAvailableUpdate = 10109;
IID_Server_SatelliteAvailableUpdate_respond = 10110;
IID_Server_SatelliteElementUpdate = 10111;
IID_Server_SatelliteElementUpdate_respond = 10112;
IID_Server_SatelliteElementLoad = 10113;
IID_Server_SatelliteElementLoad_respond = 10114;
IID_Server_SatelliteDel = 10115;
IID_Server_SatelliteDel_respond = 10116;
IID_Server_SatelliteInstantaneousRootUpdate = 10117;
IID_Server_SatelliteInstantaneousRootUpdate_respond = 10118;
IID_Server_SatelliteListSend = 10119;
IID_Server_SatelliteListSend_respond = 10120;
IID_Server_SatelliteListReceive = 10121;
IID_Server_SatelliteListReceive_respond = 10122;
// 卫星射频/解调参数
IID_Server_SatelliteWorkParamList = 10201;
IID_Server_SatelliteWorkParamList_respond = 10202;//list
IID_Server_SatelliteWorkParamUpdate = 10203;
IID_Server_SatelliteWorkParamUpdate_respond = 10204;
IID_Server_SatelliteWorkParamDel = 10205;
IID_Server_SatelliteWorkParamDel_respond = 10206;
IID_Server_SatelliteWorkParamListSend = 10207;
IID_Server_SatelliteWorkParamListSend_respond = 10208;
IID_Server_SatelliteWorkParamListReceive = 10209;
IID_Server_SatelliteWorkParamListReceive_respond = 10210;
// site action
IID_Server_SiteList = 10301;
IID_Server_SiteList_respond = 10302;//list
IID_Server_SiteUpdate = 10303;
IID_Server_SiteUpdate_respond = 10304;
IID_Server_SiteParamUpdate = 10305;
IID_Server_SiteParamUpdate_respond = 10306;
IID_Server_SiteDel = 10307;
IID_Server_SiteDel_respond = 10308;
IID_Server_SiteListSend = 10309;
IID_Server_SiteListSend_respond = 10310;
IID_Server_SiteListReceive = 10311;
IID_Server_SiteListReceive_respond = 10312;
// task action
IID_Server_TaskList = 10401;
IID_Server_TaskList_respond = 10402;//list
IID_Server_TaskForecast = 10403;
IID_Server_TaskForecast_respond = 10404;//list
IID_Server_TaskUpdate = 10405;
IID_Server_TaskUpdate_respond = 10406;
IID_Server_TaskDel = 10407;
IID_Server_TaskDel_respond = 10408;
IID_Server_TaskDetailDat = 10409;
IID_Server_TaskDetailDat_respond = 10410;//data
IID_Server_TaskDetailPoint = 10411;
IID_Server_TaskDetailPoint_respond = 10412;//data
IID_Server_TaskPause = 10413;
IID_Server_TaskPause_respond = 10414;
IID_Server_TaskRestart = 10415;
IID_Server_TaskRestart_respond = 10416;
IID_Server_TaskHandleConflict = 10417;
IID_Server_TaskHandleConflict_respond = 10418;//list
IID_Server_TaskHandModeSwitch = 10419;
IID_Server_TaskHandModeSwitch_respond = 10420;
IID_Server_TaskIndex = 10421;
IID_Server_TaskIndex_respond = 10422;//data
IID_Server_TaskListSend = 10423;
IID_Server_TaskListSend_respond = 10424;
IID_Server_TaskListReceive = 10425;
IID_Server_TaskListReceive_respond = 10426;
IID_Server_FileReceive = 10427;
IID_Server_FileReceive_respond = 10428;
IID_Server_TaskExecAnalysisResult = 105;
IID_Server_TaskExecAnalysisResult_respond = 10502;
IID_Server_TaskExecList = 10503;
IID_Server_TaskExecList_respond = 10504;//list
// more setting action
IID_Server_MoreSettingSet = 10601;
IID_Server_MoreSettingSet_respond = 10602;
IID_Server_MoreSettingGet = 10603;
IID_Server_MoreSettingGet_respond = 10604;// 正常-data ,获取存储规则-list
IID_Server_MoreSettingGetDefault = 10605;
IID_Server_MoreSettingGetDefault_respond = 10606;//data
IID_Server_MoreSettingDataSet = 10607;
IID_Server_MoreSettingDataSet_respond = 10608;
IID_Server_MoreSettingDataDel = 10609;
IID_Server_MoreSettingDataDel_respond = 10610;
// IID_Server_MoreSettingSend = 10611;
// IID_Server_MoreSettingSend_respond = 10612;
// IID_Server_MoreSettingReceive = 10613;
// IID_Server_MoreSettingReceive_respond = 10614;
// user action
IID_Server_Login = 10701;
IID_Server_Login_respond = 10702;//data
IID_Server_UserCreate = 10703;
IID_Server_UserCreate_respond = 10704;
IID_Server_UserUpdate = 10705;
IID_Server_UserUpdate_respond = 10706;
IID_Server_UserDel = 10707;
IID_Server_UserDel_respond = 10708;
IID_Server_UserList = 10709;
IID_Server_UserList_respond = 10710;//list
//====================== UI =============================
IID_UI_Base = 20000;
IID_UI_xxx = 20001;
IID_UI_xxx_respond = 20002;
//====================== Device =============================
IID_Device_Base = 30000;
IID_Device_DBC_CURD = 30001;
IID_Device_DBC_CURD_respond = 30002;
IID_Device_Xpro_TX_cmd = 30003;
IID_Device_Xpro_TX_cmd_respond = 30004;
IID_Device_Xpro_RX_cmd = 30005;
IID_Device_Xpro_RX_cmd_respond = 30006; //用不上
//====================== AGI =============================
IID_AGI_Base=4000;
IID_AGI_TLE=4001;
IID_AGI_TLE_respond=4002;
IID_AGI_Report=4003;
IID_AGI_Report_respond=4004;
//====================== OAM =============================
IID_OAM_Base = 50000;
// public use
IID_OAM_HeartBeat_RX = 50001;
IID_OAM_LOG_RX = 50003;
// OAM relay
IID_OAM_SysStatus_Relay = 50005;
IID_OAM_SysStatus_Relay_Respond = 50006;
IID_OAM_Performance_Relay = 50007;
IID_OAM_Performance_Relay_Respond = 50008;
IID_OAM_Alert_Start_Relay = 50009;
IID_OAM_Alert_Start_Relay_Respond = 50010;
IID_OAM_Alert_End_Relay = 50011;
IID_OAM_Alert_End_Relay_Respond = 50012;
IID_OAM_LOG_Relay = 50013;
IID_OAM_LOG_Relay_Respond = 50014;
// communicate with UI
IID_OAM_UI_SysStatus_Require = 50015;
IID_OAM_UI_SysStatus_Respond = 50016;
IID_OAM_UI_SysStatus_Update = 50017;
IID_OAM_UI_SysStatus_Update_Respond = 50018;
IID_OAM_UI_CurrentAlarms_Require = 50019;
IID_OAM_UI_CurrentAlarms_Respond = 50020;
IID_OAM_UI_CurrentAlarms_Start_Update = 50021;
IID_OAM_UI_CurrentAlarms_Start_Update_Respond = 50022;
IID_OAM_UI_CurrentAlarms_End_Update = 50023;
IID_OAM_UI_CurrentAlarms_End_Update_Respond = 50024;
IID_OAM_UI_HistoryAlarms_Require = 50025;
IID_OAM_UI_HistoryAlarms_Respond = 50026;
IID_OAM_UI_AlarmAttribution_Require = 50027;
IID_OAM_UI_AlarmAttribution_Respond = 50028;
IID_OAM_UI_AlarmAttribution_Update_Require = 50029;
IID_OAM_UI_AlarmAttribution_Update_Respond = 50030;
IID_OAM_UI_PerInfos_Require = 50031;
IID_OAM_UI_PerInfos_Respond = 50032;
IID_OAM_UI_PerAttribution_Require = 50033;
IID_OAM_UI_PerAttribution_Respond = 50034;
IID_OAM_UI_PerAttribution_Update_Require = 50035;
IID_OAM_UI_PerAttribution_Update_Respond = 50036;
IID_OAM_UI_LOG_Require = 50037;
IID_OAM_UI_LOG_Respond = 50038;
// communicate with Device
IID_OAM_Device_Alert_Start = 50039;
IID_OAM_Device_Alert_Start_Respond = 50040;
IID_OAM_Device_Alert_End = 50041;
IID_OAM_Device_Alert_End_Respond = 50042;
IID_OAM_Device_Performance_RX = 50043;
IID_OAM_Base=5000;
IID_OAM_xxx=5001;
IID_OAM_xxx_respond=5002;
}
IID Cmd=1;
uint32 DstSUID=2;
uint32 SrcSUID=3;
uint32 ForwardFlag=4;
repeated google.protobuf.Any Parameters=5;
/*
......
xxxx id%2 == 1
xxxx_respond = id+1
*/
}
/// sub system define
enum BROKERAREA
{
BROKERAREA_LOCAL = 0;
BROKERAREA_CLOUD_LEVEL2 = 1;
BROKERAREA_CLOUD_LEVEL1 = 2;
}
enum SUBSYSTEM
{
SUBSYSTEM_base = 0;
SUBSYSTEM_Server = 1;
SUBSYSTEM_UI = 2;
SUBSYSTEM_Device = 3;
SUBSYSTEM_AGI = 4;
SUBSYSTEM_OAM = 5;
SUBSYSTEM_default = 6;
}
message TestParams
{
string key = 1;
string value = 2;
}
//设备状态枚举
enum Devistatus
{
Init_status = 0;
Online = 1;
Offline = 2;
Alarm = 3;
}
//心跳
message Heartbeat
{
uint32 suid = 1;
repeated IID iid_list = 2;
map<uint32, Devistatus> Dev_status = 3; //存放设备状态 <DEV_SUID,STATUS>
}
message TDSCmd
{
IID interface_id = 1;
uint32 dst_suid = 2;
uint32 src_suid = 3;
uint32 forward_flag = 4;
uint32 priority = 5; //报文优先级 可以优先发送
uint32 request_index = 6;
google.protobuf.Timestamp ts = 7;
repeated google.protobuf.Any parameters = 8;
}
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