|
@@ -26,7 +26,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(DateTime.Now.Hour >= 0 && DateTime.Now.Hour < 23)
|
|
|
+ if(DateTime.Now.Hour >= 0 && DateTime.Now.Hour < 9)
|
|
|
{
|
|
|
try
|
|
|
{
|
|
@@ -80,6 +80,10 @@ namespace MySystem
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ op = false;
|
|
|
+ }
|
|
|
}
|
|
|
PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == Pos.Id);
|
|
|
if(edit != null)
|