Files
DP44/Common/DTS.CommonCore/Interface/GroupTemplate/ITestObjectTemplate.cs
2026-04-17 14:55:32 -04:00

76 lines
3.0 KiB
C#

using System;
namespace DTS.Common.Interface.GroupTemplate
{
public interface ITestObjectTemplate
{
/// <summary>
/// name of the test object template, this could be a GUID in the case of embedded test object templates
/// </summary>
string TemplateName { get; set; }
/// <summary>
/// a human readable name for the template, for an embedded template this is the original template name, for
/// a non embedded template, this is the template name (embedded templates have guids for names)
/// </summary>
string TemplateNameOrOriginalTemplateName { get; }
/// <summary>
/// the icon for the template
/// </summary>
string Icon { get; set; }
/// <summary>
/// description for the template
/// </summary>
string Description { get; set; }
/// <summary>
/// whether this template is intended to only be used locally or not
/// </summary>
bool LocalOnly { get; set; }
/// <summary>
/// the version number of this template [not currently used?]
/// </summary>
int Version { get; set; }
/// <summary>
/// last person to modify this template
/// </summary>
string LastModifiedBy { get; set; }
/// <summary>
/// when this template was last modified
/// </summary>
DateTime LastModified { get; set; }
/// <summary>
/// a CRC32 for the template, but not currently used
/// original idea was to allow us to not have to check changes in the template, just quickly calculate whether anything has changed
/// </summary>
int CRC32 { get; set; }
/// <summary>
/// test object (iso meta field) for this template
/// </summary>
string TestObject { get; set; }
/// <summary>
/// test object type (iso meta field) for this template, all channels are of this type ...
/// </summary>
string TestObjectType { get; set; }
/// <summary>
/// unsure if this is still used, was originally used to build up templates from sub templates,
/// so an ATD could be composed of leg, arm, head, etc
/// </summary>
string TemplateParent { get; set; }
/// <summary>
/// unsure, I think this is whether the group is dynamically added or an existing
/// </summary>
bool SysBuilt { get; set; }
/// <summary>
/// the original template name [if we are embedded we got a new name that was a guid, but we store the old name here for readability purposes]
/// </summary>
string OriginalTemplateName { get; set; }
/// <summary>
/// whether this group is embedded in a test setup, or is a user created and living on it's own template
/// </summary>
bool Embedded { get; set; }
bool IsISOMode();
}
}