บทที่ 6 / 8

การจัดการ Specification

Min, Max, Range, Fixed — กำหนดค่ามาตรฐาน

6 / 8
1

ประเภทของ Specification

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
คำอธิบาย
ประเภทฟิลด์ตัวอย่างผลลัพธ์
Minllmt (Lower Limit)Min. 0.50
Maxulmt (Upper Limit)Max. 3.00
Rangellmt - ulmt0.50 - 3.00
MinValllmt0.50
MaxValulmt3.00
FixedfxspTypical, Comply

สังเกตว่าสำหรับบาง Characteristic เช่น SP_GRAV2, RE_DEN25, RI_25C จะใช้ทศนิยม 4 ตำแหน่ง (ZZZ9VD9999) แทน 2 ตำแหน่ง — เพราะค่าเหล่านี้ต้องการความแม่นยำสูง