Page 840 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 840
Ⅳ. CodeVision Source Code
private int money;
private String locate,_id,st_loc,st_id;
private Timestamp timestamp;
public ParkStation(int num,String locate,int state,String _id,Timestamp time,int money){
this.num=num;
this.locate=locate;
this.state=state;
this._id=_id;
this.timestamp=time;
this.money = money;
}
public ParkStation(int num, String locate, int state, String _id){
st_num = num;
st_id = _id;
st_loc = locate;
st_state =state;
}
public int getMoney() {
return money;
}
public int getNum() {
return num;
}
public void setNum(int num) {
this.num = num;
}
public int getState() {
return state;
정보통신기기과
- 833 -