Das folgende Ada-Paket definiert einen strukturierten Datensatz für ein Cusil-Prothesendesign, der Material, Zahnkonfiguration, Farbe, Klammertyp und Basisbreite erfasst.
package cusil_denture is type material is (ceramic, metal, plastic); type teeth is (full, partial); type color is (white, off_white, yellow); type clasp_type is (internal, external, plastic); subtype base_width is float range 0.0 .. 1.0; -- millimeters type cusil_denture is record material : material; teeth : teeth := full; color : color := off_white; clasp_type : clasp_type := internal; base_width : base_width := 1.0; end record; end cusil_denture; Diese Spezifikation bietet ein typensicheres Framework für CAD/CAM-Prothesendesign-Software, die gültige Parameterkombinationen und Standardwerte für Herstellungsabläufe sicherstellt.

www.alskrankheit.net © Gesundheitswissenschaften