Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Microsoft.Toolkit.Mvvm.ComponentModel;
- using System.Collections.ObjectModel;
- using BPASmartClient.JXJFoodSmallStation.Model;
- using BPASmartClient.Helper;
- using Microsoft.Toolkit.Mvvm.Input;
- using BPASmartClient.CustomResource.UserControls.MessageShow;
- using BPASmartClient.CustomResource.UserControls;
- using System.Diagnostics;
- using BPASmartClient.JXJFoodSmallStation.Model.WindSend;
- using System.Threading;
-
- namespace BPASmartClient.JXJFoodSmallStation.ViewModel
- {
- public class WindSendParViewModel : ObservableObject
- {
- public WindSendParViewModel()
- {
- if (WindSendRawMaterial.Count == 0)
- {
- WindSendRawMaterial.Clear();
- for (int i = 0; i < 5; i++)
- {
- WindSendRawMaterial.Add(new WindSendRawMaterial()
- {
- Location = i + 1,
- });
- }
- }
- SaveRawMaterialPara = new RelayCommand(() =>
- {
- Json<DevicePar>.Save();
- });
- }
-
- public ObservableCollection<WindSendRawMaterial> WindSendRawMaterial => Json<DevicePar>.Data.windSendRawMaterial;
- public RelayCommand SaveRawMaterialPara { get; set; }
-
- }
- }
|