Skip to content

Commit

Permalink
修改触发器threshold类型
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglei1986 committed Aug 5, 2016
1 parent c64c8cf commit 5a50715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ public class AddTrigger extends BaseStringRequest {

private String mUrl;
private String mType;
private double mThreshold;
private Object mThreshold;
private String mDatastreamId;
private ArrayList<String> mDevicesIds;
private ArrayList<String> mDsUUIDs;

public AddTrigger(String apiKey, String url, String type, double threshold,
public AddTrigger(String apiKey, String url, String type, Object threshold,
String datastreamId, ArrayList<String> deviceIds, ArrayList<String> dsUUIDs,
ResponseListener listener) {
super(Method.POST, URL, apiKey, listener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ public class EditTrigger extends BaseStringRequest {

private String mUrl;
private String mType;
private double mThreshold;
private Object mThreshold;
private String mDatastreamId;
private ArrayList<String> mDevicesIds;
private ArrayList<String> mDsUUIDs;

public EditTrigger(String apiKey, String triggerId, String url, String type, double threshold,
public EditTrigger(String apiKey, String triggerId, String url, String type, Object threshold,
String datastreamId, ArrayList<String> deviceIds, ArrayList<String> dsUUIDs,
ResponseListener listener) {
super(Method.PUT, URL + triggerId, apiKey, listener);
Expand Down

0 comments on commit 5a50715

Please sign in to comment.