German only text when a camera was not detected on startup.
This commit is contained in:
parent
0370d1f582
commit
08b47776ec
@ -12,6 +12,7 @@ using System.Timers;
|
||||
using log4net;
|
||||
using Config.Entities;
|
||||
using TBF.BenchControl.Network.Telnet;
|
||||
using TBF.Resources;
|
||||
using WinSCP;
|
||||
|
||||
namespace TBF.BenchControl.Network.Camera.CLP1611
|
||||
@ -143,14 +144,13 @@ namespace TBF.BenchControl.Network.Camera.CLP1611
|
||||
out hardware, out revision, out serial, out sdCardVer);
|
||||
|
||||
|
||||
|
||||
if (CameraCfg.DebugLevel == DebugMode.AutoDetect)
|
||||
{
|
||||
CameraCfg.DebugLevel = cameraDetected ? DebugMode.DetectedOn : DebugMode.DetectedOff;
|
||||
}
|
||||
else if (!cameraDetected)
|
||||
{
|
||||
throw new Exception(string.Format("'{0}' with address {1} not detected", Name, CameraCfg.HardwareAddress));
|
||||
throw new Exception(string.Format("{0}={1}", Strings.Address, CameraCfg.HardwareAddress));
|
||||
}
|
||||
|
||||
if (cameraDetected)
|
||||
|
||||
4
TestBenchFramework/Resources/Strings.Designer.cs
generated
4
TestBenchFramework/Resources/Strings.Designer.cs
generated
@ -1420,7 +1420,7 @@ namespace TBF.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to initialize component {0}{1}{2}.
|
||||
/// Looks up a localized string similar to Failed to initialize component '{0}':{1}{2}.
|
||||
/// </summary>
|
||||
internal static string Failed_to_initialize_component_0_1_2 {
|
||||
get {
|
||||
@ -1429,7 +1429,7 @@ namespace TBF.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to initialize device {0}{1}{2}.
|
||||
/// Looks up a localized string similar to Failed to initialize device '{0}':{1}{2}.
|
||||
/// </summary>
|
||||
internal static string Failed_to_initialize_device_0_1_2 {
|
||||
get {
|
||||
|
||||
@ -1369,10 +1369,10 @@
|
||||
<value>Wollen sie die Änderungen speichern?</value>
|
||||
</data>
|
||||
<data name="Failed_to_initialize_component_0_1_2" xml:space="preserve">
|
||||
<value>Fehler beim Komponentestart {0}{1}{2}</value>
|
||||
<value>Fehler beim Komponentestart '{0}':{1}{2}</value>
|
||||
</data>
|
||||
<data name="Failed_to_initialize_device_0_1_2" xml:space="preserve">
|
||||
<value>Fehler beim Gerätstart {0}{1}{2}</value>
|
||||
<value>Fehler beim Gerätstart '{0}':{1}{2}</value>
|
||||
</data>
|
||||
<data name="Do_you_want_to_retry_RoI_detection" xml:space="preserve">
|
||||
<value>Möchten Sie die Erkennung erneut versuchen?</value>
|
||||
|
||||
@ -1625,10 +1625,10 @@
|
||||
<value>User code</value>
|
||||
</data>
|
||||
<data name="Failed_to_initialize_device_0_1_2" xml:space="preserve">
|
||||
<value>Failed to initialize device {0}{1}{2}</value>
|
||||
<value>Failed to initialize device '{0}':{1}{2}</value>
|
||||
</data>
|
||||
<data name="Failed_to_initialize_component_0_1_2" xml:space="preserve">
|
||||
<value>Failed to initialize component {0}{1}{2}</value>
|
||||
<value>Failed to initialize component '{0}':{1}{2}</value>
|
||||
</data>
|
||||
<data name="Do_you_want_to_retry_RoI_detection" xml:space="preserve">
|
||||
<value>Do you want to retry RoI detection?</value>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user