Rename Ping to PingCommand

This commit is contained in:
2019-03-23 21:47:26 +01:00
parent 6b7ee73597
commit 1c49b5150a

View File

@@ -4,20 +4,20 @@ using System.Text;
namespace PlantBox.Shared.Communication.Commands namespace PlantBox.Shared.Communication.Commands
{ {
public class Ping : CommandSerializable<Ping> public class PingCommand : CommandSerializable<PingCommand>
{ {
public string Message { get; set; } public string Message { get; set; }
public Ping() public PingCommand()
{ {
} }
public Ping(string message) public PingCommand(string message)
{ {
Message = message; Message = message;
} }
public override Ping Deserialize(string[] arguments) public override PingCommand Deserialize(string[] arguments)
{ {
if (arguments == null) if (arguments == null)
{ {