using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BatCharging.Model
{
///
/// 充电机状态结果
///
public class ResultChargerStatus
{
private object lockObj = new object(); //线程同步锁
private bool _chr01enabled = false;
private bool _chr02enabled = false;
private bool _chr03enabled = false;
private bool _chr04enabled = false;
private bool _chr05enabled = false;
private bool _chr06enabled = false;
private bool _chr07enabled = false;
private bool _chr08enabled = false;
///
/// 1号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr01Enabled
{
get
{
return _chr01enabled;
}
set
{
lock (lockObj)
{
_chr01enabled = value;
}
}
}
///
/// 2号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr02Enabled
{
get
{
return _chr02enabled;
}
set
{
lock (lockObj)
{
_chr02enabled = value;
}
}
}
///
/// 3号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr03Enabled
{
get
{
return _chr03enabled;
}
set
{
lock (lockObj)
{
_chr03enabled = value;
}
}
}
///
/// 4号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr04Enabled
{
get
{
return _chr04enabled;
}
set
{
lock (lockObj)
{
_chr04enabled = value;
}
}
}
///
/// 5号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr05Enabled
{
get
{
return _chr05enabled;
}
set
{
lock (lockObj)
{
_chr05enabled = value;
}
}
}
///
/// 6号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr06Enabled
{
get
{
return _chr06enabled;
}
set
{
lock (lockObj)
{
_chr06enabled = value;
}
}
}
///
/// 7号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr07Enabled
{
get
{
return _chr07enabled;
}
set
{
lock (lockObj)
{
_chr07enabled = value;
}
}
}
///
/// 8号充电是否可操作-站控平台与充电机已鉴权并且充电机已登录
///
public bool F_Chr08Enabled
{
get
{
return _chr08enabled;
}
set
{
lock (lockObj)
{
_chr08enabled = value;
}
}
}
}
}