添加项目文件。
This commit is contained in:
33
OrpaonEMS.App/CANDrive/BinaryValue.cs
Normal file
33
OrpaonEMS.App/CANDrive/BinaryValue.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.App.CANDrive
|
||||
{
|
||||
public class BinaryValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 实例化函数
|
||||
/// </summary>
|
||||
/// <param name="index"></param>
|
||||
/// <param name="value"></param>
|
||||
public BinaryValue(ushort index, bool value)
|
||||
{
|
||||
Index = index;
|
||||
Value = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public ushort Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 二进制数据
|
||||
/// </summary>
|
||||
public bool Value { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user