private void CreateDigitsDictionary()
        {
            this.digitsDictionary = new Dictionary <DigitRepresentation, List <string> >();

            foreach (LCDDigit lcdDigit in lcdNumber.GetLCDDigits())
            {
                if (!this.digitsDictionary.ContainsKey(lcdDigit.DigitRepresentation))
                {
                    this.digitsDictionary.Add(lcdDigit.DigitRepresentation, LCDTextListFactory.Create(lcdDigit, this.width, this.height));
                }
            }
        }
示例#2
0
 public static string Create(LCDNumber lcdNumber, int width, int height)
 {
     return(Create(LCDTextListFactory.Create(lcdNumber, width, height)));
 }
示例#3
0
 public static string Create(LCDDigit lcdDigit, int width, int height)
 {
     return(Create(LCDTextListFactory.Create(lcdDigit, width, height)));
 }