Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- 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; }
-
- }
- }
|