RoiGfg.ToString() enhanced, displays PreviousRoi
This commit is contained in:
parent
56e006318f
commit
c076ebce6f
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.14.572.0")]
|
||||
[assembly: AssemblyFileVersion("2.14.572.0")]
|
||||
[assembly: AssemblyVersion("2.15.627.0")]
|
||||
[assembly: AssemblyFileVersion("2.15.627.0")]
|
||||
|
||||
@ -54,7 +54,9 @@ namespace TBF.BenchControl.Network.Camera.Roi
|
||||
|
||||
public string ToString(int i)
|
||||
{
|
||||
return string.Format("{0} ({1}) {2}", Name, ParentName, (LoadImages ? " load images" : (SaveImages ? " save images" : "")));
|
||||
return string.Format("{0} ({1}) PreviousRoi={2} {3}", Name, ParentName,
|
||||
string.IsNullOrEmpty(PreviousRoi) ? "---" : PreviousRoi,
|
||||
(LoadImages ? " load images" : (SaveImages ? " save images" : "")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user