示例#1
0
        public Monitors()
        {
            NewMonitor = new CreateMonitorDto
            {
                Interval = 1
            };

            EditingMonitor = new UpdateMonitorDto
            {
                Interval = 1
            };

            Filter = new GetMonitorsRequestInput
            {
                MaxResultCount = PageSize,
                SkipCount      = CurrentPage * PageSize,
                Sorting        = CurrentSorting
            };
        }
示例#2
0
 private void OpenCreateMonitorModal()
 {
     NewMonitor          = new CreateMonitorDto();
     NewMonitor.Interval = 1;
     CreateMonitorModal.Show();
 }
示例#3
0
 public async Task CreateAsync(CreateMonitorDto input)
 {
     await _monitorAppService.CreateAsync(input);
 }