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.
40 lines
1.2 KiB
40 lines
1.2 KiB
namespace CommonClass
|
|
{
|
|
/// <summary>
|
|
/// 公共通用类库参数
|
|
/// </summary>
|
|
public class PubCommonClass
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Dictionary<uint, ushort> cmd3StartAddress = new Dictionary<uint, ushort>();
|
|
|
|
|
|
public void SetCmd3StartAddress()
|
|
{
|
|
cmd3StartAddress.Add(1, 32);
|
|
cmd3StartAddress.Add(2, 8);
|
|
cmd3StartAddress.Add(3, 8);
|
|
cmd3StartAddress.Add(4, 8);
|
|
cmd3StartAddress.Add(5, 6);
|
|
cmd3StartAddress.Add(6, 16);
|
|
cmd3StartAddress.Add(7, 256);
|
|
cmd3StartAddress.Add(8, 16);
|
|
cmd3StartAddress.Add(9, 16);
|
|
cmd3StartAddress.Add(10, 256);
|
|
cmd3StartAddress.Add(11, 128);
|
|
cmd3StartAddress.Add(12, 12);
|
|
cmd3StartAddress.Add(13, 64);
|
|
cmd3StartAddress.Add(14, 8);
|
|
cmd3StartAddress.Add(15, 256);
|
|
cmd3StartAddress.Add(16, 256);
|
|
cmd3StartAddress.Add(17, 256);
|
|
cmd3StartAddress.Add(18, 256);
|
|
cmd3StartAddress.Add(19, 256);
|
|
cmd3StartAddress.Add(20, 256);
|
|
}
|
|
|
|
|
|
}
|
|
} |