package com.module.backstage.repo

import com.quyunshuo.androidbaseframemvvm.base.addressenum.PlcDebugAddressEnum
import com.quyunshuo.androidbaseframemvvm.base.addressenum.PlcDebugStataAddressEnum
import com.quyunshuo.androidbaseframemvvm.base.mvvm.m.BaseRepository
import java.util.Arrays
import javax.inject.Inject

/**
 * HomeFragment的数据仓库层
 *
 * @author Qu Yunshuo
 * @since 2021/8/5 10:59 下午
 */
class DebugParamFragmentRepo @Inject constructor() : BaseRepository() {

    @Inject
    lateinit var mApi: com.module.pay.service.HomeApiService

    var arrayList: MutableList<PlcDebugAddressEnum> = Arrays.asList(
        PlcDebugAddressEnum.IO_SE_01,
        PlcDebugAddressEnum.IO_SE_02,
        PlcDebugAddressEnum.IO_SE_03,
        PlcDebugAddressEnum.IO_SE_04,
        PlcDebugAddressEnum.IO_SE_05,
        PlcDebugAddressEnum.IO_SE_06,
        PlcDebugAddressEnum.IO_SE_07,
        PlcDebugAddressEnum.PWM_SE_01,
        PlcDebugAddressEnum.PWM_SE_02,
        PlcDebugAddressEnum.PWM_SE_03,
        PlcDebugAddressEnum.PWM_CLEAN,
        PlcDebugAddressEnum.PWM_STUCK,
        PlcDebugAddressEnum.PWM_XRESET,
    )


    var arraystataList: MutableList<PlcDebugStataAddressEnum> = Arrays.asList(
        PlcDebugStataAddressEnum.INPUT_01,
        PlcDebugStataAddressEnum.INPUT_02,
        PlcDebugStataAddressEnum.INPUT_03,
        PlcDebugStataAddressEnum.INPUT_04,
        PlcDebugStataAddressEnum.INPUT_05,
        PlcDebugStataAddressEnum.INPUT_06,
        PlcDebugStataAddressEnum.INPUT_07,
        PlcDebugStataAddressEnum.INPUT_08,
        PlcDebugStataAddressEnum.INPUT_09,
        PlcDebugStataAddressEnum.INPUT_10,
        PlcDebugStataAddressEnum.INPUT_11,
        PlcDebugStataAddressEnum.INPUT_12,
        PlcDebugStataAddressEnum.INPUT_13,
        PlcDebugStataAddressEnum.INPUT_14,
        PlcDebugStataAddressEnum.INPUT_15,
        PlcDebugStataAddressEnum.INPUT_16,
        )


}