Пример #1
0
        public async Task LoadSourceFileConfiguration()
        {
            SequencerAPI sapi           = new SequencerAPI();
            string       sourcefileJson = await sapi.GetFiles(Source_UID);

            sourceFiles.Add(JsonConvert.DeserializeObject <SourceFileConfiguration>(sourcefileJson));
        }
Пример #2
0
        public async Task <List <SourceFileDefinition> > LoadFileDefinition(Guid fileUid)
        {
            SequencerAPI sapi = new SequencerAPI();
            string       sourcedefintionJson = await sapi.GetFileDefinition(fileUid);

            return(JsonConvert.DeserializeObject <List <SourceFileDefinition> >(sourcedefintionJson));
        }