示例#1
0
 public static ChartRangeResponse executeChartRangeCommand(SyncAPIConnector connector, ChartRangeInfoRecord info, bool prettyPrint)
 {
     return new ChartRangeResponse(connector.executeCommand(createChartRangeCommand(info, prettyPrint)).ToString());
 }
示例#2
0
 public static ChartRangeCommand createChartRangeCommand(ChartRangeInfoRecord info, bool prettyPrint)
 {
     JSONObject args = new JSONObject();
     args.Add("info", info.toJSONObject());
     return new ChartRangeCommand(args, prettyPrint);
 }