/// <summary> /// Конструктор создания типа, который производит вервоначальную инициализацию /// </summary> /// <param name="simulatorModel">Модель симулятора</param> public SimulatorForm(SimulatorModel simulatorModel) { InitializeComponent(); _simulatorService = new SimulatorService(simulatorModel); _simulatorService.GenerateSimulatorMap(); InitUI(); }
public CallOrSMSModel() { simulatorService = new SimulatorService(); Call = new Call(); CommandInvoke(); Clients = new ObservableCollection <string>(simulatorService.GetClientsIds()); }
private static void TestPlay([NotNull] Uri uri) { var client = new SimulatorService(uri); client.Play(); Console.WriteLine("play() called"); }
private static void TestTestAdd([NotNull] Uri uri) { var client = new SimulatorService(uri); var c = client.TestAdd(20, 45); Console.WriteLine("testAdd() result: {0}", c.ToString()); }
// GET: Admin/Clients public ActionResult Index() { string result = SimulatorService.GetUser(); return(View(db.Clients.ToList())); }