1.1 --- a/Server/Display.cs Sun Feb 08 18:56:43 2015 +0100
1.2 +++ b/Server/Display.cs Sun Feb 08 20:26:36 2015 +0100
1.3 @@ -231,6 +231,46 @@
1.4
1.5 }
1.6
1.7 + /// <summary>
1.8 + ///
1.9 + /// </summary>
1.10 + /// <param name="aIcon"></param>
1.11 + /// <param name="aStatus"></param>
1.12 + public void SetIconStatus(TMiniDisplayIconType aIcon, int aStatus)
1.13 + {
1.14 + int iconCount = IconCount(aIcon);
1.15 + for (int i = 0; i < iconCount; i++)
1.16 + {
1.17 + SetIconStatus(aIcon, i, aStatus);
1.18 + }
1.19 + }
1.20 +
1.21 + /// <summary>
1.22 + ///
1.23 + /// </summary>
1.24 + /// <param name="aIcon"></param>
1.25 + public void SetIconOn(TMiniDisplayIconType aIcon)
1.26 + {
1.27 + int iconCount = IconCount(aIcon);
1.28 + for (int i = 0; i < iconCount; i++)
1.29 + {
1.30 + SetIconStatus(aIcon, i, IconStatusCount(aIcon) - 1);
1.31 + }
1.32 + }
1.33 +
1.34 + /// <summary>
1.35 + ///
1.36 + /// </summary>
1.37 + /// <param name="aIcon"></param>
1.38 + public void SetIconOff(TMiniDisplayIconType aIcon)
1.39 + {
1.40 + int iconCount = IconCount(aIcon);
1.41 + for (int i = 0; i < iconCount; i++)
1.42 + {
1.43 + SetIconStatus(aIcon, i, 0);
1.44 + }
1.45 + }
1.46 +
1.47
1.48
1.49 public string Vendor()