main
MonHun 2024-06-05 18:03:33 +09:00
parent 420ffb3555
commit 75c63b147b
2 changed files with 9 additions and 209 deletions

View File

@ -143,7 +143,7 @@ public class ParseTargetRunnable implements Runnable {
sb.append(t.getZnId()); sb.append(",");
sb.append(t.getArcrftTp()); sb.append(",");
sb.append(t.getArln()); sb.append(",");
sb.append(t.getTrckId()); sb.append(",");
sb.append(t.getTrckId().replace(",", "-")); sb.append(",");
// sb.append(t.getBbTlp()); sb.append(",");
// sb.append(t.getBbBrp()); sb.append(",");
// sb.append(t.getCrdFrm()); sb.append(",");

View File

@ -4,10 +4,13 @@ import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.List;
import org.apache.ibatis.javassist.compiler.ast.Keyword;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class CctvTrackVO implements Comparable<CctvTrackVO> {
private boolean inserted=false;
@ -67,6 +70,8 @@ public class CctvTrackVO implements Comparable<CctvTrackVO> {
@JsonProperty("spd")
private String spd;
@JsonProperty("prc_tm")
private String prcTm;
@Override
@ -75,7 +80,7 @@ public class CctvTrackVO implements Comparable<CctvTrackVO> {
+ dtctTm + ", dtctCls=" + dtctCls + ", mtaTm=" + mtaTm + ", rwTm=" + rwTm + ", ccId=" + ccId + ", znId="
+ znId + ", arcrftTp=" + arcrftTp + ", arln=" + arln + ", trckId=" + trckId + ", bbTlp=" + bbTlp
+ ", bbBrp=" + bbBrp + ", crdFrm=" + crdFrm + ", crdGlbl=" + crdGlbl + ", drctn=" + drctn
+ ", arcrftStnd=" + arcrftStnd + ", spd=" + spd + "]";
+ ", arcrftStnd=" + arcrftStnd + ", spd=" + spd + ", prc_tm=" + prcTm +"]";
}
public String toDataFormat(List<String> arr) {
@ -114,211 +119,6 @@ public class CctvTrackVO implements Comparable<CctvTrackVO> {
}
public LocalDateTime getDateTime() {
return dateTime;
}
public void setDateTime(LocalDateTime dateTime) {
this.dateTime = dateTime;
}
public String getDtctTm() {
return dtctTm;
}
public void setDtctTm(String dtctTm) {
this.dtctTm = dtctTm;
}
public String getDtctCls() {
return dtctCls;
}
public void setDtctCls(String dtctCls) {
this.dtctCls = dtctCls;
}
public String getMtaTm() {
return mtaTm;
}
public void setMtaTm(String mtaTm) {
this.mtaTm = mtaTm;
}
public String getRwTm() {
return rwTm;
}
public void setRwTm(String rwTm) {
this.rwTm = rwTm;
}
public List<String> getCcId() {
return ccId;
}
public void setCcId(List<String> ccId) {
this.ccId = ccId;
}
public String getZnId() {
return znId;
}
public void setZnId(String znId) {
this.znId = znId;
}
public String getArcrftTp() {
return arcrftTp;
}
public void setArcrftTp(String arcrftTp) {
this.arcrftTp = arcrftTp;
}
public String getArln() {
return arln;
}
public void setArln(String arln) {
this.arln = arln;
}
public String getTrckId() {
return trckId;
}
public void setTrckId(String trckId) {
this.trckId = trckId;
}
public List<String> getBbTlp() {
return bbTlp;
}
public void setBbTlp(List<String> bbTlp) {
this.bbTlp = bbTlp;
}
public List<String> getBbBrp() {
return bbBrp;
}
public void setBbBrp(List<String> bbBrp) {
this.bbBrp = bbBrp;
}
public List<String> getCrdFrm() {
return crdFrm;
}
public void setCrdFrm(List<String> crdFrm) {
this.crdFrm = crdFrm;
}
public List<String> getCrdGlbl() {
return crdGlbl;
}
public void setCrdGlbl(List<String> crdGlbl) {
this.crdGlbl = crdGlbl;
}
public String getDrctn() {
return drctn;
}
public void setDrctn(String drctn) {
this.drctn = drctn;
}
public String getArcrftStnd() {
return arcrftStnd;
}
public void setArcrftStnd(String arcrftStnd) {
this.arcrftStnd = arcrftStnd;
}
public String getSpd() {
return spd;
}
public void setSpd(String spd) {
this.spd = spd;
}
@Override
public boolean equals(Object obj) {
//p1.equals(p2)