You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/IoT.Shared/Application/Models/SPCommandModel.cs

26 lines
623 B

namespace Application.Models
{
public class SPCommandModel
{
public string Name { get; set; }
public string PortName { get; set; }
public int BaudRate { get; set; }
/// <summary>
/// None=0,Odd=1,Even=2,Mark=3,Space=4
/// </summary>
public int Parity { get; set; }
public int DataBits { get; set; }
/// <summary>
/// None=0,One=1,Two=2,OnePointFive=3
/// </summary>
public int StopBits { get; set; }
/// <summary>
/// hex
/// </summary>
public string Message { get; set; }
}
}