2016-10-12 16:37:54 +03:00
|
|
|
using System.Runtime.Serialization;
|
2014-10-31 09:05:52 +02:00
|
|
|
using System.Collections;
|
2016-12-27 17:41:11 +02:00
|
|
|
using System.Collections.Generic;
|
2014-10-31 09:05:52 +02:00
|
|
|
|
|
|
|
|
namespace MTApiService
|
|
|
|
|
{
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class MtCommand
|
|
|
|
|
{
|
|
|
|
|
[DataMember]
|
2016-11-23 10:51:50 +02:00
|
|
|
public int CommandType { get; set; }
|
2014-10-31 09:05:52 +02:00
|
|
|
|
|
|
|
|
[DataMember]
|
2016-11-23 10:51:50 +02:00
|
|
|
public ArrayList Parameters { get; set; }
|
|
|
|
|
|
2016-12-27 17:41:11 +02:00
|
|
|
[DataMember]
|
|
|
|
|
public Dictionary<string, object> NamedParams { get; set; }
|
|
|
|
|
|
2016-11-23 10:51:50 +02:00
|
|
|
[DataMember]
|
|
|
|
|
public int ExpertHandle { get; set; }
|
2014-10-31 09:05:52 +02:00
|
|
|
|
2016-10-12 16:37:54 +03:00
|
|
|
public override string ToString()
|
|
|
|
|
{
|
2016-11-28 14:45:33 +02:00
|
|
|
return $"CommandType = {CommandType}; ExpertHandle = {ExpertHandle}";
|
2016-10-12 16:37:54 +03:00
|
|
|
}
|
2014-10-31 09:05:52 +02:00
|
|
|
}
|
|
|
|
|
}
|