You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
4.1 KiB
Java
133 lines
4.1 KiB
Java
/* */ package com.dowse.devicesdk;
|
|
/* */
|
|
/* */ public final class BmsInfo
|
|
/* */ {
|
|
/* */ private int slaveAddr;
|
|
/* */ private int code;
|
|
/* */ private int dataLen;
|
|
/* */ private int batVolt;
|
|
/* */ private int batCapacity;
|
|
/* */ private int batNumber;
|
|
/* */ private int totalVolt;
|
|
/* */ private int totalCurrent;
|
|
/* */ private int SOC;
|
|
/* */ private int SOH;
|
|
/* */ private int cycleIndex;
|
|
/* */ private int protectFlagBit1;
|
|
/* */ private int protectFlagBit2;
|
|
/* */
|
|
/* */ public int getSlaveAddr()
|
|
/* */ {
|
|
/* 19 */ return this.slaveAddr;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setSlaveAddr(int slaveAddr) {
|
|
/* 23 */ this.slaveAddr = slaveAddr;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getCode() {
|
|
/* 27 */ return this.code;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setCode(int code) {
|
|
/* 31 */ this.code = code;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getDataLen() {
|
|
/* 35 */ return this.dataLen;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setDataLen(int dataLen) {
|
|
/* 39 */ this.dataLen = dataLen;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getBatVolt() {
|
|
/* 43 */ return this.batVolt;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setBatVolt(int batVolt) {
|
|
/* 47 */ this.batVolt = batVolt;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getBatCapacity() {
|
|
/* 51 */ return this.batCapacity;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setBatCapacity(int batCapacity) {
|
|
/* 55 */ this.batCapacity = batCapacity;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getBatNumber() {
|
|
/* 59 */ return this.batNumber;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setBatNumber(int batNumber) {
|
|
/* 63 */ this.batNumber = batNumber;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getTotalVolt() {
|
|
/* 67 */ return this.totalVolt;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setTotalVolt(int totalVolt) {
|
|
/* 71 */ this.totalVolt = totalVolt;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getTotalCurrent() {
|
|
/* 75 */ return this.totalCurrent;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setTotalCurrent(int totalCurrent) {
|
|
/* 79 */ this.totalCurrent = totalCurrent;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getSOC() {
|
|
/* 83 */ return this.SOC;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setSOC(int SOC) {
|
|
/* 87 */ this.SOC = SOC;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getSOH() {
|
|
/* 91 */ return this.SOH;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setSOH(int SOH) {
|
|
/* 95 */ this.SOH = SOH;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getCycleIndex() {
|
|
/* 99 */ return this.cycleIndex;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setCycleIndex(int cycleIndex) {
|
|
/* 103 */ this.cycleIndex = cycleIndex;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getProtectFlagBit1() {
|
|
/* 107 */ return this.protectFlagBit1;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setProtectFlagBit1(int protectFlagBit1) {
|
|
/* 111 */ this.protectFlagBit1 = protectFlagBit1;
|
|
/* */ }
|
|
/* */
|
|
/* */ public int getProtectFlagBit2() {
|
|
/* 115 */ return this.protectFlagBit2;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setProtectFlagBit2(int protectFlagBit2) {
|
|
/* 119 */ this.protectFlagBit2 = protectFlagBit2;
|
|
/* */ }
|
|
/* */
|
|
/* */ public String toString()
|
|
/* */ {
|
|
/* 124 */ return "BmsInfo{slaveAddr=" + this.slaveAddr + ", code=" + this.code + ", dataLen=" + this.dataLen + ", batVolt=" + this.batVolt + ", batCapacity=" + this.batCapacity + ", batNumber=" + this.batNumber + ", totalVolt=" + this.totalVolt + ", totalCurrent=" + this.totalCurrent + ", SOC=" + this.SOC + ", SOH=" + this.SOH + ", cycleIndex=" + this.cycleIndex + ", protectFlagBit1=" + this.protectFlagBit1 + ", protectFlagBit2=" + this.protectFlagBit2 + '}';
|
|
/* */ }
|
|
/* */ }
|
|
|
|
/* Location: C:\Users\JingJing\Desktop\i1aar\dsdevicesdk1.3\classes.jar
|
|
* Qualified Name: com.dowse.devicesdk.BmsInfo
|
|
* JD-Core Version: 0.6.0
|
|
*/ |