Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO
Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO. Added ROUpdateMode enum Changed how text is added to tbErrors textbox Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO Added createEmptyPROMS boolean value to allow creating an empty PROMS database Added loadTree menu item click event handler Added Load Tree menu item, Selection main menu with Fix ROs menu item under Selection menu item and Create Empty database menu item Used createEmptyPROMS value. Changed how Migration Error annotation type created.
This commit is contained in:
@@ -284,6 +284,53 @@ namespace DataLoader
|
||||
set { _RedPDFs = value; }
|
||||
}
|
||||
#endregion
|
||||
#region RO Update
|
||||
private ROUpdateMode _WhatROsToConvert = 0;
|
||||
[Category("RO Update")]
|
||||
[DisplayName("What ROs To Convert")]
|
||||
[Description("Select which ROs should be converted.")]
|
||||
public ROUpdateMode WhatROsToConvert
|
||||
{
|
||||
get { return _WhatROsToConvert; }
|
||||
set { _WhatROsToConvert = value; }
|
||||
}
|
||||
private int _SelectedROFst = -1;
|
||||
[Category("RO Update")]
|
||||
[DisplayName("Selected ROFst")]
|
||||
[Description("Enter which ROFstID is the basis for the original text (-1 = None).")]
|
||||
public int SelectedROFst
|
||||
{
|
||||
get { return _SelectedROFst; }
|
||||
set { _SelectedROFst = value; }
|
||||
}
|
||||
private bool _AnnotateWhenConvertingToText;
|
||||
[Category("RO Update")]
|
||||
[DisplayName("Annotate When Converting To Text")]
|
||||
[Description("Should the step have annotation when the ro data has been converted to text.")]
|
||||
public bool AnnotateWhenConvertingToText
|
||||
{
|
||||
get { return _AnnotateWhenConvertingToText; }
|
||||
set { _AnnotateWhenConvertingToText = value; }
|
||||
}
|
||||
private bool _AnnotateWhenShowingMissingRO;
|
||||
[Category("RO Update")]
|
||||
[DisplayName("Annotate When Showing Missing RO")]
|
||||
[Description("Should the step have annotation when the ro data is missing and is being displayed as a question mark.")]
|
||||
public bool AnnotateWhenShowingMissingRO
|
||||
{
|
||||
get { return _AnnotateWhenShowingMissingRO; }
|
||||
set { _AnnotateWhenShowingMissingRO = value; }
|
||||
}
|
||||
private bool _AnnotateWhenShowingDifferentRO;
|
||||
[Category("RO Update")]
|
||||
[DisplayName("Annotate When Showing Different RO")]
|
||||
[Description("Should the step have annotation when the ro data is different.")]
|
||||
public bool AnnotateWhenShowingDifferentRO
|
||||
{
|
||||
get { return _AnnotateWhenShowingDifferentRO; }
|
||||
set { _AnnotateWhenShowingDifferentRO = value; }
|
||||
}
|
||||
#endregion
|
||||
[Browsable(false)]
|
||||
public string ValidityCheck
|
||||
{
|
||||
@@ -475,6 +522,15 @@ namespace DataLoader
|
||||
[Description("Debug")] Debug = 0,
|
||||
[Description("Production")] Production = 1,
|
||||
}
|
||||
public enum ROUpdateMode : int
|
||||
{
|
||||
[Description("None")]
|
||||
None = 0,
|
||||
[Description("Missing")]
|
||||
Missing = 1,
|
||||
[Description("All")]
|
||||
All = 2,
|
||||
}
|
||||
|
||||
public class EnumDescConverter : System.ComponentModel.EnumConverter
|
||||
{
|
||||
|
Reference in New Issue
Block a user