forked from iotoasis/SO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
188 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
so-service/src/main/java/com/pineone/icbms/so/service/entity/SDAData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package com.pineone.icbms.so.service.entity; | ||
|
||
import java.util.List; | ||
|
||
public class SDAData<T> { | ||
String cmd; | ||
List<T> contents; | ||
String time; | ||
String contextId; | ||
|
||
|
||
public SDAData() { | ||
} | ||
|
||
public SDAData(String cmd, List<T> contents, String time, String contextId) { | ||
this.cmd = cmd; | ||
this.contents = contents; | ||
this.time = time; | ||
this.contextId = contextId; | ||
} | ||
|
||
public String getCmd() { | ||
return cmd; | ||
} | ||
|
||
public void setCmd(String cmd) { | ||
this.cmd = cmd; | ||
} | ||
|
||
public List<T> getContents() { | ||
return contents; | ||
} | ||
|
||
public void setContents(List<T> contents) { | ||
this.contents = contents; | ||
} | ||
|
||
public String getTime() { | ||
return time; | ||
} | ||
|
||
public void setTime(String time) { | ||
this.time = time; | ||
} | ||
|
||
public String getContextId() { | ||
return contextId; | ||
} | ||
|
||
public void setContextId(String contextId) { | ||
this.contextId = contextId; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "SDAData{" + | ||
"cmd='" + cmd + '\'' + | ||
", contents=" + contents + | ||
", time='" + time + '\'' + | ||
", contextId='" + contextId + '\'' + | ||
'}'; | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
so-service/src/main/java/com/pineone/icbms/so/service/entity/TempLocation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.pineone.icbms.so.service.entity; | ||
|
||
public class TempLocation { | ||
String con; | ||
|
||
public TempLocation() { | ||
} | ||
|
||
public TempLocation(String con) { | ||
this.con = con; | ||
} | ||
|
||
public String getCon() { | ||
return con; | ||
} | ||
|
||
public void setCon(String con) { | ||
this.con = con; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "TempLocation{" + | ||
"con='" + con + '\'' + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters