Weiter gehts

This commit is contained in:
BlubbFish 2013-07-13 21:54:45 +00:00
parent a9e76fb3d6
commit e20fc07053
2 changed files with 16 additions and 6 deletions

View File

@ -249,7 +249,7 @@ namespace Matomat
"²²²²²²²²²²²²²²²²²²²²²²²²²²²²" + p[0] +
"² MATOMAT Wilkommen! ²" + p[1] +
"² Frohes genießen der Mate ²" + p[2]);
Factory.getLCD().print(µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ");
Factory.getLCD().print(_¶·-¸¹ºµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ");
}
public static void showUserInfo(User user)
@ -303,7 +303,14 @@ namespace Matomat
public static void InsShowStats(User user, bool lastMonth = true)
{
throw new NotImplementedException();
/** Alle Daten aus der DB Holen die aus dem zeitraum für den user da sind zu Produkt X
* Lege liste mit 40 plätzen an
* Teile Zeit auf die 40 Plätze auf, älteste bewegung = t0, neueste bewegung = t40
* Sortiere die Daten in die 40 Plätze nach Zeitraum ein
* Nehme den Platz mit den meisten Getränken als max
* Rechne die prozentuale getränke pro platz
* erstelle en Graphen
*/
}
}
}

View File

@ -111,7 +111,7 @@ namespace Matomat.Output
this.beep(750, 500);
}
this.displayClear();
byte[] btext = text.ToCharArray("ÄÖÜäöüß²€µ", new byte[] { 0xE1, 0xEF, 0xF5, 0xE1, 0xEF, 0xF5, 0xE2, 0xFF, 0x80, 0x81 });
byte[] btext = text.ToCharArray("ÄÖÜäöüß²€µ¶·¸¹º", new byte[] { 0xE1, 0xEF, 0xF5, 0xE1, 0xEF, 0xF5, 0xE2, 0xFF, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86 });
byte[] upper;
byte[] lower;
if (text.Length > 80)
@ -162,9 +162,12 @@ namespace Matomat.Output
private void specialChars()
{
this.displayEscCode("UDC0GH_H_HG@"); //[0, 0x80] Eurosymbol
this.displayEscCode("UDC1GGGGGGGG"); //[1, 0x81] Eurosymbol
this.displayEscCode("UDC2GH_H_HG@"); //[2] Eurosymbol
this.displayEscCode("UDC3GH_H_HG@"); //[3] Eurosymbol
this.displayEscCode("UDC1@@@@@@@_"); //[1, 0x81] Strich 1te von unten
this.displayEscCode("UDC2@@@@@_@@"); //[2, 0x82] Strich 3te von unten
this.displayEscCode("UDC3@@@@_@@@"); //[3, 0x83] Strich 4te von unten
this.displayEscCode("UDC4@@_@@@@@"); //[4, 0x84] Strich 3te von unten
this.displayEscCode("UDC5@_@@@@@@"); //[5, 0x05] Strich 3te von unten
this.displayEscCode("UDC6_@@@@@@@"); //[6, 0x06] Strich 3te von unten
}
private void displayEscCode(string code)