- Add VCP commands for brightness (10), contrast (12), input source (60) - Fix UTF-16 encoding for monitor data parsing - Add system tray app with monitor controls - Add localization for en, es, fr, de, zh, ja, pt, it, hi - Update to .NET 9.0 - Add LICENSE and README 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.3 KiB
C#
55 lines
1.3 KiB
C#
using CMM.Library.Base;
|
|
|
|
namespace CMM.Library.ViewModel
|
|
{
|
|
public record InputSourceOption(int Value, string Name)
|
|
{
|
|
public override string ToString() => Name;
|
|
}
|
|
|
|
public class XMonitorStatus : PropertyBase
|
|
{
|
|
public string VCP_Code
|
|
{
|
|
get => _VCP_Code;
|
|
set { SetProperty(ref _VCP_Code, value); }
|
|
}
|
|
string _VCP_Code;
|
|
|
|
public string VCPCodeName
|
|
{
|
|
get => _VCPCodeName;
|
|
set { SetProperty(ref _VCPCodeName, value); }
|
|
}
|
|
string _VCPCodeName;
|
|
|
|
public string Read_Write
|
|
{
|
|
get => _Read_Write;
|
|
set { SetProperty(ref _Read_Write, value); }
|
|
}
|
|
string _Read_Write;
|
|
|
|
public int? CurrentValue
|
|
{
|
|
get => _CurrentValue;
|
|
set { SetProperty(ref _CurrentValue, value); }
|
|
}
|
|
int? _CurrentValue;
|
|
|
|
public int? MaximumValue
|
|
{
|
|
get => _MaximumValue;
|
|
set { SetProperty(ref _MaximumValue, value); }
|
|
}
|
|
int? _MaximumValue;
|
|
|
|
public IEnumerable<int> PossibleValues
|
|
{
|
|
get => _PossibleValues;
|
|
set { SetProperty(ref _PossibleValues, value); }
|
|
}
|
|
IEnumerable<int> _PossibleValues;
|
|
}
|
|
}
|