Quido RS 4-4 support added, ver. 2.18.1160.

This commit is contained in:
Milan Hanajik
2019-03-06 10:45:58 +01:00
parent 75e5b75d4d
commit 2e76d595c0
3 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -147,7 +147,11 @@ namespace TBF.BenchControl.Modbus.QuidoRS
{
modbus.SendMessage(new byte[] { addr, cmd, 0, 0, 0, 16, 2, dataLo, dataHi, 0, 0 });
}
else if (quidoRSCfg.Variant == QuidoVariant.QuidoRS_8_8)
else if (quidoRSCfg.Variant == QuidoVariant.QuidoRS_4_4)
{
modbus.SendMessage(new byte[] { addr, cmd, 0, 0, 0, 4, 1, dataLo, 0, 0 });
}
else if (quidoRSCfg.Variant == QuidoVariant.QuidoRS_8_8)
{
modbus.SendMessage(new byte[] { addr, cmd, 0, 0, 0, 8, 1, dataLo, 0, 0 });
}
@@ -12,6 +12,7 @@ namespace TBF.BenchControl.Modbus.QuidoRS
public enum QuidoVariant
{
QuidoRS_2_16,
QuidoRS_4_4,
QuidoRS_8_8,
Count
}
+2 -2
View File
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.18.1159.0")]
[assembly: AssemblyFileVersion("2.18.1159.0")]
[assembly: AssemblyVersion("2.18.1160.0")]
[assembly: AssemblyFileVersion("2.18.1160.0")]