This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using DTS.Common.Base;
using DTS.Common.Interface.Tags;
using System.Data;
namespace DTS.Common.Classes.Tags
{
public class TagAssignment : BasePropertyChanged, ITagAssignment
{
private int _objectId;
public int ObjectID
{
get => _objectId;
set => SetProperty(ref _objectId, value, "ObjectID");
}
private int _tagId;
public int TagID
{
get => _tagId;
set => SetProperty(ref _tagId, value, "TagID");
}
private TagTypes _tagType;
public TagTypes ObjectType
{
get => _tagType;
set => SetProperty(ref _tagType, value, "TagType");
}
public TagAssignment() { }
public TagAssignment(IDataReader reader)
{
TagID = Utility.GetInt(reader, "TagID");
ObjectID = Utility.GetInt(reader, "ObjectID");
ObjectType = (TagTypes)Utility.GetShort(reader, "ObjectType");
}
}
}