37 lines
786 B
C#
37 lines
786 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Syc.Basic.Web.WMS.WebSocket
|
|||
|
{
|
|||
|
public class DeviceMessage
|
|||
|
{
|
|||
|
public DeviceMessage()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
public DeviceMessage(int id,string type,object value)
|
|||
|
{
|
|||
|
Id = id;
|
|||
|
Type = type;
|
|||
|
Value = value;
|
|||
|
}
|
|||
|
/// <summary>
|
|||
|
/// 设备id
|
|||
|
/// </summary>
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 设备类型,Scanner : 扫码枪 Balance : 电子秤
|
|||
|
/// </summary>
|
|||
|
public string Type { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 值
|
|||
|
/// </summary>
|
|||
|
public object Value { get; set; }
|
|||
|
}
|
|||
|
}
|