You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
843 B
C#
35 lines
843 B
C#
using CommunityToolkit.Mvvm.Input;
|
|
using Microsoft.VisualBasic;
|
|
using SlnMesnac.Serilog;
|
|
using SlnMesnac.WPF.Attribute;
|
|
using SlnMesnac.WPF.ViewModel.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SlnMesnac.WPF.ViewModel.Index
|
|
{
|
|
[RegisterAsSingletonAttribute]
|
|
public partial class IndexViewModel : BaseViewModel
|
|
{
|
|
public readonly SerilogHelper _logger;
|
|
|
|
public IndexViewModel(SerilogHelper logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 加载产品信息
|
|
/// </summary>
|
|
/// <param name="deviceCode"></param>
|
|
[RelayCommand]
|
|
private void LoadProductInfo(string deviceCode)
|
|
{
|
|
string code = deviceCode as string;
|
|
}
|
|
}
|
|
}
|