添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using Stylet;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MaxwellFramework.Core.Interfaces;
|
||||
using MwFramework.Device;
|
||||
using MwFramework.ManagerService;
|
||||
using StyletIoC;
|
||||
|
||||
namespace MainShell.DeviceMaintance.ViewModel
|
||||
{
|
||||
public class IOMonitorViewModel:Screen,IPage
|
||||
{
|
||||
private DeviceIoViewModel _deviceIoViewModel;
|
||||
[Inject]
|
||||
public DeviceIoViewModel DeviceIoViewModel
|
||||
{
|
||||
get { return _deviceIoViewModel; }
|
||||
set { _deviceIoViewModel = value; }
|
||||
}
|
||||
|
||||
//private IDIO ioprop;
|
||||
//public IDIO IOProp
|
||||
//{
|
||||
// get { return ioprop; }
|
||||
// set
|
||||
// {
|
||||
// ioprop = value;
|
||||
// OnPropertyChanged("IOProp");
|
||||
// }
|
||||
//}
|
||||
|
||||
//public IOMonitorViewModel(IDeviceManager manager)
|
||||
//{
|
||||
// IDeviceList dlist = (IDeviceList)manager;
|
||||
// IOProp = dlist.GetDevice<IDIO>("PLCIO");
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user