MainWnd and DataEntry.S620 changes
This commit is contained in:
@@ -22,6 +22,7 @@ namespace TBF.Rig.DataEntry.S620
|
||||
public int MaxWMsCount;
|
||||
public char CloseButton;
|
||||
public bool ProductionTracing;
|
||||
public bool OrdersFromProdTracing;
|
||||
|
||||
/// Private parameterless constructor invoked by all other (public) constructors
|
||||
EntryFormCfg() { }
|
||||
@@ -35,15 +36,17 @@ namespace TBF.Rig.DataEntry.S620
|
||||
MaxWMsCount = 20;
|
||||
CloseButton = '+';
|
||||
ProductionTracing = true;
|
||||
OrdersFromProdTracing = false;
|
||||
}
|
||||
|
||||
public string ToString(int i)
|
||||
{
|
||||
return string.Format("Name={0}, MaxWMsCount={1}, CloseButton={2}, ProductionTracing={3}, Parent={4}",
|
||||
return string.Format("Name={0}, MaxWMsCount={1}, CloseButton={2}, ProdTracing={3}, OrdersFromProdTr={4}, Parent={5}",
|
||||
Name,
|
||||
MaxWMsCount,
|
||||
(CloseButton == '+') ? "+" : (CloseButton == '\t') ? "Tab" : "none",
|
||||
ProductionTracing,
|
||||
OrdersFromProdTracing,
|
||||
string.IsNullOrEmpty(ParentName) ? "-" : ParentName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user