Determination of calcium and magnesium on the С-115М1 device