Specification คือค่ามาตรฐานที่ผลทดสอบต้องอยู่ในเกณฑ์ โปรแกรมรองรับหลายรูปแบบ
บทที่ 6 / 8
การจัดการ Specification
Min, Max, Range, Fixed — กำหนดค่ามาตรฐาน
6
/ 8
1
ประเภทของ Specification
ประเภท Specification ที่รองรับ
| MIN — ค่ามาตรฐานต่ำสุด
if sccoa004.prto = scspec.prt.opt.min then
rpt.spec = "Min. " & edit$(sccoa004.llmt, "ZZZZZ9VD99")
| MAX — ค่ามาตรฐานสูงสุด
else if sccoa004.prto = scspec.prt.opt.max then
rpt.spec = "Max. " & edit$(sccoa004.ulmt, "ZZZZZ9VD99")
| RANGE — ช่วงค่า
else if sccoa004.prto = scspec.prt.opt.range then
rpt.spec = edit$(sccoa004.llmt, "ZZZZZ9VD99")
& " - "
& trim$(edit$(sccoa004.ulmt, "ZZZZZ9VD99"))
| FIXED — ค่าคงที่ (ข้อความ)
else if sccoa004.prto = scspec.prt.opt.fixed then
rpt.spec = sccoa004.fxsp
endif
คำอธิบาย
| ประเภท | ฟิลด์ | ตัวอย่างผลลัพธ์ |
|---|---|---|
| Min | llmt (Lower Limit) | Min. 0.50 |
| Max | ulmt (Upper Limit) | Max. 3.00 |
| Range | llmt - ulmt | 0.50 - 3.00 |
| MinVal | llmt | 0.50 |
| MaxVal | ulmt | 3.00 |
| Fixed | fxsp | Typical, Comply |
สังเกตว่าสำหรับบาง Characteristic เช่น SP_GRAV2, RE_DEN25, RI_25C จะใช้ทศนิยม 4 ตำแหน่ง (ZZZ9VD9999) แทน 2 ตำแหน่ง — เพราะค่าเหล่านี้ต้องการความแม่นยำสูง