代码拉取完成,页面将自动刷新
同步操作将从 juzige/基于Java语言的光伏监控系统+光伏发电系统+光伏软件系统+光伏监控系统源码+光伏发电系统源码-智电云 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
package com.zhengbangnet.commu.wm.message;
/*
* 根据消息定义类、利用Java反射机制,由工具类MakeStubFile自动生成
* 浙江爱充网络, 2020-07-03
* */
import com.zhengbangnet.commu.wm.pack.PackException;
import com.zhengbangnet.commu.wm.pack.PackStubIF;
import com.zhengbangnet.commu.wm.pack.PackUtil;
public class wmp_ctrol_info_stub implements PackStubIF {
@Override
public void pack(PackUtil.Buf buf, Object o) throws PackException {
wmp_ctrol_info wmp_ctrol_info = (wmp_ctrol_info)o;
PackUtil.putProtocolStr(buf, wmp_ctrol_info.hw_desc);
PackUtil.putByte(buf, wmp_ctrol_info.ctrl_type);
PackUtil.putByte(buf, wmp_ctrol_info.serial_num);
PackUtil.putByte(buf, wmp_ctrol_info.res);
PackUtil.putByte(buf, wmp_ctrol_info.hw_ver_major.getByte());
PackUtil.putByte(buf, wmp_ctrol_info.hw_ver_minor.getByte());
PackUtil.putProtocolStr(buf, wmp_ctrol_info.fw_desc);
PackUtil.putByte(buf, wmp_ctrol_info.fw_ver_major.getByte());
PackUtil.putByte(buf, wmp_ctrol_info.fw_ver_minor.getByte());
PackUtil.putByte(buf, wmp_ctrol_info.fw_ver_inner.getByte());
PackUtil.putByte(buf, wmp_ctrol_info.res2);
}
@Override
public Object unpack(PackUtil.Buf buf) throws PackException {
wmp_ctrol_info wmp_ctrol_info = new wmp_ctrol_info();
PackUtil.parseProtocolStr(buf, wmp_ctrol_info.hw_desc);
wmp_ctrol_info.ctrl_type = PackUtil.getByte(buf);
wmp_ctrol_info.serial_num = PackUtil.getByte(buf);
wmp_ctrol_info.res = PackUtil.getByte(buf);
wmp_ctrol_info.hw_ver_major.setByte(PackUtil.getByte(buf));
wmp_ctrol_info.hw_ver_minor.setByte(PackUtil.getByte(buf));
PackUtil.parseProtocolStr(buf, wmp_ctrol_info.fw_desc);
wmp_ctrol_info.fw_ver_major.setByte(PackUtil.getByte(buf));
wmp_ctrol_info.fw_ver_minor.setByte(PackUtil.getByte(buf));
wmp_ctrol_info.fw_ver_inner.setByte(PackUtil.getByte(buf));
wmp_ctrol_info.res2 = PackUtil.getByte(buf);
return wmp_ctrol_info;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。