namespace MasstransferCommon.Model.Constant;
///
/// 这里保存所有的 Mqtt Topic
/// topic 的基本结构构成
/// up/{sn}/{cmd}/{version}
///
///
public static class Topics
{
// ReSharper disable once InconsistentNaming
private const string SN = "5506771257";
private const string Version = "1.0.0";
///
/// 上报生产数据
///
public const string ReportProductRecord = $"up/{SN}/100/{Version}";
///
/// 图片上传
///
public const string ImageUpload = $"up/{SN}/102/{Version}";
///
/// 查询图片
///
public const string QueryImage = $"down/{SN}/103/{Version}";
///
/// 坐标文件上传
///
public const string CoordinateUpload = $"up/{SN}/104/{Version}";
///
/// 查询坐标文件
///
public const string QueryCoordinate = $"down/{SN}/105/{Version}";
///
/// 上报用户操作数据
///
public const string ReportOperationLog = $"up/{SN}/200/{Version}";
///
/// 上传系统日志文件
///
public const string UploadLogFile = $"up/{SN}/201/{Version}";
///
/// 查询系统日志文件
///
public const string QueryLogFile = $"down/{SN}/202/{Version}";
///
/// 上报故障信息
///
public const string ReportFaultRecord = $"up/{SN}/203/{Version}";
///
/// 上报配置数据
///
public const string ReportConfigData = $"up/{SN}/400/{Version}";
///
/// 下发配置数据
///
public const string DownloadConfigData = $"down/{SN}/401/{Version}";
///
/// 下发远程控制指令
///
public const string RemoteControl = $"down/{SN}/402/{Version}";
///
/// 下发OTA包
///
// ReSharper disable once InconsistentNaming
public const string IssuedOTAPackage = $"down/{SN}/500/{Version}";
///
/// 查询OTA信息
///
// ReSharper disable once InconsistentNaming
public const string QueryOTA = $"up/{SN}/501/{Version}";
///
/// OTA 更新反馈
///
// ReSharper disable once InconsistentNaming
public const string OTAUpgradeFeedback = $"up/{SN}/502/{Version}";
///
/// 更新证书事件
///
public const string UpdateLicenseEvent = $"up/{SN}/503/{Version}";
///
/// 更新证书事件反馈
///
public const string UpdateLicenseEventFeedback = $"up/{SN}/505/{Version}";
///
/// 上行心跳信息
///
public const string HeartBeat = $"up/{SN}/600/{Version}";
///
/// 上行系统状态信息
///
public const string ReportSystemStat = $"up/{SN}/601/{Version}";
}