cleanup productie LNK

This commit is contained in:
Luc Vandenbroucke 2021-05-03 13:27:51 +02:00
parent 90f7b2ca8e
commit b66c2ed23d
6 changed files with 4 additions and 17 deletions

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "EpdBase.h"
#include "TimeFunctions.cpp"
#include "TimeFunctions.h"
#define DiscoveryTimeslotPeriod 500
#define DiscoveryExpirationPeriod 6000
#define RxRetryCount 5

View file

@ -1,9 +1,6 @@
#pragma once
#include <windows.h>
#include "dll2/reader2.h"
#include "TimeFunctions.h"
#include "dll2/reader2.h"
namespace EpdBase
{

View file

@ -7,7 +7,6 @@ TimeFunctions::TimeFunctions()
{
}
void TimeFunctions::UnixTimeToFileTime(time_t t, LPFILETIME pft)
{
// Note that LONGLONG is a 64-bit value
@ -25,10 +24,3 @@ void TimeFunctions::UnixTimeToFileTime(time_t t, LPFILETIME pft)
FileTimeToSystemTime(&ft, pst);
}
void TimeFunctions::msToFileTime(UINT32 ms, LARGE_INTEGER &pft)
{
// Note that LONGLONG is a 64-bit value
LONGLONG ll;
ll = Int32x32To64(ms, 10000) ;
pft.QuadPart = ll;
}

View file

@ -8,7 +8,5 @@ public:
TimeFunctions();
static void UnixTimeToFileTime(time_t t, LPFILETIME pft);
static void UnixTimeToSystemTime(time_t t, LPSYSTEMTIME pst);
static void msToFileTime(UINT32 ms, LARGE_INTEGER &pft);
};

View file

@ -3,7 +3,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<?define eDosStation_TargetDir=$(var.eDosStation.TargetDir)?>
<?define syncEdosLocal_TargetDir=$(var.syncEdosLocal.TargetDir)?>
<Product Id="*" Name="eDosStation" Language="1033" Version="1.0.3.0" Manufacturer="SCK CEN Luc Vandenbroucke" UpgradeCode="24e037ca-edbb-49d5-85d4-3a93dd7d10d8">
<Product Id="*" Name="eDosStation" Language="1033" Version="1.0.4.0" Manufacturer="SCK CEN Luc Vandenbroucke" UpgradeCode="24e037ca-edbb-49d5-85d4-3a93dd7d10d8">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Comments="EPD lees software en synchronisatie tussen local en remote database" InstallPrivileges="elevated" Platform="x86" />
<Media Id="1" EmbedCab="yes" Cabinet="cab" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />

View file

@ -18,7 +18,7 @@ namespace eDosStation
Station thisStation;
EpdBaseClr.Epd2 ep;
bool EpdFound = false;
DispatcherTimer dispatcherTimer, epdTimer;
DispatcherTimer dispatcherTimer;
int Search, UserSeconds;
Boolean Inst1 = false, Inst2 = false;
private System.Threading.Tasks.Task ReaderTask = null;