169 lines
4.4 KiB
C#
169 lines
4.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Media;
|
|
using Brush = System.Windows.Media.Brush;
|
|
|
|
namespace JiangsuEarthquake.Models
|
|
{
|
|
public class BaseStationStateModel : ParameterModel
|
|
{
|
|
private Brush JunBox_ProBoard_PowCarrier_state;
|
|
|
|
/// <summary>
|
|
/// 接驳盒保护板电力载波机状态反馈
|
|
/// </summary>
|
|
public Brush JunBox_ProBoard_PowCarrier_State
|
|
{
|
|
get { return JunBox_ProBoard_PowCarrier_state; }
|
|
set { JunBox_ProBoard_PowCarrier_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private Brush JunBox_ProBoard_OptSwitch_state;
|
|
|
|
/// <summary>
|
|
/// 接驳盒保护板光电交换机状态反馈
|
|
/// </summary>
|
|
public Brush JunBox_ProBoard_OptSwitch_State
|
|
{
|
|
get { return JunBox_ProBoard_OptSwitch_state; }
|
|
set { JunBox_ProBoard_OptSwitch_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_ProBoard_Seis1_state;
|
|
|
|
/// <summary>
|
|
/// 接驳盒保护板地震仪1状态反馈
|
|
/// </summary>
|
|
public ImageSource JunBox_ProBoard_Seis1_State
|
|
{
|
|
get { return JunBox_ProBoard_Seis1_state; }
|
|
set { JunBox_ProBoard_Seis1_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_ProBoard_Seis2_state;
|
|
|
|
/// <summary>
|
|
/// 接驳盒保护板地震仪2状态反馈
|
|
/// </summary>
|
|
public ImageSource JunBox_ProBoard_Seis2_State
|
|
{
|
|
get { return JunBox_ProBoard_Seis2_state; }
|
|
set { JunBox_ProBoard_Seis2_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_ProBoard_Elect_state;
|
|
|
|
/// <summary>
|
|
/// 接驳盒保护板电磁状态反馈
|
|
/// </summary>
|
|
public ImageSource JunBox_ProBoard_Elect_State
|
|
{
|
|
get { return JunBox_ProBoard_Elect_state; }
|
|
set { JunBox_ProBoard_Elect_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private string Seis_Power_state;
|
|
|
|
/// <summary>
|
|
/// 地震仪反馈电源状态 0-备地震仪 1-主地震仪
|
|
/// </summary>
|
|
public string Seis_Power_State
|
|
{
|
|
get { return Seis_Power_state; }
|
|
set { Seis_Power_state = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private string Seis_Power_supplyMethod;
|
|
|
|
/// <summary>
|
|
/// 地震仪反馈供电方式 0-电池供电 1-外部供电
|
|
/// </summary>
|
|
public string Seis_Power_SupplyMethod
|
|
{
|
|
get { return Seis_Power_supplyMethod; }
|
|
set { Seis_Power_supplyMethod = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_powCarrier;
|
|
|
|
/// <summary>
|
|
/// 接驳盒电力载波机供电
|
|
/// </summary>
|
|
public ImageSource JunBox_PowCarrier
|
|
{
|
|
get { return JunBox_powCarrier; }
|
|
set { JunBox_powCarrier = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_optSwitch;
|
|
|
|
/// <summary>
|
|
/// 接驳盒光电交换机供电
|
|
/// </summary>
|
|
public ImageSource JunBox_OptSwitch
|
|
{
|
|
get { return JunBox_optSwitch; }
|
|
set { JunBox_optSwitch = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_seis1;
|
|
|
|
/// <summary>
|
|
/// 地震仪1供电
|
|
/// </summary>
|
|
public ImageSource JunBox_Seis1
|
|
{
|
|
get { return JunBox_seis1; }
|
|
set { JunBox_seis1 = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_seis2;
|
|
|
|
/// <summary>
|
|
/// 地震仪2供电
|
|
/// </summary>
|
|
public ImageSource JunBox_Seis2
|
|
{
|
|
get { return JunBox_seis2; }
|
|
set { JunBox_seis2 = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_elect;
|
|
|
|
/// <summary>
|
|
/// 电磁供电
|
|
/// </summary>
|
|
public ImageSource JunBox_Elect
|
|
{
|
|
get { return JunBox_elect; }
|
|
set { JunBox_elect = value; this.DoNotify(); }
|
|
}
|
|
|
|
|
|
private ImageSource JunBox_power;
|
|
|
|
/// <summary>
|
|
/// 接驳盒供电
|
|
/// </summary>
|
|
public ImageSource JunBox_Power
|
|
{
|
|
get { return JunBox_power; }
|
|
set { JunBox_power = value; this.DoNotify(); }
|
|
}
|
|
}
|
|
}
|