package com.zy.core.model.protocol;
|
|
public class Cycle implements Cloneable {
|
// 站点编号
|
private Integer siteId;
|
|
// 工作号
|
private Short workNo = 0;
|
|
// 目标站
|
private Short staNo;
|
|
public Cycle(Integer siteId, Short staNo) {
|
this.siteId = siteId;
|
this.staNo = staNo;
|
}
|
|
public Integer getSiteId() {
|
return siteId;
|
}
|
|
public void setSiteId(Integer siteId) {
|
this.siteId = siteId;
|
}
|
|
public Short getWorkNo() {
|
return workNo;
|
}
|
|
public void setWorkNo(Short workNo) {
|
this.workNo = workNo;
|
}
|
|
public Short getStaNo() {
|
return staNo;
|
}
|
|
public void setStaNo(Short staNo) {
|
this.staNo = staNo;
|
}
|
|
@Override
|
public Cycle clone() {
|
try {
|
return (Cycle) super.clone();
|
} catch (CloneNotSupportedException e) {
|
e.printStackTrace();
|
}
|
return null;
|
}
|
}
|