package com.module.backstage.repo

import com.hboxs.serialport.plc.thread.ThreadCloseReParam
import com.quyunshuo.androidbaseframemvvm.base.addressenum.PlcParamAddressEnum
import com.hboxs.serialport.plc.thread.ThreadGeneralParam
import com.quyunshuo.androidbaseframemvvm.base.addressenum.PlcCloseAddressEnum
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 CloseReParamFragmentRepo @Inject constructor() : BaseRepository() {

    @Inject
    lateinit var mApi: com.module.pay.service.HomeApiService
    var arrayList: MutableList<PlcCloseAddressEnum> = Arrays.asList(
        PlcCloseAddressEnum.DATA1,
        PlcCloseAddressEnum.DATA2,
        PlcCloseAddressEnum.DATA3,
        PlcCloseAddressEnum.DATA4,
        PlcCloseAddressEnum.DATA5,
        PlcCloseAddressEnum.DATA6,
        PlcCloseAddressEnum.DATA7,
        PlcCloseAddressEnum.DATA8,
        PlcCloseAddressEnum.DATA9,
        PlcCloseAddressEnum.DATA10,
        PlcCloseAddressEnum.DATA11,
        PlcCloseAddressEnum.DATA12,
        PlcCloseAddressEnum.DATA13,
        PlcCloseAddressEnum.DATA14,
        PlcCloseAddressEnum.DATA15,
        PlcCloseAddressEnum.DATA16,
        PlcCloseAddressEnum.DATA17,
        PlcCloseAddressEnum.DATA18,
        PlcCloseAddressEnum.DATA19,
        PlcCloseAddressEnum.DATA20,
    )

    //协程
    var threadGeneralParam: ThreadCloseReParam = ThreadCloseReParam()


}