Files
mtapi/MTApiService/MtCommand.cs
T

27 lines
606 B
C#
Raw Normal View History

using System.Runtime.Serialization;
2014-10-31 09:05:52 +02:00
using System.Collections;
namespace MTApiService
{
[DataContract]
public class MtCommand
{
public MtCommand(int commandType, ArrayList parameters)
{
CommandType = commandType;
Parameters = parameters;
}
[DataMember]
public int CommandType { get; private set; }
[DataMember]
public ArrayList Parameters { get; private set; }
public override string ToString()
{
return $"CommandType = {CommandType}";
}
2014-10-31 09:05:52 +02:00
}
}