示例#1
0
        public async Task InitBuilding()
        {
            Log.Alert($"Deleting all twins...");
            await cl.DeleteAllTwinsAsync();

            Log.Out($"Creating 1 floor, 1 room and 1 thermostat...");
            await initializeGraph();
        }
示例#2
0
        public async Task InitBuilding()
        {
            Log.Alert($"Deleting all twins...");
            await cl.DeleteAllTwinsAsync();

            Log.Out($"Creating ...");
            await InitializeGraph();
            await Create_Models();
            await Create_Access_Rel();
            await Create_Sensors();
            await Create_Meter();
        }