123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Shaker.Models
- {
- public class Topic
- {
- /// <summary>
- /// The port number of the discovery server.
- /// </summary>
- public const int DISCOVERYPORT = 16666;
- /// <summary>
- /// 同步配置命令
- /// </summary>
- public const string SYNCCONFIG = "SyncConfig";
- public const string START = "Start";
- public const string STOP = "Stop";
- public const string EXIT = "Exit";
- public const string VAVLECONTROL = "VavleControl";
- public const string RISETABLE = "RiseTable";
- public const string DROPTABLE = "DropTable";
- public const string ZEROCHANGE = "ZeroChange";
- public const string STOPSIGNALGEN = "StopSignalGen";
- public const string DATA = "Data";
- public const string VALVEPOWER = "ValvePower";
- public const string RESETERROR = "ResetError";
- public const string STARTSIGNALGEN = "StartSignalGen";
- public const string OILMAINPUMP = "OilSourceMainPump";
- public const string OILMAINPRESSURE = "OilSourceMainPressure";
- public const string OILFORERUNNERPUMP = "OilSourceForerunnerPump";
- public const string OILFORERUNNERPRESSURE = "OilSourceForerunnerPressure";
- public const string OILSOURCEENABLED = "OilSourceEnabled";
- public const string OILLOADPRESSOURCE = "OilSourceLoadPressure";
- public const string OILEMERGENCYSTOP = "OilSourceEmergencyStop";
- public const string STARTRANDOMTEST = "StartRandomTest";
- public const string DisConnect = "DisConnect";
- /// <summary>
- /// 连接后的初始消息
- /// </summary>
- public const string SERVICERESULT = "ServiceResult";
- }
- }
|