using CommunityToolkit.Mvvm.ComponentModel;
namespace HC_APTBS.Models
{
///
/// A named, user-saved KWP custom command. Persisted in
/// %UserProfile%\.HC_APTBS\config\custom_commands.xml and managed by the
/// Developer Tools page's saved-commands library.
///
/// stores the raw payload as a space-separated
/// hex string (e.g. "19 02 00 44") — the same format the Developer
/// page's hex parser accepts. Round-trip parsing happens at send time, not
/// here, so the user can edit the string in place.
///
public sealed partial class CustomCommand : ObservableObject
{
/// Display name shown in the saved-commands list.
[ObservableProperty] private string _name = string.Empty;
/// Space-separated hex bytes that form the KWP custom payload.
[ObservableProperty] private string _hexBytes = string.Empty;
}
}