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.

65 lines
1.3 KiB

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