You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
747 B
33 lines
747 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using AutoFileCopyNet.TimerTask;
|
||
|
|
||
|
namespace AutoFileCopyNet
|
||
|
{
|
||
|
public class AutoFileCopyJob:ITimerTask
|
||
|
{
|
||
|
private TimerInfo jobTimer;
|
||
|
public AutoFileCopyJob()
|
||
|
{
|
||
|
jobTimer = new TimerInfo();
|
||
|
jobTimer.TimerType = ConstParam.DCSFileCopyTimerType;
|
||
|
jobTimer.Hour = ConstParam.DCSFileCopyTimerHour;
|
||
|
jobTimer.Minute = ConstParam.DCSFileCopyTimerMinute;
|
||
|
jobTimer.Second = ConstParam.DCSFileCopyTimerSecond;
|
||
|
}
|
||
|
|
||
|
public TimerInfo getTimer()
|
||
|
{
|
||
|
return jobTimer;
|
||
|
}
|
||
|
|
||
|
public virtual void Run()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|