refactor(ci): rename DellMonitorControl to MonitorControl
Rename project from DellMonitorControl to MonitorControl to reflect broader monitor compatibility beyond Dell hardware. Update all references in solution file, workflow, and project paths. Add DDC/CI rate limiting and throttling logic to prevent command failures: - Minimum 50ms interval between commands to same monitor - 8-second grace period after system resume before sending commands - 3-second cooldown after timeout to allow monitor recovery - Global semaphore to prevent command collisions Replace old icon with new generic monitor icon (ico and png formats).
This commit is contained in:
24
MonitorControl/Images/icons.xaml
Normal file
24
MonitorControl/Images/icons.xaml
Normal file
@@ -0,0 +1,24 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<Style x:Key="PathFill" TargetType="Path">
|
||||
<Setter Property="Stretch" Value="Uniform"/>
|
||||
<Setter Property="Fill" Value="{DynamicResource F3}"/>
|
||||
</Style>
|
||||
|
||||
<!--Path Minimized-->
|
||||
<Style x:Key="PathMinimized" TargetType="Path" BasedOn="{StaticResource PathFill}">
|
||||
<Setter Property="Data" Value="F1 M512,512z M0,0z M107.38,241.56C108.86,241.12 110.41,241.03 111.95,241 207.98,241 304.01,241 400.05,241 407.85,240.59 415.24,247.15 415.52,255.01 416.16,261.91 411.26,268.64 404.62,270.43 401.48,271.29 398.2,270.94 395,271.01 300.65,270.99 206.3,271.01 111.95,271 104.15,271.4 96.76,264.84 96.48,256.99 95.83,250.08 100.74,243.35 107.38,241.56z"/>
|
||||
</Style>
|
||||
|
||||
<!--Path Frame-->
|
||||
<Style x:Key="PathFrame" TargetType="Path" BasedOn="{StaticResource PathFill}">
|
||||
<Setter Property="Data" Value="F1 M512,512z M0,0z M94.22,0L417.79,0C441.21,0.19 464.38,9.46 481.47,25.48 500.23,42.75 511.5,67.76 512,93.26L512,420.97C510.85,442.12 502.78,462.87 488.82,478.86 471.32,499.41 444.76,511.82 417.76,512L94.27,512C73.21,511.75 52.27,504.36 35.88,491.09 14,473.85 0.5,446.62 0,418.76L0,93.25C0.49,68.71 10.9,44.57 28.49,27.46 45.77,10.27 69.85,0.21 94.22,0 M85.61,30.72C68.33,33.24 52.3,43.14 42.24,57.39 34.1,68.48 29.86,82.28 30,96 30,202.67 30,309.34 30,416.01 29.89,427.61 32.9,439.23 38.74,449.26 48.08,465.41 64.52,477.36 82.9,480.79 90.5,482.38 98.29,481.94 105.99,482 209.31,482 312.63,482 415.95,482 422.69,482.03 429.44,481.08 435.89,479.11 457.54,472.56 475.05,454 480.17,431.95 482.47,423.13 481.96,413.95 482,404.92 481.99,301.59 482.02,198.26 481.99,94.93 481.99,76.98 474.07,59.28 460.78,47.24 449.05,36.27 433.08,30.04 417.03,30.01 310.01,29.99 202.99,30.01 95.97,30 92.5,30 89.03,30.22 85.61,30.72z"/>
|
||||
</Style>
|
||||
|
||||
<!--Path Cancel-->
|
||||
<Style x:Key="PathCancel" TargetType="Path" BasedOn="{StaticResource PathFill}">
|
||||
<Setter Property="Data" Value="F1 M512,512z M0,0z M54.26,54.35C61.42,47.02 73.03,44.46 82.6,48.18 87.07,49.61 90.87,52.58 94.06,55.96 148.04,109.95 202.04,163.92 256,217.93 310.65,163.25 365.32,108.6 419.98,53.94 427.23,47.02 438.47,44.53 447.88,48.13 461.06,52.46 469.23,68.21 464.66,81.42 463.27,86.72 459.86,91.21 455.92,94.91 414.26,136.58 372.59,178.24 330.93,219.92 318.68,231.96 306.81,244.43 294.33,256.22 347.56,309.47 400.81,362.7 454.05,415.95 457.08,419.02 460.43,421.95 462.46,425.83 465.45,431.73 467.03,438.67 465.14,445.17 463.2,453.74 456.84,461.18 448.63,464.31 442.05,466.87 434.34,466.81 427.88,463.9 421.38,461.28 416.98,455.6 412.07,450.88 360.24,399.05 308.37,347.23 256.58,295.37 255.19,294.59 254.35,296.7 253.42,297.41 201.92,348.91 150.42,400.42 98.92,451.92 94.31,456.42 90.02,461.67 83.83,464.05 74.13,468.23 61.94,466.09 54.47,458.53 49.1,453.57 46.23,446.25 46.02,439.02 46.26,432.03 48.92,424.97 53.92,419.99 108.51,365.39 163.14,310.84 217.68,256.2 202.85,242.07 188.64,227.26 174.05,212.87 134.04,172.88 94.06,132.85 54.04,92.87 48.91,87.63 46.02,80.34 46.03,73.02 46.43,66.1 49.16,59.16 54.26,54.35z"/>
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user