主耶实现版本功能的展示
parent
adba9c676e
commit
e1b158e086
|
@ -108,6 +108,8 @@ class ArticleTree extends Controller
|
||||||
$redis->connect('127.0.0.1', 6379);
|
$redis->connect('127.0.0.1', 6379);
|
||||||
//查看服务是否运行
|
//查看服务是否运行
|
||||||
$commentModel = new Models\DocComment();
|
$commentModel = new Models\DocComment();
|
||||||
|
$vertime = urldecode((string)$this->params[1]);
|
||||||
|
|
||||||
$doccoment = $commentModel->DocComments((int)$this->params[0]);
|
$doccoment = $commentModel->DocComments((int)$this->params[0]);
|
||||||
if(sizeof($this->params) > 0){
|
if(sizeof($this->params) > 0){
|
||||||
|
|
||||||
|
@ -118,15 +120,26 @@ class ArticleTree extends Controller
|
||||||
|
|
||||||
$firstpagedocs = [];
|
$firstpagedocs = [];
|
||||||
$child_docs = $docModel->getChildrenDocs($this->params[0]);
|
$child_docs = $docModel->getChildrenDocs($this->params[0]);
|
||||||
$doc = $docModel->docTree((int)$this->params[0]);
|
$doc = [];
|
||||||
$doc = array_merge($doc,$child_docs);
|
if($vertime != ""){
|
||||||
$top5 = $docModel->top5Doc();
|
$doc = $docModel->docHistoryTree((int)$this->params[0],$vertime);
|
||||||
|
$doc = array_merge($doc,$child_docs);
|
||||||
|
|
||||||
$doc_history = $docModel->doc_history((int)$this->params[0]);
|
}else{
|
||||||
|
$doc = $docModel->docTree((int)$this->params[0]);
|
||||||
|
$doc = array_merge($doc,$child_docs);
|
||||||
|
}
|
||||||
|
$top5 = $docModel->top5Doc();
|
||||||
|
|
||||||
$markdowntoc = new \ParsedownToC();
|
$markdowntoc = new \ParsedownToC();
|
||||||
$doc[0]['content'] = $markdowntoc->body($doc[0]['content']);
|
$doc[0]['content'] = $markdowntoc->body($doc[0]['content']);
|
||||||
$doc[0]['toc'] = $markdowntoc->contentsList();
|
$doc[0]['toc'] = $markdowntoc->contentsList();
|
||||||
|
// $doc_history = $docModel->doc_history((int)$this->params[0]);
|
||||||
|
if($vertime == ""){
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
$markdown = new Parsedown;
|
$markdown = new Parsedown;
|
||||||
foreach ($doc as $key => $value) {
|
foreach ($doc as $key => $value) {
|
||||||
|
@ -152,7 +165,7 @@ class ArticleTree extends Controller
|
||||||
"docs"=>$doc,
|
"docs"=>$doc,
|
||||||
"comments" => $doccoment,
|
"comments" => $doccoment,
|
||||||
"comment_count" => count($doccoment),
|
"comment_count" => count($doccoment),
|
||||||
"doc_type"=>$doc[0]["type"],
|
// "doc_type"=>$doc[0]["type"],
|
||||||
"openapi"=>\App\Config::OpenApiUrl(),
|
"openapi"=>\App\Config::OpenApiUrl(),
|
||||||
"treedoc"=>$doc_all,
|
"treedoc"=>$doc_all,
|
||||||
"topdoc"=>$top5,
|
"topdoc"=>$top5,
|
||||||
|
|
|
@ -125,7 +125,16 @@ class Doc extends Model
|
||||||
return $recv;
|
return $recv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public function docHistoryTree($id,$time){
|
||||||
|
if(is_integer($id)){
|
||||||
|
$db = static::getDB();
|
||||||
|
$stmt = $db->query('select * from
|
||||||
|
doc_history where doc_id = '.$id . '
|
||||||
|
and edit_time = '.'\''. $time.'\'');
|
||||||
|
$recv = $stmt->fetchAll();
|
||||||
|
return $recv;
|
||||||
|
}
|
||||||
|
}
|
||||||
public function titleDoc($title){
|
public function titleDoc($title){
|
||||||
$db = static::getDB();
|
$db = static::getDB();
|
||||||
$stmt = $db->query('select * from doc_copy1 where title = \''.$title.'\'');
|
$stmt = $db->query('select * from doc_copy1 where title = \''.$title.'\'');
|
||||||
|
@ -162,6 +171,7 @@ class Doc extends Model
|
||||||
$result = $stmt->fetchAll();
|
$result = $stmt->fetchAll();
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAllTypeDocs(){
|
public function getAllTypeDocs(){
|
||||||
$typedocs = [];
|
$typedocs = [];
|
||||||
$doctypes = $this->getTypes();
|
$doctypes = $this->getTypes();
|
||||||
|
|
|
@ -214,10 +214,12 @@ function expandNode(e) {
|
||||||
<div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.4px;">
|
<div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.4px;">
|
||||||
<div class="panel-heading" style="font-size: 20px ; background: #1d5987;color: white">
|
<div class="panel-heading" style="font-size: 20px ; background: #1d5987;color: white">
|
||||||
{{ doc.title }} 历史版本:
|
{{ doc.title }} 历史版本:
|
||||||
<select NAME="TEMP" οnchange="" style="font-size: 20px ; background: #1d5987;color: white;margin-left: 15px; ">
|
<select NAME="TEMP" onchange="location = this.value;" style="font-size: 20px ; background: #1d5987;color: white;margin-left: 15px; ">
|
||||||
<option value></option>
|
<option value></option>
|
||||||
{% for vertime in vestimes %}
|
{% for vertime in vestimes %}
|
||||||
<option value="AAAAAA">{{vertime.edit_time}}</option>
|
<option value="{{vertime.edit_time}}" >
|
||||||
|
{{vertime.edit_time}}
|
||||||
|
</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<div style="float: right; margin-right: 30px;">
|
<div style="float: right; margin-right: 30px;">
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<ul class="nav nav-tabs" style="font-size: 12px;">
|
<ul class="nav nav-tabs" style="font-size: 12px;">
|
||||||
<li> <a href="#duilib111" data-toggle="tab">万能协议调试器</a></li>
|
<li> <a href="#duilib111" data-toggle="tab">万能协议调试器</a></li>
|
||||||
<li> <a href="#webrtc" data-toggle="tab">webrtc native demo</a></li>
|
<li> <a href="#webrtc" data-toggle="tab">webrtc native demo</a></li>
|
||||||
<li> <a href="#ui2css" data-toggle="tab">数据采集器(软硬件)</a></li>
|
<li> <a href="#capture" data-toggle="tab">数据采集器(软硬件)</a></li>
|
||||||
<li> <a href="#wireless_open" data-toggle="tab">无线开关</a></li>
|
<li> <a href="#wireless_open" data-toggle="tab">无线开关</a></li>
|
||||||
<li> <a href="#learning_tool" data-toggle="tab">深度学习模型验证工具</a></li>
|
<li> <a href="#learning_tool" data-toggle="tab">深度学习模型验证工具</a></li>
|
||||||
|
|
||||||
|
@ -66,63 +66,101 @@
|
||||||
<a href="https://gitee.com/290198252/proto-debuger"> qt qml版本源码</a>
|
<a href="https://gitee.com/290198252/proto-debuger"> qt qml版本源码</a>
|
||||||
<a href="https://gitee.com/290198252/proto-debuger/releases"> 二进制包</a>
|
<a href="https://gitee.com/290198252/proto-debuger/releases"> 二进制包</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade in active" id="webrtc">
|
<div class="tab-pane fade in active" id="webrtc">
|
||||||
<p style="display: block;font-size: 25px ; text-align: left;">
|
<p style="display: block;font-size: 25px ; text-align: left;">
|
||||||
webrtc easy demo
|
webrtc easy demo
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 20px ; text-align: left;">
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
webrtc c++ native 库 demo
|
webrtc c++ native 库 demo
|
||||||
实现功能:
|
实现功能:
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
基于QT
|
基于QT
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
webrtc摄像头/桌面捕获功能
|
webrtc摄像头/桌面捕获功能
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
opengl渲染/多播放窗格管理
|
opengl渲染/多播放窗格管理
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
janus meeting room
|
janus meeting room
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
<img src="https://www.testingcloud.club/sapi/api/image_download/12cd0d66-d213-11ec-827c-525400986ccb.png">
|
<img src="https://www.testingcloud.club/sapi/api/image_download/12cd0d66-d213-11ec-827c-525400986ccb.png">
|
||||||
<p>
|
<p>
|
||||||
下载地址和源码
|
下载地址和源码
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://gitee.com/290198252/multimedia/tree/master/client/webrtc_capture"> 源码</a>
|
<a href="https://gitee.com/290198252/multimedia/tree/master/client/webrtc_capture"> 源码</a>
|
||||||
<a href="https://gitee.com/290198252/proto-debuger/releases"> 二进制包</a>
|
<a href="https://gitee.com/290198252/proto-debuger/releases"> 二进制包</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade in active" id="wireless_open">
|
<div class="tab-pane fade in active" id="wireless_open">
|
||||||
<p style="display: block;font-size: 25px ; text-align: left;">
|
<p style="display: block;font-size: 25px ; text-align: left;">
|
||||||
wifi,蓝牙 - 无线开关
|
wifi,蓝牙 - 无线开关
|
||||||
</p>
|
</p>
|
||||||
<img src="https://www.testingcloud.club/sapi/api/image_download/eb749834-e3fc-11ec-827c-525400986ccb.png">
|
<img src="https://www.testingcloud.club/sapi/api/image_download/eb749834-e3fc-11ec-827c-525400986ccb.png">
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
实现功能:
|
实现功能:
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
通过wifi/蓝牙实现远程开关电器或者其他电子设备
|
通过wifi/蓝牙实现远程开关电器或者其他电子设备
|
||||||
</p>
|
</p>
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
电路原理图:
|
电路原理图:
|
||||||
</p>
|
</p>
|
||||||
<img src="https://www.testingcloud.club/sapi/api/image_download/2ead3c53-e41a-11ec-827c-525400986ccb.png">
|
<img src="https://www.testingcloud.club/sapi/api/image_download/2ead3c53-e41a-11ec-827c-525400986ccb.png">
|
||||||
<p style="display: block;font-size: 15px ; text-align: left;">
|
<p style="display: block;font-size: 15px ; text-align: left;">
|
||||||
实物图:
|
实物图:
|
||||||
</p>
|
</p>
|
||||||
<img src="https://www.testingcloud.club/sapi/api/image_download/cd68064f-e49a-11ec-827c-525400986ccb.jpeg">
|
<img src="https://www.testingcloud.club/sapi/api/image_download/cd68064f-e49a-11ec-827c-525400986ccb.jpeg">
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade in active" id="learning_tool">
|
<div class="tab-pane fade in active" id="learning_tool">
|
||||||
<p style="display: block;font-size: 25px ; text-align: left;">
|
<p style="display: block;font-size: 25px ; text-align: left;">
|
||||||
深度学习验证工具
|
深度学习验证工具
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tab-pane fade in active" id="capture">
|
||||||
|
<p style="display: block;font-size: 25px ; text-align: left;">
|
||||||
|
虚拟示波器
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
硬件实物图:
|
||||||
|
</p>
|
||||||
|
<img src="https://www.testingcloud.club/sapi/api/image_download/0e10df17-8d97-11ed-837a-525400986ccb.jpeg">
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
实现原理
|
||||||
|
</p>
|
||||||
|
<img src="https://www.testingcloud.club/sapi/api/image_download/a9818cce-8d98-11ed-837a-525400986ccb.png">
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
基本性能
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
采集频率: 取决于外部adc模块和ebaz4205矿板的以太网接口速率,最高可以达到100M/8 约为12.5MPS
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
上位机实现功能: 采集,显示波形,存储wave文件。
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
参数可运行时配置
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 20px ; text-align: left;">
|
||||||
|
上位机:
|
||||||
|
</p>
|
||||||
|
<img src="https://www.testingcloud.club/sapi/api/image_download/ee7421f4-8da0-11ed-837a-525400986ccb.png">
|
||||||
|
<p style="display: block;font-size: 16px ; text-align: left;">
|
||||||
|
显示缓冲区大小可调
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 16px ; text-align: left;">
|
||||||
|
刷新率可调节
|
||||||
|
</p>
|
||||||
|
<p style="display: block;font-size: 16px ; text-align: left;">
|
||||||
|
触发显示刷新可调节
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue