Change FIMV_PMU avgTimes & fix a bug
This commit is contained in:
@@ -141,8 +141,8 @@ namespace Testrong.User.Program
|
||||
};
|
||||
readonly Dictionary<string, TestParaSet> avgDelays_2kft_fimv_pmu = new Dictionary<string, TestParaSet>()
|
||||
{
|
||||
{"5uA", new TestParaSet{delayMs = 60, avgTimes = 128, samDelay = 100 } },
|
||||
{"20uA", new TestParaSet{delayMs = 20, avgTimes = 64, samDelay = 100 } },
|
||||
{"5uA", new TestParaSet{delayMs = 60, avgTimes = 255, samDelay = 100 } },
|
||||
{"20uA", new TestParaSet{delayMs = 20, avgTimes = 255, samDelay = 100 } },
|
||||
{"200uA", new TestParaSet{delayMs = 15, avgTimes = 64, samDelay = 100 } },
|
||||
{"2mA", new TestParaSet{delayMs = 15, avgTimes = 64, samDelay = 100 } },
|
||||
{"60mA", new TestParaSet{delayMs = 30, avgTimes = 128, samDelay = 100 } },
|
||||
@@ -2813,7 +2813,7 @@ namespace Testrong.User.Program
|
||||
double[] readTemp = DPS.ReadTemperature();
|
||||
int TempIndex = GetDPSTempSensorIndex(ch);
|
||||
double chTemp;
|
||||
if (TempIndex > readTemp.Length + 1)
|
||||
if (TempIndex > readTemp.Length - 1 )
|
||||
{
|
||||
chTemp = -65535;
|
||||
}
|
||||
@@ -2852,7 +2852,7 @@ namespace Testrong.User.Program
|
||||
double[] readTemp = DPS.ReadTemperature();
|
||||
int TempIndex = GetDPSTempSensorIndex(ch);
|
||||
double chTemp;
|
||||
if (TempIndex > readTemp.Length + 1)
|
||||
if (TempIndex > readTemp.Length - 1 )
|
||||
{
|
||||
chTemp = -65535;
|
||||
}
|
||||
@@ -2900,7 +2900,7 @@ namespace Testrong.User.Program
|
||||
double[] readTemp = DPS.ReadTemperature();
|
||||
int TempIndex = GetDPSTempSensorIndex(ch);
|
||||
double chTemp;
|
||||
if (TempIndex > readTemp.Length + 1)
|
||||
if (TempIndex > readTemp.Length - 1 )
|
||||
{
|
||||
chTemp = -65535;
|
||||
}
|
||||
@@ -2966,7 +2966,7 @@ namespace Testrong.User.Program
|
||||
double[] readTemp = DPS.ReadTemperature();
|
||||
int TempIndex = GetDPSTempSensorIndex(ch);
|
||||
double chTemp;
|
||||
if (TempIndex > readTemp.Length + 1)
|
||||
if (TempIndex > readTemp.Length - 1 )
|
||||
{
|
||||
chTemp = -65535;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user