Radio address format "D9" defined on one place: SharedDatabase.Const.RAFormat

This commit is contained in:
Milan Hanajik
2022-01-15 13:01:50 +01:00
parent 917051f072
commit 7facefb305
6 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace OrderManagement
producedPcsCountTextBox.Text = order.CurrentPcsCount.ToString();
currentSnTextBox.Text = (order.SNPrefix != null ? order.SNPrefix : string.Empty) + order.CurrentSN.ToString(string.Format("D{0}", order.SNDigitsCount))
+ (order.SNSuffix != null ? order.SNSuffix : string.Empty);
currentRATextBox.Text = (order.RAPrefix != null ? order.RAPrefix : string.Empty) + order.CurrentRA.ToString("D9")
currentRATextBox.Text = (order.RAPrefix != null ? order.RAPrefix : string.Empty) + order.CurrentRA.ToString(SharedDatabase.Const.RAFormat)
+ (order.RASuffix != null ? order.RASuffix : string.Empty);
}