MagFlux: - main branch for modbus_master_csharp commit 25968be1
This commit is contained in:
@@ -25,16 +25,16 @@ namespace modbus_master_csharp
|
||||
internal class Program
|
||||
{
|
||||
/*For testing directly to metrology */
|
||||
static string[] argsDefault1 = new string[] { "TEST", "COM41", "115200", "N" };
|
||||
static string[] argsDefault1 = new string[] { "TEST", "COM200", "115200", "N" };
|
||||
/*For metrology RS485 when transparent to metrology*/
|
||||
static string[] argsDefault2 = new string[] { "SAVE_CAL", "COM38" };
|
||||
|
||||
static string[] argsDefault2b = new string[] { "SAVE_CAL", "COM41", "115200", "N" };
|
||||
static string[] argsDefault2b = new string[] { "SAVE_CAL", "COM200", "115200", "N" };
|
||||
|
||||
static string[] argsDefault2c = new string[] { "SAVE_CAL", "COM41", "COM42", "115200", "N" };
|
||||
static string[] argsDefault2c = new string[] { "SAVE_CAL", "COM200", "COM200", "115200", "N" };
|
||||
|
||||
// Having more ports
|
||||
static string[] argsDefault3 = new string[] { "TEST", "COM38", "COM41" };
|
||||
static string[] argsDefault3 = new string[] { "TEST", "COM38", "COM200" };
|
||||
|
||||
/*For metrology RS485 when transparent to metrology*/
|
||||
static string[] argsDefault4 = new string[] { "LOAD_CAL=\"0_sensor_cal_for_testing.xml\"", "COM38" };
|
||||
@@ -43,10 +43,10 @@ namespace modbus_master_csharp
|
||||
static string[] argsDefault5 = new string[] { "SET_DN_SN=25,999999", "COM38" };
|
||||
|
||||
/*For metrology RS485 when transparent to metrology*/
|
||||
static string[] argsDebugLiveRun = new string[] { "TEST", "COM41" };
|
||||
static string[] argsDebugLiveRun = new string[] { "TEST", "COM200" };
|
||||
|
||||
/*For metrology RS485 when transparent to metrology*/
|
||||
static string[] args_ExAbortCal = new string[] { "ABORT_CAL", "COM41" };
|
||||
static string[] args_ExAbortCal = new string[] { "ABORT_CAL", "COM200" };
|
||||
|
||||
#if (DEBUG)
|
||||
static bool LIVE_RUN = true; // Default = "true" to run with DUT communication or "false" to run without any DUT for communication and mock values
|
||||
|
||||
Reference in New Issue
Block a user