Commit Graph

7 Commits

Author SHA1 Message Date
4c99dfba71 Fix install/uninstall files to use correct path for installation on rpi.
Fix CardReaderService.conf for supervisorctl to ensure correct pathing as per install directories.
Correct MessageLogger to ensure it appends log messages, previously overwrote the logs.
Add manual Reset event in Service1.cs to ensure that we exit when we stop.
Add configurationmanager/config property, to allow DataCenterHelper to pull updated configurations at runtime.
Add TimeStamp to CardDataPost object
#103
2019-09-11 17:28:34 +01:00
e49111ebfc Merge branch 'LinuxCardReaderService' of https://gitlab.com/WattsC/FlexiTimeTrackerTool into LinuxCardReaderService
# Conflicts:
#	CardReaderService/CardReaderService/CardReaderService.csproj
#	CardReaderService/CardReaderService/Service1.cs
#	CardReaderService/CardReaderService/packages.config
#	CardReaderService/Logger/MessageLogger.cs

Add missing property from commit.
update nuget packages
2019-09-03 15:43:49 +01:00
9f617fdf0a Fix Card UID retrieval for Raspberry PI/linux systems.
It appears that the issue was also relevant to windows, but windows somehow compensated?
#103
2019-09-03 15:31:07 +01:00
d55ee663b8 retarget for .net 4.5 (from 4.5.2) for mono support.
reference logger.
add calls to logger to help trace the service on start/stop.
2018-05-30 13:39:44 +01:00
0f3eb1d46b retarget for .net 4.5 (from 4.5.2) for mono support.
reference logger.
add calls to logger to help trace the service on start/stop.
2017-03-30 16:54:54 +01:00
9eed5e827a removed args argument, was annoying.
changed debug writelines to console writelines for desktop operation.
tidied code.
moved over to use PostAsync, to prevent app hanging when trying to post to DataCenter.
changed api endpoint to windows datacenter desktop endpoint.
--end Service1 changes.
remove args from Start method
--end Program changes
added try catch to stop errors when the data center endpoint isnt up.
--end DataCenterHelper changes.
removed topshelf configuration stuff.
--end ConfigureService changes.
2017-01-26 16:44:07 +00:00
fd78367fb9 first commit of code to sit as service on machine, wait for card reader input, read the unique Id from the card, then post to the remote endpoint. 2017-01-25 22:43:41 +00:00