Testing Storage Paths
This commit is contained in:
@ -122,6 +122,7 @@ public partial class PDSFConfigurationSettings
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlArrayItem("Path", IsNullable = false)]
|
||||
public string[] StoragePaths
|
||||
{
|
||||
get => this.storagePathsField;
|
||||
|
@ -29,7 +29,7 @@ public partial class Background
|
||||
_ = result.Append("<th nowrap>").Append("Configuration Productive State").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("LogisticsEquipmentAlias").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("Source").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("StoragePath").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("StoragePath(s)").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("StartTimeFormat").AppendLine("</th>");
|
||||
_ = result.Append("<th nowrap>").Append("Filename").AppendLine("</th>");
|
||||
_ = result.AppendLine("</tr>");
|
||||
|
@ -88,11 +88,11 @@ public class Common
|
||||
LogisticsEquipmentAlias = configuration.DataCollection.Logistics.EquipmentAlias;
|
||||
//if (LogisticsEquipmentAlias == "R47-PLC")
|
||||
//{ }
|
||||
foreach (PDSFConfigurationDataCollectionLogisticsAttribute item in (from l in configuration.DataCollection.Logistics.Attributes orderby l.Use descending, l.Order select l))
|
||||
foreach (PDSFConfigurationDataCollectionLogisticsAttribute item in from l in configuration.DataCollection.Logistics.Attributes orderby l.Use descending, l.Order select l)
|
||||
LogisticsAttributes.Add(new string[] { item.Use.ToString(), item.Order.ToString("000"), item.Key, item.Placeholder });
|
||||
foreach (PDSFConfigurationDataCollectionLogisticsColumn item in configuration.DataCollection.Logistics.Columns)
|
||||
LogisticsColumns.Add(new string[] { item.ID.ToString(), item.Prefix });
|
||||
foreach (PDSFConfigurationDataCollectionParameter1 item in (from l in configuration.DataCollection.VirtualParameters orderby l.Use descending, l.Order select l))
|
||||
foreach (PDSFConfigurationDataCollectionParameter1 item in from l in configuration.DataCollection.VirtualParameters orderby l.Use descending, l.Order select l)
|
||||
{
|
||||
if (string.IsNullOrEmpty(item.Alias) && !string.IsNullOrEmpty(item.Conditions.ConditionModel.Name))
|
||||
{
|
||||
@ -109,7 +109,7 @@ public class Common
|
||||
Parameters.Add(new string[] { item.Use.ToString(), item.Order.ToString("000"), item.FullName, item.Alias, item.HardWareId, item.Description, string.Empty, true.ToString(), (configuration.DataCollection.Logistics.Columns.Length + 1 + item.Order).ToString("000") });
|
||||
}
|
||||
}
|
||||
foreach (PDSFConfigurationDataCollectionParameter item in (from l in configuration.DataCollection.Parameters orderby l.Use descending, l.Order select l))
|
||||
foreach (PDSFConfigurationDataCollectionParameter item in from l in configuration.DataCollection.Parameters orderby l.Use descending, l.Order select l)
|
||||
{
|
||||
if (string.IsNullOrEmpty(item?.Alias) && !string.IsNullOrEmpty(item?.Conditions?.ConditionModel?.Name))
|
||||
{
|
||||
|
Reference in New Issue
Block a user