export const fetchSystemspannung15VplusService = async ( typ: "DIA0" | "DIA1" | "DIA2" ) => { try { const res = await fetch( `/api/cpl/getSystemspannung15VplusHandler?typ=${typ}` ); if (!res.ok) throw new Error("Fehler beim Abrufen"); return await res.json(); } catch (err) { console.error("❌ Fehler in fetchSystemspannung15VplusService:", err); return null; } };