using BPA.Helper;
using FryPot_DosingSystem.Model;
using BPA.Helper;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FryPot_DosingSystem.ViewModel
{
internal class HardWareStatusViewModel:NotifyBase
{
private static HardWareStatusViewModel _instance;
public static HardWareStatusViewModel GetInstance => _instance ??= new HardWareStatusViewModel();
public HardWareStatusViewModel()
{
RollerOneModel = new RollerLineBarrelSerialModel();
RollerTwoModel = new RollerLineBarrelSerialModel();
RollerThreeModel = new RollerLineBarrelSerialModel();
}
private int _lineOneOne;
public int LineOneOne { get { return _lineOneOne; }set { _lineOneOne = value;OnPropertyChanged(); } }
///
/// 线体1 工位->桶号
///
private RollerLineBarrelSerialModel _rollerOneModel;
public RollerLineBarrelSerialModel RollerOneModel { get { return _rollerOneModel; }set { _rollerOneModel = value;OnPropertyChanged(); } }
///
/// 线体2 工位->桶号
///
private RollerLineBarrelSerialModel _rollerTwoModel;
public RollerLineBarrelSerialModel RollerTwoModel { get { return _rollerTwoModel; } set { _rollerTwoModel = value; OnPropertyChanged(); } }
///
/// 线体3 工位->桶号
///
private RollerLineBarrelSerialModel _rollerThreeModel;
public RollerLineBarrelSerialModel RollerThreeModel { get { return _rollerThreeModel; } set { _rollerThreeModel = value; OnPropertyChanged(); } }
///
/// 线体4 工位->桶号s
///
private RollerLineBarrelSerialModel _rollerFourModel;
public RollerLineBarrelSerialModel RollerFourModel { get { return _rollerFourModel; } set { _rollerFourModel = value; OnPropertyChanged(); } }
}
}