fix: 스크린 면적 계산을 5130 공식과 동일하게 수정
- 기존: (W0+160) × (H0+350+550) / 1,000,000 (W1×H1 기반) - 수정: W0 × (H0+550) / 1,000,000 (5130 공식과 동일) - 전 모델 10개 조합 검증 완료 (SAM = 5130 정확 일치) KSS01/02, KSE01, KTE01, KWE01, KQTS01, KDSS01 SUS마감/EGI마감 모두 확인 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -229,12 +229,10 @@ private function getMotorCapacityByWeight(float $weight, ?string $bracketInch =
|
||||
*/
|
||||
public function calculateScreenPrice(float $width, float $height): array
|
||||
{
|
||||
// 면적 계산: W1 × (H1 + 550) / 1,000,000
|
||||
// W1 = W0 + 160, H1 = H0 + 350 (레거시 5130 공식)
|
||||
$W1 = $width + 160;
|
||||
$H1 = $height + 350;
|
||||
$calculateHeight = $H1 + 550;
|
||||
$area = ($W1 * $calculateHeight) / 1000000;
|
||||
// 면적 계산: W0 × (H0 + 550) / 1,000,000
|
||||
// 5130 공식: col10 × (col11 + 550) / 1,000,000
|
||||
$calculateHeight = $height + 550;
|
||||
$area = ($width * $calculateHeight) / 1000000;
|
||||
|
||||
// 원자재 단가 조회 (실리카/스크린)
|
||||
$unitPrice = $this->getRawMaterialPrice('실리카');
|
||||
|
||||
Reference in New Issue
Block a user