namespace RobotNet10.CustomConfiguration.Events; /// /// Event arguments cho ConfigChanged event /// public class ConfigChangedEventArgs : EventArgs { /// /// ConfigType của config đã thay đổi /// public string ConfigType { get; set; } = string.Empty; /// /// ID của config đã thay đổi /// public Guid ConfigId { get; set; } /// /// Loại thay đổi: Created, Updated, Deleted, VariableAdded, VariableUpdated, VariableRemoved /// public ConfigChangeType ChangeType { get; set; } /// /// Tên variable nếu thay đổi liên quan đến variable (optional) /// public string? VariableName { get; set; } } /// /// Loại thay đổi của config /// public enum ConfigChangeType { /// /// Config được tạo mới /// Created, /// /// Config được cập nhật (metadata hoặc variables) /// Updated, /// /// Config bị xóa /// Deleted, /// /// Variable được thêm vào config /// VariableAdded, /// /// Variable được cập nhật /// VariableUpdated, /// /// Variable bị xóa khỏi config /// VariableRemoved }