Ver código fonte

调整

master
杨雷 3 anos atrás
pai
commit
0674e66df9
2 arquivos alterados com 122 adições e 0 exclusões
  1. +82
    -0
      src/main/java/com/ssjl/zhaobiao/guizhou/entity/GZMessage/GZUpCall.java
  2. +40
    -0
      src/main/java/com/ssjl/zhaobiao/guizhou/entity/IOT/IOTCall.java

+ 82
- 0
src/main/java/com/ssjl/zhaobiao/guizhou/entity/GZMessage/GZUpCall.java Ver arquivo

@@ -0,0 +1,82 @@
package com.ssjl.zhaobiao.guizhou.entity.GZMessage;

import com.ssjl.zhaobiao.guizhou.entity.GZRequestStatus;
import com.ssjl.zhaobiao.guizhou.entity.IMessageContent;

public class GZUpCall implements IMessageContent {

/**
* 手机号
*/
private String PhoneNumber;
/**
* 通话类型 1 CallOut 0 CallIn
*/
private int CallFlag;//
/**
* 通话时间
*/
private String DateTime ;
/**
* 通话时长
*/
private int Duration;


public String getPhoneNumber() {
return PhoneNumber;
}

public void setPhoneNumber(String phoneNumber) {
PhoneNumber = phoneNumber;
}

public int getCallFlag() {
return CallFlag;
}

public void setCallFlag(int callFlag) {
CallFlag = callFlag;
}

public String getDateTime() {
return DateTime;
}

public void setDateTime(String dateTime) {
DateTime = dateTime;
}

public int getDuration() {
return Duration;
}

public void setDuration(int duration) {
Duration = duration;
}

@Override
public IMessageContent create(byte[] bytes) {
return null;
}

@Override
public int getTag() {
return 0x21;
}

@Override
public byte[] process(String deviceFlag, String flagType, byte msgIndex, GZRequestStatus requestStatus) {


return new byte[0];
}

@Override
public byte[] toBytes() {



return new byte[0];
}
}

+ 40
- 0
src/main/java/com/ssjl/zhaobiao/guizhou/entity/IOT/IOTCall.java Ver arquivo

@@ -0,0 +1,40 @@
package com.ssjl.zhaobiao.guizhou.entity.IOT;

public class IOTCall {
private String PhoneNumber;
private int CallFlag;//1 CallOut 0 CallIn
private String DateTime ;
private int Duration;

public String getPhoneNumber() {
return PhoneNumber;
}

public void setPhoneNumber(String phoneNumber) {
PhoneNumber = phoneNumber;
}

public int getCallFlag() {
return CallFlag;
}

public void setCallFlag(int callFlag) {
CallFlag = callFlag;
}

public String getDateTime() {
return DateTime;
}

public void setDateTime(String dateTime) {
DateTime = dateTime;
}

public int getDuration() {
return Duration;
}

public void setDuration(int duration) {
Duration = duration;
}
}

Carregando…
Cancelar
Salvar