Reorganize and Add UserManager
This commit is contained in:
18
Program.cs
18
Program.cs
@@ -1,4 +1,7 @@
|
||||
using System;
|
||||
using Akari.Provider.WaveshareUART;
|
||||
using Akari.Provider.WaveshareUART.Users;
|
||||
using Akari.Provider.WaveshareUART.Views;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO.Ports;
|
||||
using System.Linq;
|
||||
@@ -10,12 +13,15 @@ using Unosquare.RaspberryIO;
|
||||
using Unosquare.RaspberryIO.Abstractions;
|
||||
using Unosquare.WiringPi;
|
||||
|
||||
namespace WaveshareUARTFingerprintSensor.Sample
|
||||
namespace Akari.Provider.WaveshareUART
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// TODO
|
||||
args = new[] { "-c" };
|
||||
|
||||
if (args.Length > 0)
|
||||
{
|
||||
switch (args[0])
|
||||
@@ -29,13 +35,7 @@ namespace WaveshareUARTFingerprintSensor.Sample
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
StartLoop();
|
||||
}
|
||||
|
||||
private static void StartLoop()
|
||||
{
|
||||
|
||||
WaveshareUARTProvider.Instance.FingerprintLoop();
|
||||
}
|
||||
|
||||
private static void StartConfig()
|
||||
|
||||
Reference in New Issue
Block a user