You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
573 B
26 lines
573 B
3 years ago
|
using EC.Entity.Video;
|
||
|
using ECMonitor.Code;
|
||
|
using ECMonitor.Code.Models;
|
||
|
using Prism.Events;
|
||
|
using Prism.Regions;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace ECMonitor.Page.CameraMonitor
|
||
|
{
|
||
|
public class CameraTreeViewModel : BaseModel
|
||
|
{
|
||
|
private IEventAggregator _ea;
|
||
|
public List<MsVideoRecorder> MsVideoRecorderList { get; set; }
|
||
|
|
||
|
public CameraTreeViewModel(IRegionManager regionManager, IEventAggregator ea) : base(regionManager, ea)
|
||
|
{
|
||
|
_ea = ea;
|
||
|
LoadData();
|
||
|
}
|
||
|
|
||
|
private void LoadData()
|
||
|
{
|
||
|
MsVideoRecorderList = CameraManager.LoadData();
|
||
|
}
|
||
|
}
|
||
|
}
|