package com.mode;
|
|
import java.util.Date;
|
|
public class Motor_State {
|
public int device_id;// 'É豸id',
|
public Date record_time;//'¼Ç¼ʱ¼ä',
|
public float motor_curr = 99.6f;//'µç»úµçÁ÷',
|
public float motor_power = 50;//'µç»ú¹¦ÂÊ',
|
public float motor_speed = 0;//'µç»úתËÙ',
|
public float motor_vol = 300;//'µç»úµçѹ',
|
public float motor_out_tmp = 32;//'µç»ú³ö¿ÚζÈ',
|
public float motor_into_tmp = 65;//'µç»ú½ø¿ÚζÈ',
|
public float motor_torque = 1000;//'µç»úת¾Ø',
|
public int motor_state = 1;//'µç»ú״̬',
|
|
public Motor_State(int device_id){
|
this.device_id = device_id;
|
}
|
|
public int getDevice_id() {
|
return device_id;
|
}
|
public Date getRecord_time() {
|
return record_time;
|
}
|
public float getMotor_curr() {
|
return motor_curr;
|
}
|
public float getMotor_power() {
|
return motor_power;
|
}
|
public float getMotor_speed() {
|
return motor_speed;
|
}
|
public float getMotor_vol() {
|
return motor_vol;
|
}
|
public float getMotor_out_tmp() {
|
return motor_out_tmp;
|
}
|
public float getMotor_into_tmp() {
|
return motor_into_tmp;
|
}
|
public float getMotor_torque() {
|
return motor_torque;
|
}
|
public int getMotor_state() {
|
return motor_state;
|
}
|
public void setDevice_id(int device_id) {
|
this.device_id = device_id;
|
}
|
public void setRecord_time(Date record_time) {
|
this.record_time = record_time;
|
}
|
public void setMotor_curr(float motor_curr) {
|
this.motor_curr = motor_curr;
|
}
|
public void setMotor_power(float motor_power) {
|
this.motor_power = motor_power;
|
}
|
public void setMotor_speed(float motor_speed) {
|
this.motor_speed = motor_speed;
|
}
|
public void setMotor_vol(float motor_vol) {
|
this.motor_vol = motor_vol;
|
}
|
public void setMotor_out_tmp(float motor_out_tmp) {
|
this.motor_out_tmp = motor_out_tmp;
|
}
|
public void setMotor_into_tmp(float motor_into_tmp) {
|
this.motor_into_tmp = motor_into_tmp;
|
}
|
public void setMotor_torque(float motor_torque) {
|
this.motor_torque = motor_torque;
|
}
|
public void setMotor_state(int motor_state) {
|
this.motor_state = motor_state;
|
}
|
|
|
@Override
|
public String toString() {
|
return "Motor_State [device_id=" + device_id + ", record_time=" + record_time + ", motor_curr=" + motor_curr
|
+ ", motor_power=" + motor_power + ", motor_speed=" + motor_speed + ", motor_vol=" + motor_vol
|
+ ", motor_out_tmp=" + motor_out_tmp + ", motor_into_tmp=" + motor_into_tmp + ", motor_torque="
|
+ motor_torque + ", motor_state=" + motor_state + "]";
|
}
|
}
|