mirror of
https://git.battle-of-pip.de/root/vpr-mitarbeiterverwaltung.git
synced 2025-10-15 02:24:53 +02:00
added clockhistory and get command
This commit is contained in:
@@ -15,6 +15,10 @@ public class Tester
|
||||
|
||||
Console.Write("Enter the server IP address: ");
|
||||
string ip = Console.ReadLine();
|
||||
if (ip == "devsrv")
|
||||
ip = "185.113.120.99";
|
||||
else if (ip == "local")
|
||||
ip = "127.0.0.1";
|
||||
Console.Write("Enter the port: ");
|
||||
int port = int.Parse(Console.ReadLine());
|
||||
|
||||
@@ -77,6 +81,7 @@ public class Tester
|
||||
$"Code: {employee.Code}",
|
||||
$"Surname: {employee.Surname}",
|
||||
$"Forename: {employee.Forename}",
|
||||
$"clocked: {employee.EmployeeState.ToFriendlyString()}",
|
||||
});
|
||||
}
|
||||
else if (command == "clock in")
|
||||
|
Reference in New Issue
Block a user