左晓为主开发手持机充值管理机
zuojincheng
16 小时以前 899cb6ce779b24a659ec3515dd3fb1cd1afef7d2
generallibrary/src/main/java/com/dayu/general/tool/CardOperationType.kt
@@ -13,6 +13,8 @@
    object CleanCard : CardOperationType(6, "清零卡")
    object CheckCard : CardOperationType(7, "检查卡")
    object ReturnCard : CardOperationType(8, "返还")
    object RegionCard : CardOperationType(9, "区域表号卡")
    object DebugCard : CardOperationType(10, "调试卡")
    companion object {
        fun fromCode(code: Int): CardOperationType? {
@@ -25,6 +27,8 @@
                6 -> CleanCard
                7 -> CheckCard
                8 -> ReturnCard
                9 -> RegionCard
                10 -> DebugCard
                else -> null
            }
        }