|
|
@@ -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]; |
|
|
|
} |
|
|
|
} |