init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using DTS.Common.Enums.Hardware;
|
||||
using DTS.Common.Utilities.Xml;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Users.UserSettings
|
||||
{
|
||||
public class OptimizationSettings
|
||||
{
|
||||
public List<Setting> Settings { get; set; }
|
||||
public OptimizationSettings()
|
||||
{
|
||||
}
|
||||
public OptimizationSettings(string xmlOptimizationSettings)
|
||||
{
|
||||
Settings = XmlToObject<OptimizationSettings>.FromXml(xmlOptimizationSettings).Settings;
|
||||
}
|
||||
|
||||
public class Setting
|
||||
{
|
||||
public HardwareTypes HardwareType { get; set; }
|
||||
public List<TransferSpeedSampleRate> TransferSpeedSampleRateSettings { get; set; }
|
||||
}
|
||||
public class TransferSpeedSampleRate
|
||||
{
|
||||
public float MaxTransferSpeed { get; set; }
|
||||
public float MinTransferSpeed { get; set; }
|
||||
public double SampleRate { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Users")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Users")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("7baff2aa-d701-4d98-b20e-872f21431990")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
Reference in New Issue
Block a user