/// <summary> /// Initializes a new instance of the MainViewModel class. /// </summary> public MainViewModel() { ServiceConfig.Initialization(); FileManager = JSONReader.Create(); Sensors = new List <SensorViewModel>(); logview = new StringBuilder(); SmokeSensorCollection = new SeriesCollection(); FireSensorCollection = new SeriesCollection(); CombiSensorCollection = new SeriesCollection(); Generate = new RelayCommand(GenerateCollection); SaveFile = new RelayCommand(SaveCollection); LoadFile = new RelayCommand(LoadCollection); LogView = $"Services Initialization"; }