ldj/myLog/LogExt.cs

53 lines
989 B
C#
Raw Permalink Normal View History

2023-05-23 16:13:17 +08:00
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;
}
}
}