12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ShakerService.ViewModel
- {
- internal sealed class ShakerConfigViewModel:ViewModelBase<Shaker.Models.ShakerConfigModel>
- {
- private ShakerConfigViewModel():base()
- {
- }
- static ShakerConfigViewModel()
- {
- }
- /// <summary>
- /// 位移通道数
- /// </summary>
- public int DisplacementCount =>CurrentModel.DisplacementCount;
- /// <summary>
- /// 加速度通道数
- /// </summary>
- public int AccelerationCount =>CurrentModel.AccelerationCount;
- /// <summary>
- /// 最大模拟通道数
- /// </summary>
- public int MaxAICount=>CurrentModel.MaxAICount;
- public static ShakerConfigViewModel Instance { get; } = new ShakerConfigViewModel();
- }
- }
|