using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AwInitilizer.Converter { public static class PressStatusConverter { public static string ToPressString(this int from) { if(from == 0) { return "Unpress"; } else if (from == 1) { return "Press"; } return "Unknown"; } } }