using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BatCharging.Model;
namespace BatCharging.Service
{
///
/// 充电机充电状态值
///
public class ChgResult
{
#region 定义锁
private object lockRlt = new object(); //线程同步锁
#endregion 定义锁
///
/// 充电机鉴权认证
///
internal AuthResult _auth_rlt;
public AuthResult F_AuthResult
{
get
{
return _auth_rlt;
}
set
{
lock (lockRlt)
{
_auth_rlt = value;
}
}
}
///
/// 充电机上送充电记录
///
internal RecordCharg _record_charg;
///
/// 充电机上送充电记录
///
public RecordCharg F_RecordCharg
{
get
{
return _record_charg;
}
set
{
lock (lockRlt)
{
_record_charg = value;
}
}
}
}
}