34 lines
811 B
C#
34 lines
811 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using Plugin.Cowain.Driver.Models.Enum;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Plugin.Cowain.Driver.ViewModels;
|
|
|
|
public partial class VarActionViewModel : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
private int _id;
|
|
[ObservableProperty]
|
|
private int _deviceId;
|
|
[ObservableProperty]
|
|
private int _tagId;
|
|
[ObservableProperty]
|
|
private string _actionName = string.Empty;
|
|
[ObservableProperty]
|
|
private string _param = string.Empty;
|
|
[ObservableProperty]
|
|
private string _desc = string.Empty;
|
|
[ObservableProperty]
|
|
private string _actionValue = string.Empty;
|
|
[ObservableProperty]
|
|
private string _condition = string.Empty;
|
|
|
|
|
|
|
|
|
|
}
|