mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKit.git
synced 2026-01-15 00:35:08 +08:00
feat(studio): 增加了清锋可打印性分析任务的资源模型
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PrintabilityRisk.php@HDK
|
||||
*
|
||||
* @author 李东云<dongyun.li@luxcreo.cn>
|
||||
* Powered by PhpStorm
|
||||
* Created on 2022/7/26
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Singularity\HDK\Studio\Resource\Workspace\Tasks\Detail;
|
||||
|
||||
use Singularity\HDK\Studio\Resource\Workspace\Tasks\OrderDetail;
|
||||
|
||||
/**
|
||||
* 用于历史记录详情的清锋可打印性分析任务格式
|
||||
* Singularity\HDK\Studio\Resource\Workspace\Tasks\Detail\PrintabilityRisk@HDK
|
||||
*
|
||||
* @author 李东云<dongyun.li@luxcreo.cn>
|
||||
* Powered by PhpStorm
|
||||
* Created on 2022/7/26
|
||||
*
|
||||
* @property string $completeHistogramUrl
|
||||
* @property string $completeTopShotUrl
|
||||
* @property string $completeSideShotUrl
|
||||
* @property string $completeFrontShotUrl
|
||||
*/
|
||||
class PrintabilityRisk extends OrderDetail
|
||||
{
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'histogramUrl' => $this->completeHistogramUrl,
|
||||
'topShotUrl' => $this->completeTopShotUrl,
|
||||
'sideShotUrl' => $this->completeSideShotUrl,
|
||||
'frontShotUrl' => $this->completeFrontShotUrl,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user