init
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class ChannelXMLClass
|
||||
{
|
||||
public ChannelXMLClass()
|
||||
{
|
||||
Settings = new SettingsXMLClass();
|
||||
}
|
||||
public string ISOChannelName { get; set; }
|
||||
public string ISOCode { get; set; }
|
||||
public string UserChannelName { get; set; }
|
||||
public string UserCode { get; set; }
|
||||
public string Disabled { get; set; }
|
||||
|
||||
[XmlElement("Settings")]
|
||||
public SettingsXMLClass Settings { get; set; }
|
||||
public string SensorId { get; set; }
|
||||
public string DASId { get; set; }
|
||||
public string DASChannelIdx { get; set; }
|
||||
public string TestSetupOrder { get; set; }
|
||||
public string GroupOrder { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class SettingsXMLClass
|
||||
{
|
||||
public string FilterClass { get; set; }
|
||||
public string Polarity { get; set; }
|
||||
public string Range { get; set; }
|
||||
public string ZeroMethod { get; set; }
|
||||
public string ZeroMethodStart { get; set; }
|
||||
public string ZeroMethodEnd { get; set; }
|
||||
public string InitialOffset { get; set; }
|
||||
public string UserValue1 { get; set; }
|
||||
public string UserValue2 { get; set; }
|
||||
public string UserValue3 { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class GroupXMLClass
|
||||
{
|
||||
public GroupXMLClass()
|
||||
{
|
||||
HardwareList = new HardwareListXMLClass();
|
||||
Channel = new List<ChannelXMLClass>();
|
||||
}
|
||||
public string Name { get; set; }
|
||||
public string DisplayName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string TestSetupName { get; set; }
|
||||
public string DisplayOrder { get; set; }
|
||||
public string Position { get; set; }
|
||||
public string TestObjectType { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string StaticGroupId { get; set; }
|
||||
|
||||
[XmlElement("HardwareList")]
|
||||
public HardwareListXMLClass HardwareList { get; set; }
|
||||
|
||||
[XmlElement("Channel")]
|
||||
public List<ChannelXMLClass> Channel { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class HardwareXMLClass
|
||||
{
|
||||
public string Hardware { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class HardwareListXMLClass
|
||||
{
|
||||
public HardwareListXMLClass()
|
||||
{
|
||||
Hardware = new List<string>();
|
||||
}
|
||||
|
||||
[XmlElement("Hardware")]
|
||||
|
||||
public List<string> Hardware { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class GroupsXMLClass
|
||||
{
|
||||
[XmlElement("Group")]
|
||||
|
||||
public List<GroupXMLClass> Group { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user