package com.module.backstage.activity.setting.advancedparameter

import com.hboxs.serialport.plc.thread.ThreadCoreParameter
import com.hboxs.serialport.plc.thread.ThreadGeneralParam
import com.quyunshuo.androidbaseframemvvm.base.addressenum.PlcParamAddressEnum
import com.quyunshuo.androidbaseframemvvm.base.mvvm.m.BaseRepository
import java.util.Arrays
import javax.inject.Inject

class AdvamceParameterRepository @Inject constructor() : BaseRepository() {
    @Inject
    lateinit var mApi: com.module.pay.service.HomeApiService
    var arrayList: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.ADVAMCE1,
        PlcParamAddressEnum.ADVAMCE2,
        PlcParamAddressEnum.ADVAMCE3,
        PlcParamAddressEnum.ADVAMCE4,
        PlcParamAddressEnum.ADVAMCE5,
        PlcParamAddressEnum.ADVAMCE6,
        PlcParamAddressEnum.ADVAMCE7,
        PlcParamAddressEnum.ADVAMCE8,
        PlcParamAddressEnum.ADVAMCE9,
        PlcParamAddressEnum.ADVAMCE10,
        )

    var arrayList2: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.ADVAMCE11,
        PlcParamAddressEnum.ADVAMCE12,
        PlcParamAddressEnum.ADVAMCE13,
        PlcParamAddressEnum.ADVAMCE14,
        PlcParamAddressEnum.ADVAMCE15,
        PlcParamAddressEnum.ADVAMCE16,
        PlcParamAddressEnum.ADVAMCE17,
        PlcParamAddressEnum.ADVAMCE21,
        PlcParamAddressEnum.ADVAMCE22,
        PlcParamAddressEnum.ADVAMCE23,

        )
    var arrayList3: MutableList<PlcParamAddressEnum> = Arrays.asList(

        PlcParamAddressEnum.ADVAMCE121,
        PlcParamAddressEnum.ADVAMCE122,
        PlcParamAddressEnum.ADVAMCE123,
        PlcParamAddressEnum.ADVAMCE126,
        )

    //协程
    var threadGeneralParam: ThreadCoreParameter = ThreadCoreParameter()
}