KFDtool/sw/control/KFDtool.P25/Kmm/InventoryCommandListMnp.cs

55 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KFDtool.P25.Kmm
{
public class InventoryCommandListMnp : KmmBody
{
public override MessageId MessageId
{
get
{
return MessageId.InventoryCommand;
}
}
public InventoryType InventoryType
{
get
{
return InventoryType.ListMnp;
}
}
public override ResponseKind ResponseKind
{
get
{
return ResponseKind.Immediate;
}
}
public InventoryCommandListMnp()
{
}
public override byte[] ToBytes()
{
byte[] contents = new byte[1];
/* inventory type */
contents[0] = (byte)InventoryType;
return contents;
}
public override void Parse(byte[] contents)
{
throw new NotImplementedException();
}
}
}