40 lines
763 B
C#
40 lines
763 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class BeaconBusinessLog : ILogInvokerEx
|
|
{
|
|
private BeaconLogInfo m_beacon_log_info;
|
|
|
|
public BeaconBusinessLog(LogAction logAction, BeaconLogInfo logInfo)
|
|
: base(LogDomainType.Beacon, logAction)
|
|
{
|
|
m_beacon_log_info = new BeaconLogInfo(this, logInfo);
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(m_beacon_log_info);
|
|
}
|
|
|
|
public BeaconLogInfo getInfo()
|
|
{
|
|
return m_beacon_log_info;
|
|
}
|
|
}
|