Commit b2af52f6 by xjp0422

Heartmessage ReportLog

parent 48f9702c
No preview for this file type
......@@ -84,6 +84,7 @@
<ItemGroup>
<Compile Include="AGITopic.cs" />
<Compile Include="ModAgi.cs" />
<Compile Include="OAMDatastruct.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tdscmd.cs" />
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -64,7 +64,30 @@ namespace Mqtt_AGI
Console.WriteLine("MqttclientId:" + clientId);
//Console.WriteLine(Convert.ToString(subTopic,2).PadLeft(32,'0'));//32位 前面补0
}
static void heart_thread() {
//初始化包配置
while (true)
{
Heartbeat heartbeat = new Heartbeat();
heartbeat.Suid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI), 2);
heartbeat.IidList.Add(IID.AgiReport);
heartbeat.IidList.Add(IID.AgiReportRespond);
heartbeat.IidList.Add(IID.AgiTle);
heartbeat.IidList.Add(IID.AgiTleRespond);
TDSCmd MessageHeart = new TDSCmd();
MessageHeart.InterfaceId = IID.OamHeartBeatRx;
MessageHeart.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.OAM), 2);
MessageHeart.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI), 2);
MessageHeart.ForwardFlag = 0;//不需要转发
MessageHeart.Ts = Google.Protobuf.WellKnownTypes.Timestamp.FromDateTime(DateTime.UtcNow);
//加载数据段
Any Parameter = Any.Pack(heartbeat);
MessageHeart.Parameters.Add(Parameter);
client.Publish(SerializeUid.SerilizeTopic(LevelTopic, systemID.OAM), MessageHeart.ToByteArray());
Thread.Sleep(1000 * 10);
}
}
static void client_MqttMsgPublishReceived(object sender, MqttMsgPublishEventArgs e)
{
......@@ -165,8 +188,7 @@ namespace Mqtt_AGI
// Application.EnableVisualStyles();
// Application.SetCompatibleTextRenderingDefault(false);
// Application.Run(new Form1());
try
try
{
Level_Topic_Uid_init();
//从配置文件获取ip port
......@@ -184,7 +206,10 @@ namespace Mqtt_AGI
client.MqttMsgPublishReceived += client_MqttMsgPublishReceived;
//断线重连
client.ConnectionClosed += client_MqttConnectionClosed;
}
Thread thread = new Thread(heart_thread);
thread.Start();
Console.WriteLine("Heart thread start");
}
catch (Exception ex)
{
// continue;
......@@ -253,7 +278,7 @@ namespace Mqtt_AGI
client.Publish(SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER), MessageSend.ToByteArray());
Console.WriteLine("send topic:"+ SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER));
Console.WriteLine("Tle send topic:"+ SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER));
Console.WriteLine("pacakge length:" + MessageSend.ToByteArray().Length);
Console.WriteLine("Sucess send count:" + (++count));
Console.WriteLine("Content:" + MessageSend);
......@@ -570,28 +595,51 @@ namespace Mqtt_AGI
}
//protobuf begin
//初始化包配置
TDSCmd MessageSend = new TDSCmd();
MessageSend.InterfaceId = IID.AgiReportRespond;
MessageSend.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.SERVER),2);
MessageSend.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI),2);
MessageSend.ForwardFlag = 0;//不需要转发
TDSCmd MessageReport = new TDSCmd();
MessageReport.InterfaceId = IID.AgiReportRespond;
MessageReport.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.SERVER),2);
MessageReport.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI),2);
MessageReport.ForwardFlag = 0;//不需要转发
MessageReport.Ts = Google.Protobuf.WellKnownTypes.Timestamp.FromDateTime(DateTime.UtcNow);
//加载数据段
Any Parameter = Any.Pack(CalcReport);
MessageSend.Parameters.Add(Parameter);
MessageReport.Parameters.Add(Parameter);
client.Publish(SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER), MessageSend.ToByteArray());
//protobuf end
client.Publish(SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER), MessageReport.ToByteArray());
//CalcRetJson.Add("tasks", ReportArray);
Console.WriteLine("send topic:" + SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER));
Console.WriteLine("pacakge length:"+ MessageSend.ToByteArray().Length);
Console.WriteLine("Report send topic:" + SerializeUid.SerilizeTopic(LevelTopic, systemID.SERVER));
Console.WriteLine("Report pacakge length:" + MessageReport.ToByteArray().Length);
//client.Publish("server/response/agi/json", System.Text.Encoding.Default.GetBytes(CalcRetJson.ToString())); //将任务星下点信息发布出去
Console.WriteLine("Sucess send count:" + (++count));
Console.WriteLine("Content:" + MessageSend);
Console.WriteLine("Content:" + MessageReport);
//Console.WriteLine(CalcRetJson.ToString());
//日志包
TDSCmd MessageLog = new TDSCmd();
Log log = new Log();
log.StationID = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI), 2);
log.LogInfoCHN = line0;
log.LogInfoENG = line0;
log.Loglevel = LogLevel.Normal;
log.Manipunator = "system";
log.ReportTime = Google.Protobuf.WellKnownTypes.Timestamp.FromDateTime(DateTime.UtcNow);
MessageLog.InterfaceId = IID.OamLogRx;
MessageLog.DstSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.OAM), 2);
MessageLog.SrcSuid = Convert.ToUInt32(SerializeUid.SerilizeUid(LevelUid, systemID.AGI), 2);
MessageLog.Ts= Google.Protobuf.WellKnownTypes.Timestamp.FromDateTime(DateTime.UtcNow);
Any Logs = Any.Pack(log);
MessageLog.Parameters.Add(Logs);
client.Publish(SerializeUid.SerilizeTopic(LevelTopic, systemID.OAM), MessageLog.ToByteArray());
//protobuf end
Console.WriteLine("Log send topic:" + SerializeUid.SerilizeTopic(LevelTopic, systemID.OAM));
Console.WriteLine("Log pacakge length:" + MessageLog.ToByteArray().Length);
//client.Publish("server/response/agi/json", System.Text.Encoding.Default.GetBytes(CalcRetJson.ToString())); //将任务星下点信息发布出去
Console.WriteLine("Content:" + MessageLog);
//Console.WriteLine(CalcRetJson.ToString());
}
catch (Exception e)
{
......
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tdscmd.proto
// source: TDSCmd.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
......@@ -9,20 +9,20 @@ using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
/// <summary>Holder for reflection information generated from 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>
/// <summary>File descriptor for TDSCmd.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TdscmdReflection() {
static TDSCmdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cgx0ZHNjbWQucHJvdG8aGWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8aH2dv",
"CgxURFNDbWQucHJvdG8aGWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8aH2dv",
"b2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8iKAoKVGVzdFBhcmFtcxIL",
"CgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkinwEKCUhlYXJ0YmVhdBIMCgRz",
"dWlkGAEgASgNEhYKCGlpZF9saXN0GAIgAygOMgQuSUlEEi0KCkRldl9zdGF0",
......@@ -34,7 +34,7 @@ public static partial class TdscmdReflection {
"aW5kZXgYBiABKA0SJgoCdHMYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt",
"ZXN0YW1wEigKCnBhcmFtZXRlcnMYCCADKAsyFC5nb29nbGUucHJvdG9idWYu",
"QW55KjQKCUNvZGVWYWx1ZRIOCgpiYXNlX3N0YXJ0EAASCwoHU3VjY2VlZBAB",
"EgoK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GAxIcChZJSURfT0FNX1VJX0xPR19SZXNwb25kEPaGAxIg",
"ChpJSURfT0FNX0RldmljZV9BbGVydF9TdGFydBD3hgMSKAoiSUlEX09BTV9E",
"ZXZpY2VfQWxlcnRfU3RhcnRfUmVzcG9uZBD4hgMSHgoYSUlEX09BTV9EZXZp",
"Y2VfQWxlcnRfRW5kEPmGAxImCiBJSURfT0FNX0RldmljZV9BbGVydF9FbmRf",
"UmVzcG9uZBD6hgMSIwodSUlEX09BTV9EZXZpY2VfUGVyZm9ybWFuY2VfUlgQ",
"+4YDKlwKCkJST0tFUkFSRUESFAoQQlJPS0VSQVJFQV9MT0NBTBAAEhsKF0JS",
"T0tFUkFSRUFfQ0xPVURfTEVWRUwyEAESGwoXQlJPS0VSQVJFQV9DTE9VRF9M",
"RVZFTDEQAiqaAQoJU1VCU1lTVEVNEhIKDlNVQlNZU1RFTV9iYXNlEAASFAoQ",
"U1VCU1lTVEVNX1NlcnZlchABEhAKDFNVQlNZU1RFTV9VSRACEhQKEFNVQlNZ",
"U1RFTV9EZXZpY2UQAxIRCg1TVUJTWVNURU1fQUdJEAQSEQoNU1VCU1lTVEVN",
"X09BTRAFEhUKEVNVQlNZU1RFTV9kZWZhdWx0EAYqQQoKRGV2aXN0YXR1cxIP",
"CgtJbml0X3N0YXR1cxAAEgoKBk9ubGluZRABEgsKB09mZmxpbmUQAhIJCgVB",
"bGFybRADQgxaCi4uL3Byb3RvZ29iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
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[] {
......@@ -336,11 +338,9 @@ public enum IID {
[pbr::OriginalName("IID_Server_MoreSettingDataSet_respond")] ServerMoreSettingDataSetRespond = 10608,
[pbr::OriginalName("IID_Server_MoreSettingDataDel")] ServerMoreSettingDataDel = 10609,
[pbr::OriginalName("IID_Server_MoreSettingDataDel_respond")] ServerMoreSettingDataDelRespond = 10610,
[pbr::OriginalName("IID_Server_MoreSettingRestoreDefault")] ServerMoreSettingRestoreDefault = 10611,
[pbr::OriginalName("IID_Server_MoreSettingRestoreDefault_respond")] ServerMoreSettingRestoreDefaultRespond = 10612,
/// <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,
......@@ -381,11 +381,11 @@ public enum IID {
/// <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,
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 40000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 40001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 40002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 40003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 40004,
/// <summary>
///====================== OAM =============================
/// </summary>
......@@ -491,7 +491,7 @@ public sealed partial class TestParams : pb::IMessage<TestParams>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[0]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -720,7 +720,7 @@ public sealed partial class Heartbeat : pb::IMessage<Heartbeat>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[1]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -966,7 +966,7 @@ public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[2]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......
dc8766d0c3caf9d64c8ee1044151fbc91b8aab4f
a360f56c7f9b6fa1faebc1d0938ef3026a2df3db

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
# Visual Studio Version 16
VisualStudioVersion = 16.0.32602.291
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mqtt_AGI", "Kepler_J20002TLE\Mqtt_AGI.csproj", "{D810F35A-990A-476B-85DB-394DFF6F4962}"
EndProject
......@@ -19,4 +19,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6910A09F-B004-43BC-A4A9-3756969B220B}
EndGlobalSection
EndGlobal
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
* @file OAM_datastruct.proto
* @brief TDSCmd define
* @author YueWang
* @version 1.0
* @date 2022-09-23
*/
syntax = "proto3";
//import "google/protobuf/any.proto";
option go_package = "../protogo";
import "google/protobuf/timestamp.proto";
import "TDSCmd.proto";
//alrm level
enum Level{
Defaul_Level = 0; //告警级别非下列两种时为0
Normal_Alarm = 1;
Critical_Alarm = 2;
}
//log level
enum LogLevel{
Default_LogLevel = 0; //log级别非下列三种时为0
Normal = 1;
Warning = 2;
Error = 3;
}
enum OperandType {
_DEFAULT = 0; //数值不是下列几种情况时,为0
_UINT = 1;
_INT = 2;
_STRING = 3;
_FLOAT = 4;
_DOUBLE = 5;
}
// operator
enum Operator{
Default_Operator = 0; //操作符为空时,Default_Operator为0
GreaterThan = 1;
GreaterThanOrEqualTo = 2;
EqualTo = 3;
LessThan = 4;
LessThanOrEqualTo = 5;
NotEqualTo = 6;
}
enum RelationOperator {
Default_RelationOperator = 0; //关系符为空时,Default_RelationOperator为0
AND = 1;
OR = 2;
}
//message return back to device when OAM receive the alarm info from device
message DeviceRet{
uint32 AlarmID = 1;//这个就OAM会用到
uint32 StationID = 2;
uint32 DeviceID = 3;
CodeValue CodeRet = 4;
string Message = 5;
}
//normal message respond back to UI OR Lower OAM
message Respond{
CodeValue CodeRet = 1;
string Message = 2;
}
//StationID is SUID of device,DeviceID is the sub device
message StationDevID{
uint32 StationID = 1;
uint32 DeviceID = 2;
}
//alarm attribution
message AlarmAttri
{
uint32 Id = 1;
uint32 AlarmID = 2;
Level AlarmLevel = 3;
string AlarmDescriptionCHN = 4;
string AlarmDescriptionENG = 5;
uint32 IsMon = 6;
google.protobuf.Timestamp CreateTime = 7;
}
//performance attribution
message PerAttri
{
uint32 Id = 1;
uint32 PerID = 2;
string DataCatlog = 3;
string FieldName = 4;
string PerDescriptionCHN = 5;
string PerDescriptionENG = 6;
OperandType FieldType = 7;
string FieldUnit = 8;
Operator Operator1 = 9;
string Operand1 = 10;
RelationOperator Relation = 11;
Operator Operator2 = 12;
string Operand2 = 13;
uint32 IsMon = 14;
Level PerAlarmLevel = 15;
string AlarmDesCHN = 16;
string AlarmDesENG = 17;
google.protobuf.Timestamp CreateTime = 18;
}
//current alarm
message CurrAlarm
{
uint32 Id = 1;
uint32 AlarmID = 2;
uint32 StationID = 3;
uint32 DeviceID = 4;
Level AlarmLevel = 5;
string AlarmDescriptionCHN = 6;
string AlarmDescriptionENG = 7;
google.protobuf.Timestamp ReportTime = 8;
}
// history of alarm
message HisAlarm
{
uint32 Id = 1;
uint32 AlarmID = 2;
uint32 StationID = 3;
uint32 DeviceID = 4;
Level AlarmLevel = 5;
string AlarmDescriptionCHN = 6;
string AlarmDescriptionENG = 7;
google.protobuf.Timestamp StartTime = 8;
google.protobuf.Timestamp EndTime = 9;
}
message SysStatus
{
uint32 StationID = 1;
uint32 DeviceID = 2;
Devistatus Status = 3;
google.protobuf.Timestamp ReportTime = 4;
}
message Log{
uint32 StationID = 1;
uint32 DeviceID = 2;
LogLevel Loglevel = 3;
string LogInfoCHN = 4;
string LogInfoENG = 5;
string Manipunator = 6;
google.protobuf.Timestamp ReportTime = 7 ;
}
message PerInfo{
uint32 Id = 1;
uint32 PerID = 2;
uint32 StationID = 3;
uint32 DeviceID = 4;
string DataCatlog = 5;
string FieldName = 6;
string FieldValue = 7;
string PerDescriptionCHN = 8;
string PerDescriptionENG = 9;
google.protobuf.Timestamp UpdateTime = 10 ;
}
message PerRequire{
string DataCatlog = 1;
string FieldName = 2;
uint32 IsMon = 3;
}
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tdscmd.proto
// source: TDSCmd.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
......@@ -9,20 +9,20 @@ using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
/// <summary>Holder for reflection information generated from 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>
/// <summary>File descriptor for TDSCmd.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TdscmdReflection() {
static TDSCmdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cgx0ZHNjbWQucHJvdG8aGWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8aH2dv",
"CgxURFNDbWQucHJvdG8aGWdvb2dsZS9wcm90b2J1Zi9hbnkucHJvdG8aH2dv",
"b2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8iKAoKVGVzdFBhcmFtcxIL",
"CgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkinwEKCUhlYXJ0YmVhdBIMCgRz",
"dWlkGAEgASgNEhYKCGlpZF9saXN0GAIgAygOMgQuSUlEEi0KCkRldl9zdGF0",
......@@ -34,7 +34,7 @@ public static partial class TdscmdReflection {
"aW5kZXgYBiABKA0SJgoCdHMYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt",
"ZXN0YW1wEigKCnBhcmFtZXRlcnMYCCADKAsyFC5nb29nbGUucHJvdG9idWYu",
"QW55KjQKCUNvZGVWYWx1ZRIOCgpiYXNlX3N0YXJ0EAASCwoHU3VjY2VlZBAB",
"EgoKBkZhaWxlZBACKpEsCgNJSUQSDAoISUlEX0Jhc2UQABIUCg9JSURfU2Vy",
"EgoKBkZhaWxlZBACKvQsCgNJSUQSDAoISUlEX0Jhc2UQABIUCg9JSURfU2Vy",
"dmVyX0Jhc2UQkE4SFwoSSUlEX1NlcnZlcl9TeW5jRW5kEJFOEh0KGElJRF9T",
"ZXJ2ZXJfU2F0ZWxsaXRlTGlzdBD1ThIlCiBJSURfU2VydmVyX1NhdGVsbGl0",
"ZUxpc3RfcmVzcG9uZBD2ThIjCh5JSURfU2VydmVyX1NhdGVsbGl0ZUJhc2VV",
......@@ -108,66 +108,68 @@ public static partial class TdscmdReflection {
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0JS",
"T0tFUkFSRUFfQ0xPVURfTEVWRUwyEAESGwoXQlJPS0VSQVJFQV9DTE9VRF9M",
"RVZFTDEQAiqaAQoJU1VCU1lTVEVNEhIKDlNVQlNZU1RFTV9iYXNlEAASFAoQ",
"U1VCU1lTVEVNX1NlcnZlchABEhAKDFNVQlNZU1RFTV9VSRACEhQKEFNVQlNZ",
"U1RFTV9EZXZpY2UQAxIRCg1TVUJTWVNURU1fQUdJEAQSEQoNU1VCU1lTVEVN",
"X09BTRAFEhUKEVNVQlNZU1RFTV9kZWZhdWx0EAYqQQoKRGV2aXN0YXR1cxIP",
"CgtJbml0X3N0YXR1cxAAEgoKBk9ubGluZRABEgsKB09mZmxpbmUQAhIJCgVB",
"bGFybRADQgxaCi4uL3Byb3RvZ29iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
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[] {
......@@ -336,11 +338,9 @@ public enum IID {
[pbr::OriginalName("IID_Server_MoreSettingDataSet_respond")] ServerMoreSettingDataSetRespond = 10608,
[pbr::OriginalName("IID_Server_MoreSettingDataDel")] ServerMoreSettingDataDel = 10609,
[pbr::OriginalName("IID_Server_MoreSettingDataDel_respond")] ServerMoreSettingDataDelRespond = 10610,
[pbr::OriginalName("IID_Server_MoreSettingRestoreDefault")] ServerMoreSettingRestoreDefault = 10611,
[pbr::OriginalName("IID_Server_MoreSettingRestoreDefault_respond")] ServerMoreSettingRestoreDefaultRespond = 10612,
/// <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,
......@@ -381,11 +381,11 @@ public enum IID {
/// <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,
[pbr::OriginalName("IID_AGI_Base")] AgiBase = 40000,
[pbr::OriginalName("IID_AGI_TLE")] AgiTle = 40001,
[pbr::OriginalName("IID_AGI_TLE_respond")] AgiTleRespond = 40002,
[pbr::OriginalName("IID_AGI_Report")] AgiReport = 40003,
[pbr::OriginalName("IID_AGI_Report_respond")] AgiReportRespond = 40004,
/// <summary>
///====================== OAM =============================
/// </summary>
......@@ -491,7 +491,7 @@ public sealed partial class TestParams : pb::IMessage<TestParams>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[0]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -720,7 +720,7 @@ public sealed partial class Heartbeat : pb::IMessage<Heartbeat>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[1]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......@@ -966,7 +966,7 @@ public sealed partial class TDSCmd : pb::IMessage<TDSCmd>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::TdscmdReflection.Descriptor.MessageTypes[2]; }
get { return global::TDSCmdReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
......
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tdscmd.proto
// source: TDSCmd.proto
#include "tdscmd.pb.h"
#include "TDSCmd.pb.h"
#include <algorithm>
......@@ -79,11 +79,11 @@ struct TDSCmdDefaultTypeInternal {
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TDSCmdDefaultTypeInternal _TDSCmd_default_instance_;
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;
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) = {
const uint32_t TableStruct_TDSCmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::TestParams, _internal_metadata_),
~0u, // no _extensions_
......@@ -140,8 +140,8 @@ static const ::_pb::Message* const file_default_instances[] = {
&::_TDSCmd_default_instance_._instance,
};
const char descriptor_table_protodef_tdscmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\014tdscmd.proto\032\031google/protobuf/any.prot"
const char descriptor_table_protodef_TDSCmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\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"
......@@ -154,7 +154,7 @@ const char descriptor_table_protodef_tdscmd_2eproto[] PROTOBUF_SECTION_VARIABLE(
"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"
"start\020\000\022\013\n\007Succeed\020\001\022\n\n\006Failed\020\002*\364,\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"
......@@ -238,96 +238,99 @@ const char descriptor_table_protodef_tdscmd_2eproto[] PROTOBUF_SECTION_VARIABLE(
"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"
"_MoreSettingDataDel_respond\020\362R\022)\n$IID_Se"
"rver_MoreSettingRestoreDefault\020\363R\0221\n,IID"
"_Server_MoreSettingRestoreDefault_respon"
"d\020\364R\022\025\n\020IID_Server_Login\020\315S\022\035\n\030IID_Serve"
"r_Login_respond\020\316S\022\032\n\025IID_Server_UserCre"
"ate\020\317S\022\"\n\035IID_Server_UserCreate_respond\020"
"\320S\022\032\n\025IID_Server_UserUpdate\020\321S\022\"\n\035IID_Se"
"rver_UserUpdate_respond\020\322S\022\027\n\022IID_Server"
"_UserDel\020\323S\022\037\n\032IID_Server_UserDel_respon"
"d\020\324S\022\030\n\023IID_Server_UserList\020\325S\022 \n\033IID_Se"
"rver_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_resp"
"ond\020\242\234\001\022\025\n\017IID_Device_Base\020\260\352\001\022\031\n\023IID_De"
"vice_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_Device_Xpro_TX_cmd_respond\020\264\352\001"
"\022\034\n\026IID_Device_Xpro_RX_cmd\020\265\352\001\022$\n\036IID_De"
"vice_Xpro_RX_cmd_respond\020\266\352\001\022\022\n\014IID_AGI_"
"Base\020\300\270\002\022\021\n\013IID_AGI_TLE\020\301\270\002\022\031\n\023IID_AGI_T"
"LE_respond\020\302\270\002\022\024\n\016IID_AGI_Report\020\303\270\002\022\034\n\026"
"IID_AGI_Report_respond\020\304\270\002\022\022\n\014IID_OAM_Ba"
"se\020\320\206\003\022\032\n\024IID_OAM_HeartBeat_RX\020\321\206\003\022\024\n\016II"
"D_OAM_LOG_RX\020\323\206\003\022\035\n\027IID_OAM_SysStatus_Re"
"lay\020\325\206\003\022%\n\037IID_OAM_SysStatus_Relay_Respo"
"nd\020\326\206\003\022\037\n\031IID_OAM_Performance_Relay\020\327\206\003\022"
"\'\n!IID_OAM_Performance_Relay_Respond\020\330\206\003"
"\022\037\n\031IID_OAM_Alert_Start_Relay\020\331\206\003\022\'\n!IID"
"_OAM_Alert_Start_Relay_Respond\020\332\206\003\022\035\n\027II"
"D_OAM_Alert_End_Relay\020\333\206\003\022%\n\037IID_OAM_Ale"
"rt_End_Relay_Respond\020\334\206\003\022\027\n\021IID_OAM_LOG_"
"Relay\020\335\206\003\022\037\n\031IID_OAM_LOG_Relay_Respond\020\336"
"\206\003\022\"\n\034IID_OAM_UI_SysStatus_Require\020\337\206\003\022\""
"\n\034IID_OAM_UI_SysStatus_Respond\020\340\206\003\022!\n\033II"
"D_OAM_UI_SysStatus_Update\020\341\206\003\022)\n#IID_OAM"
"_UI_SysStatus_Update_Respond\020\342\206\003\022&\n IID_"
"OAM_UI_CurrentAlarms_Require\020\343\206\003\022&\n IID_"
"OAM_UI_CurrentAlarms_Respond\020\344\206\003\022+\n%IID_"
"OAM_UI_CurrentAlarms_Start_Update\020\345\206\003\0223\n"
"-IID_OAM_UI_CurrentAlarms_Start_Update_R"
"espond\020\346\206\003\022)\n#IID_OAM_UI_CurrentAlarms_E"
"nd_Update\020\347\206\003\0221\n+IID_OAM_UI_CurrentAlarm"
"s_End_Update_Respond\020\350\206\003\022&\n IID_OAM_UI_H"
"istoryAlarms_Require\020\351\206\003\022&\n IID_OAM_UI_H"
"istoryAlarms_Respond\020\352\206\003\022)\n#IID_OAM_UI_A"
"larmAttribution_Require\020\353\206\003\022)\n#IID_OAM_U"
"I_AlarmAttribution_Respond\020\354\206\003\0220\n*IID_OA"
"M_UI_AlarmAttribution_Update_Require\020\355\206\003"
"\0220\n*IID_OAM_UI_AlarmAttribution_Update_R"
"espond\020\356\206\003\022!\n\033IID_OAM_UI_PerInfos_Requir"
"e\020\357\206\003\022!\n\033IID_OAM_UI_PerInfos_Respond\020\360\206\003"
"\022\'\n!IID_OAM_UI_PerAttribution_Require\020\361\206"
"\003\022\'\n!IID_OAM_UI_PerAttribution_Respond\020\362"
"\206\003\022.\n(IID_OAM_UI_PerAttribution_Update_R"
"equire\020\363\206\003\022.\n(IID_OAM_UI_PerAttribution_"
"Update_Respond\020\364\206\003\022\034\n\026IID_OAM_UI_LOG_Req"
"uire\020\365\206\003\022\034\n\026IID_OAM_UI_LOG_Respond\020\366\206\003\022 "
"\n\032IID_OAM_Device_Alert_Start\020\367\206\003\022(\n\"IID_"
"OAM_Device_Alert_Start_Respond\020\370\206\003\022\036\n\030II"
"D_OAM_Device_Alert_End\020\371\206\003\022&\n IID_OAM_De"
"vice_Alert_End_Respond\020\372\206\003\022#\n\035IID_OAM_De"
"vice_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\027BROKERAREA_CLOUD_LEVEL1\020\002*\232\001"
"\n\tSUBSYSTEM\022\022\n\016SUBSYSTEM_base\020\000\022\024\n\020SUBSY"
"STEM_Server\020\001\022\020\n\014SUBSYSTEM_UI\020\002\022\024\n\020SUBSY"
"STEM_Device\020\003\022\021\n\rSUBSYSTEM_AGI\020\004\022\021\n\rSUBS"
"YSTEM_OAM\020\005\022\025\n\021SUBSYSTEM_default\020\006*A\n\nDe"
"vistatus\022\017\n\013Init_status\020\000\022\n\n\006Online\020\001\022\013\n"
"\007Offline\020\002\022\t\n\005Alarm\020\003B\014Z\n../protogob\006pro"
"to3"
;
static const ::_pbi::DescriptorTable* const descriptor_table_tdscmd_2eproto_deps[2] = {
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, 6544, descriptor_table_protodef_tdscmd_2eproto,
"tdscmd.proto",
&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,
static ::_pbi::once_flag descriptor_table_TDSCmd_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_TDSCmd_2eproto = {
false, false, 6643, descriptor_table_protodef_TDSCmd_2eproto,
"TDSCmd.proto",
&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,
};
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_tdscmd_2eproto_getter() {
return &descriptor_table_tdscmd_2eproto;
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_TDSCmd_2eproto_getter() {
return &descriptor_table_TDSCmd_2eproto;
}
// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_tdscmd_2eproto(&descriptor_table_tdscmd_2eproto);
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_TDSCmd_2eproto(&descriptor_table_TDSCmd_2eproto);
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CodeValue_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[0];
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_TDSCmd_2eproto);
return file_level_enum_descriptors_TDSCmd_2eproto[0];
}
bool CodeValue_IsValid(int value) {
switch (value) {
......@@ -341,18 +344,13 @@ bool CodeValue_IsValid(int value) {
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IID_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[1];
::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 105:
case 4000:
case 4001:
case 4002:
case 4003:
case 4004:
case 10000:
case 10001:
case 10101:
......@@ -440,6 +438,8 @@ bool IID_IsValid(int value) {
case 10608:
case 10609:
case 10610:
case 10611:
case 10612:
case 10701:
case 10702:
case 10703:
......@@ -460,6 +460,11 @@ bool IID_IsValid(int value) {
case 30004:
case 30005:
case 30006:
case 40000:
case 40001:
case 40002:
case 40003:
case 40004:
case 50000:
case 50001:
case 50003:
......@@ -509,8 +514,8 @@ bool IID_IsValid(int value) {
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BROKERAREA_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[2];
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_TDSCmd_2eproto);
return file_level_enum_descriptors_TDSCmd_2eproto[2];
}
bool BROKERAREA_IsValid(int value) {
switch (value) {
......@@ -524,8 +529,8 @@ bool BROKERAREA_IsValid(int value) {
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SUBSYSTEM_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[3];
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_TDSCmd_2eproto);
return file_level_enum_descriptors_TDSCmd_2eproto[3];
}
bool SUBSYSTEM_IsValid(int value) {
switch (value) {
......@@ -543,8 +548,8 @@ bool SUBSYSTEM_IsValid(int value) {
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Devistatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tdscmd_2eproto);
return file_level_enum_descriptors_tdscmd_2eproto[4];
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_TDSCmd_2eproto);
return file_level_enum_descriptors_TDSCmd_2eproto[4];
}
bool Devistatus_IsValid(int value) {
switch (value) {
......@@ -798,8 +803,8 @@ void TestParams::InternalSwap(TestParams* other) {
::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]);
&descriptor_table_TDSCmd_2eproto_getter, &descriptor_table_TDSCmd_2eproto_once,
file_level_metadata_TDSCmd_2eproto[0]);
}
// ===================================================================
......@@ -812,8 +817,8 @@ void Heartbeat_DevStatusEntry_DoNotUse::MergeFrom(const Heartbeat_DevStatusEntry
}
::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]);
&descriptor_table_TDSCmd_2eproto_getter, &descriptor_table_TDSCmd_2eproto_once,
file_level_metadata_TDSCmd_2eproto[1]);
}
// ===================================================================
......@@ -1079,8 +1084,8 @@ void Heartbeat::InternalSwap(Heartbeat* other) {
::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]);
&descriptor_table_TDSCmd_2eproto_getter, &descriptor_table_TDSCmd_2eproto_once,
file_level_metadata_TDSCmd_2eproto[2]);
}
// ===================================================================
......@@ -1457,8 +1462,8 @@ void TDSCmd::InternalSwap(TDSCmd* other) {
::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[3]);
&descriptor_table_TDSCmd_2eproto_getter, &descriptor_table_TDSCmd_2eproto_once,
file_level_metadata_TDSCmd_2eproto[3]);
}
// @@protoc_insertion_point(namespace_scope)
......
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tdscmd.proto
// source: TDSCmd.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_tdscmd_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_tdscmd_2eproto
#ifndef GOOGLE_PROTOBUF_INCLUDED_TDSCmd_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_TDSCmd_2eproto
#include <limits>
#include <string>
......@@ -38,7 +38,7 @@
#include <google/protobuf/timestamp.pb.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_tdscmd_2eproto
#define PROTOBUF_INTERNAL_EXPORT_TDSCmd_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
......@@ -46,10 +46,10 @@ class AnyMetadata;
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_tdscmd_2eproto {
struct TableStruct_TDSCmd_2eproto {
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tdscmd_2eproto;
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_TDSCmd_2eproto;
class Heartbeat;
struct HeartbeatDefaultTypeInternal;
extern HeartbeatDefaultTypeInternal _Heartbeat_default_instance_;
......@@ -185,6 +185,8 @@ enum IID : int {
IID_Server_MoreSettingDataSet_respond = 10608,
IID_Server_MoreSettingDataDel = 10609,
IID_Server_MoreSettingDataDel_respond = 10610,
IID_Server_MoreSettingRestoreDefault = 10611,
IID_Server_MoreSettingRestoreDefault_respond = 10612,
IID_Server_Login = 10701,
IID_Server_Login_respond = 10702,
IID_Server_UserCreate = 10703,
......@@ -205,11 +207,11 @@ enum IID : int {
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_AGI_Base = 40000,
IID_AGI_TLE = 40001,
IID_AGI_TLE_respond = 40002,
IID_AGI_Report = 40003,
IID_AGI_Report_respond = 40004,
IID_OAM_Base = 50000,
IID_OAM_HeartBeat_RX = 50001,
IID_OAM_LOG_RX = 50003,
......@@ -519,7 +521,7 @@ class TestParams final :
::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;
friend struct ::TableStruct_TDSCmd_2eproto;
};
// -------------------------------------------------------------------
......@@ -542,7 +544,7 @@ public:
static bool ValidateValue(void*) { return true; }
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
friend struct ::TableStruct_tdscmd_2eproto;
friend struct ::TableStruct_TDSCmd_2eproto;
};
// -------------------------------------------------------------------
......@@ -732,7 +734,7 @@ class Heartbeat final :
::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;
friend struct ::TableStruct_TDSCmd_2eproto;
};
// -------------------------------------------------------------------
......@@ -970,7 +972,7 @@ class TDSCmd final :
uint32_t priority_;
uint32_t request_index_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_tdscmd_2eproto;
friend struct ::TableStruct_TDSCmd_2eproto;
};
// ===================================================================
......@@ -1473,4 +1475,4 @@ PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tdscmd_2eproto
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_TDSCmd_2eproto
......@@ -116,10 +116,9 @@ enum IID
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;
IID_Server_MoreSettingRestoreDefault = 10611;
IID_Server_MoreSettingRestoreDefault_respond = 10612;
// user action
IID_Server_Login = 10701;
IID_Server_Login_respond = 10702;//data
......@@ -146,11 +145,11 @@ enum IID
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;
IID_AGI_Base=40000;
IID_AGI_TLE=40001;
IID_AGI_TLE_respond=40002;
IID_AGI_Report=40003;
IID_AGI_Report_respond=40004;
//====================== OAM =============================
IID_OAM_Base = 50000;
......
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