private void importLayout() { TimeSwitchInfo[] datas = JsonParserExpand.DeserializeFromFile <TimeSwitchInfo[]>(DirectoryHelper.TimeSwitchSchemeName, DirectoryHelper.TimeSwitchFileExt); if (datas != null) { loadTimingSwitch(datas); AutoSave(); } }
private void importLayout() { SplitScreenInfo data = JsonParserExpand.DeserializeFromFile <SplitScreenInfo>(DirectoryHelper.LayoutSchemeName, DirectoryHelper.LayoutFileExt); if (data != null) { SplitScreenModel.SplitScreenData = data; } }