Files
2026-04-17 14:55:32 -04:00

57 lines
1.4 KiB
C#

namespace DTS.Serialization.TDM
{
public class File : Serialization.File, IWritable<Test>
{
public File()
: base("TDM CFC1000")
{
}
/*/// <summary>
/// Get this file format's extension.
/// </summary>
static public string Extension
{
get { return ".tlf"; }
}*/
/// <summary>
/// Get the file writer for this file type.
/// </summary>
public IWriter<Test> Exporter
{
get
{
try
{
if (_Exporter == null)
_Exporter = new Writer(this, DefaultEncoding);
(_Exporter as Writer).Start = Start;
(_Exporter as Writer).Stop = Stop;
return _Exporter;
}
catch (System.Exception ex)
{
throw new Exception("encountered problem getting exporter", ex);
}
}
}
private IWriter<Test> _Exporter = null;
private double _start = 0D;
public double Start
{
get => _start;
set => _start = value;
}
private double _stop = 0D;
public double Stop
{
get => _stop;
set => _stop = value;
}
}
}