package com.module.backstage.repo

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

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

    )

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


}