public string GetSimFormatDetails(SimFormats simFormat) { switch (simFormat) { case SimFormats.Embedded: { Width = 5; Length = 6; break; } case SimFormats.Nano: { Width = 8.8; Length = 12.3; break; } case SimFormats.Micro: { Width = 12; Length = 15; break; } case SimFormats.Mini: { Width = 15; Length = 25; break; } case SimFormats.FullSize: { Width = 53.98; Length = 85.60; break; } } return($"{simFormat.ToString()}: width {Width}, length {Length}"); }
public SimcardBase(string phoneNumber, SimFormats simFormat) { vPhoneNumber = phoneNumber; vSimFormat = simFormat; }