12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using Prism.Ioc;
- using Prism.Modularity;
- using S7NetModule.ViewModels;
- using S7NetModule.Views;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace S7NetModule.Services
- {
- public class ReadService
- {
- private IContainerProvider _container;
- private S7ReadlViewModel s7ReadViewModel=new S7ReadlViewModel();
- private S7ReadlView s7ReadView;
- public S7ReadlViewModel ReadViewModel { get => s7ReadViewModel; set => s7ReadViewModel = value ; }
- public S7ReadlView S7ReadView
- {
- get
- {
- s7ReadView= _container.Resolve<S7ReadlView>();
- return s7ReadView;
- }
- set => s7ReadView = value;
- }
- public ReadService(IContainerProvider container)
- {
- _container= container;
- }
- public void Run()
- {
-
-
-
-
-
- }
-
- }
- }
|