25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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(); } }
-
- /// <summary>
- /// 线体1 工位->桶号
- /// </summary>
- private RollerLineBarrelSerialModel _rollerOneModel;
- public RollerLineBarrelSerialModel RollerOneModel { get { return _rollerOneModel; }set { _rollerOneModel = value;OnPropertyChanged(); } }
-
-
- /// <summary>
- /// 线体2 工位->桶号
- /// </summary>
- private RollerLineBarrelSerialModel _rollerTwoModel;
- public RollerLineBarrelSerialModel RollerTwoModel { get { return _rollerTwoModel; } set { _rollerTwoModel = value; OnPropertyChanged(); } }
-
- /// <summary>
- /// 线体3 工位->桶号
- /// </summary>
- private RollerLineBarrelSerialModel _rollerThreeModel;
- public RollerLineBarrelSerialModel RollerThreeModel { get { return _rollerThreeModel; } set { _rollerThreeModel = value; OnPropertyChanged(); } }
- /// <summary>
- /// 线体4 工位->桶号s
- /// </summary>
- private RollerLineBarrelSerialModel _rollerFourModel;
- public RollerLineBarrelSerialModel RollerFourModel { get { return _rollerFourModel; } set { _rollerFourModel = value; OnPropertyChanged(); } }
- }
- }
|