53 lines
989 B
C#
53 lines
989 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Text;
|
|
using DeiNiu;
|
|
using DeiNiu.Utils;
|
|
|
|
namespace DeiNiu
|
|
{
|
|
[Serializable] public class LogExt:Log
|
|
{
|
|
public LogExt()
|
|
{
|
|
|
|
}
|
|
public LogExt(int id)
|
|
: base(id)
|
|
|
|
{
|
|
|
|
}
|
|
public void logTimeOut(int empid)
|
|
{
|
|
cmdParameters[0] = empid;
|
|
if( CustOper(100) ==1)
|
|
{
|
|
_log_empid = empid;
|
|
_log_method = "Time out";
|
|
Add();
|
|
}
|
|
|
|
}
|
|
public void logOut(int empid)
|
|
{
|
|
cmdParameters[0] = empid;
|
|
if (CustOper(100) == 1)
|
|
{
|
|
_log_empid = empid;
|
|
_log_method = "logon Out";
|
|
Add();
|
|
}
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
|
|
LogExt_Imp obj = new LogExt_Imp();
|
|
model_imp = obj;
|
|
}
|
|
|
|
}
|
|
}
|