public CounterElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace) : base(subsystemElectricity, cellFace) { float?num = subsystemElectricity.ReadPersistentVoltage(cellFace.Point); if (num.HasValue) { m_counter = (int)MathUtils.Round(MathUtils.Abs(num.Value) * 15f); m_overflow = (num.Value < 0f); } }