44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
///
|
|
/// Copyright (c) 2026 Sensus Slovensko a.s.
|
|
///
|
|
|
|
namespace TBF.Rig.Output.DB.ResultsWriter
|
|
{
|
|
/// <summary>
|
|
/// Serializable representation of one configured Results item.
|
|
/// Source identifies the original TBF variable, Caption represents
|
|
/// the destination database column name.
|
|
/// </summary>
|
|
public class ResultsWriterItemCfg
|
|
{
|
|
/// <summary>
|
|
/// Original Results expression (for rebuilding the model).
|
|
/// Example: "Conduct.ME()"
|
|
/// </summary>
|
|
public string Source;
|
|
|
|
/// <summary>
|
|
/// Destination database column name.
|
|
/// </summary>
|
|
public string Caption;
|
|
|
|
public string Units;
|
|
public string Format;
|
|
|
|
public int Precision;
|
|
public int Width;
|
|
|
|
public string Alignment;
|
|
public bool Merge;
|
|
|
|
public ResultsWriterItemCfg()
|
|
{
|
|
Source = string.Empty;
|
|
Caption = string.Empty;
|
|
Units = string.Empty;
|
|
Format = string.Empty;
|
|
Alignment = string.Empty;
|
|
Merge = false;
|
|
}
|
|
}
|
|
} |