Weiter gehts
This commit is contained in:
parent
a9e76fb3d6
commit
e20fc07053
@ -249,7 +249,7 @@ namespace Matomat
|
|||||||
"²²²²²²²²²²²²²²²²²²²²²²²²²²²²" + p[0] +
|
"²²²²²²²²²²²²²²²²²²²²²²²²²²²²" + p[0] +
|
||||||
"² MATOMAT Wilkommen! ²" + p[1] +
|
"² MATOMAT Wilkommen! ²" + p[1] +
|
||||||
"² Frohes genießen der Mate ²" + p[2]);
|
"² Frohes genießen der Mate ²" + p[2]);
|
||||||
Factory.getLCD().print("µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ");
|
Factory.getLCD().print("µ_¶·-¸¹ºµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void showUserInfo(User user)
|
public static void showUserInfo(User user)
|
||||||
@ -303,7 +303,14 @@ namespace Matomat
|
|||||||
|
|
||||||
public static void InsShowStats(User user, bool lastMonth = true)
|
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
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@ namespace Matomat.Output
|
|||||||
this.beep(750, 500);
|
this.beep(750, 500);
|
||||||
}
|
}
|
||||||
this.displayClear();
|
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[] upper;
|
||||||
byte[] lower;
|
byte[] lower;
|
||||||
if (text.Length > 80)
|
if (text.Length > 80)
|
||||||
@ -162,9 +162,12 @@ namespace Matomat.Output
|
|||||||
private void specialChars()
|
private void specialChars()
|
||||||
{
|
{
|
||||||
this.displayEscCode("UDC0GH_H_HG@"); //[0, 0x80] Eurosymbol
|
this.displayEscCode("UDC0GH_H_HG@"); //[0, 0x80] Eurosymbol
|
||||||
this.displayEscCode("UDC1GGGGGGGG"); //[1, 0x81] Eurosymbol
|
this.displayEscCode("UDC1@@@@@@@_"); //[1, 0x81] Strich 1te von unten
|
||||||
this.displayEscCode("UDC2GH_H_HG@"); //[2] Eurosymbol
|
this.displayEscCode("UDC2@@@@@_@@"); //[2, 0x82] Strich 3te von unten
|
||||||
this.displayEscCode("UDC3GH_H_HG@"); //[3] Eurosymbol
|
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)
|
private void displayEscCode(string code)
|
||||||
|
Loading…
Reference in New Issue
Block a user