예제 #1
0
        //Create a new plot and assign a track to it
        public async Task createNewPlot(Track t)
        {
            Plot p = new Plot();

            //Make the plot belong to a track by taking the trackID from the selected track
            p.trackID = t.trackID;
            checkServerStatus();
            await server.createNewPlotAsync(p);

            serverIsAvailable = true;
        }