private ExStoreRtnCodes modifyData(ExStoreApp xApp) { xApp.Data[SchemaAppKey.AK_NAME].Value = "Blinken_01"; xApp.Data[SchemaAppKey.AK_DESCRIPTION].Value = "Blinken Description"; xApp.Data[SchemaAppKey.AK_VERSION].Value = "0.2"; return(ExStoreRtnCodes.XRC_GOOD); }
private void makeSampleDataAppAndCell() { XsMgr.XApp = ExStoreApp.Instance(); XsMgr.XApp.Data[SchemaAppKey.AK_NAME].Value = "Special_Name_01"; XsMgr.XApp.Data[SchemaAppKey.AK_DESCRIPTION].Value = "Special Description 01"; XsMgr.XCell = ExStoreCell.Instance(); XsMgr.XCell.Add(3); for (int i = 0; i < 3; i++) { ExStorageTests.SampleCellData(XsMgr.XCell, i); } }
private Result updateAppData(ExStoreApp xApp, string title) { ExStoreRtnCodes result; // todo fix update method XsMgr.XApp = xApp; result = XsMgr.UpdateApp(/*xApp*/); if (result != ExStoreRtnCodes.XRC_GOOD) { return(test01Fail(title, "update App", result)); } ExStorageTests.ShowDataApp(XsMgr.XApp); ExStorageTests.ShowDataCell(XsMgr.XCell); return(Result.Succeeded); }
private void info() { ExStoreMgr x = XsMgr; ExStoreRoot xrc = XsMgr.XRoot; // SchemaDictionaryRoot xrf = xrc.Fields; SchemaDictionaryRoot xrl = xrc.Data; SchemaDictionaryRoot xrv = xrc.DefaultValues(); ExStoreApp xac = XsMgr.XApp; // SchemaDictionaryApp xaf = xac.Fields; SchemaDictionaryApp xal = xac.Data; SchemaDictionaryApp xav = xac.DefaultValues(); ExStoreCell xcc = XsMgr.XCell; SchemaDictionaryCell xcf = xcc.Fields; List <SchemaDictionaryCell> xcl = xcc.Data; Dictionary <string, string> xcd = xcc.SubSchemaFields; SchemaDictionaryCell xcv = xcc.DefaultValues(); }