|
@@ -94,6 +94,12 @@ namespace CyberX8_RT.Modules.Metal
|
|
|
/// <returns></returns>
|
|
|
private bool CheckCurrent(double current)
|
|
|
{
|
|
|
+ bool isSimulator = SC.GetValue<bool>("System.IsSimulatorMode");
|
|
|
+ if (isSimulator)
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ LOG.WriteLog(eEvent.INFO_METAL, Module, $"current is {current}");
|
|
|
return current < _shortTestThreshold;
|
|
|
}
|
|
|
/// <summary>
|