Exemplo n.º 1
0
 public static NCDCResponse <NCDCDataCollection> GetDataForLocation(string datasetName,
                                                                    string locationTypeName, string locationId, string stationId, string dataTypeId, string token = null, NCDCOptions options = null)
 {
     token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListDataCommand(token, options);
     command.BuildDatasetLocationUri(datasetName, locationId);
     return(NCDCCommand <NCDCDataCollection> .PerformAction(command));
 }
Exemplo n.º 2
0
 public static NCDCResponse<NCDCDataCollection> GetDataForLocation(string datasetName,
     string locationTypeName, string locationId, string stationId, string dataTypeId, string token = null, NCDCOptions options = null)
 {
     token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListDataCommand(token, options);
     command.BuildDatasetLocationUri(datasetName, locationId);
     return NCDCCommand<NCDCDataCollection>.PerformAction(command);
 }