| New file | 
 |  |  | 
 |  |  | package com.dy.common.mw.protocol; | 
 |  |  |  | 
 |  |  | public class CommandType { | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 针对监控中间件的内部命令 | 
 |  |  |     * 可实现同步,命令结果通过命令的发送网络通道返回 | 
 |  |  |     */ | 
 |  |  |    public static final String innerCommand = "innerCommand" ; | 
 |  |  | 	 | 
 |  |  |    /** | 
 |  |  |     * 针对Rtu外部命令 | 
 |  |  |     * 只能是异步,命令结果通过相关的信息发布通道发布出去 | 
 |  |  |     */ | 
 |  |  |    public static final String outerCommand = "outerCommand" ; | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 针对Rtu外部透传命令 | 
 |  |  |     * 只能是异步,命令结果通过相关的信息发布通道发布出去 | 
 |  |  |     */ | 
 |  |  |    public static final String outerTransCommand = "outerTransCommand" ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 针对Mqtt外部命令 | 
 |  |  |     * 只能是异步,命令结果通过相关的信息发布通道发布出去 | 
 |  |  |     */ | 
 |  |  |    public static final String mqttCommand = "mqttCommand" ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 本命令是一个别的命令的结果(结果以命令的方式表示) | 
 |  |  |     */ | 
 |  |  |    public static final String resultCommand = "resultCommand" ; | 
 |  |  | 	 | 
 |  |  | } |