package com.module.backstage.activity.setting.coreparameter

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

class ActionParameterRepository @Inject constructor() : BaseRepository() {
    @Inject
    lateinit var mApi: com.module.pay.service.HomeApiService
    var arrayList: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.COREDATA1,
        PlcParamAddressEnum.COREDATA2,
        PlcParamAddressEnum.COREDATA3,
        PlcParamAddressEnum.COREDATA4,
        PlcParamAddressEnum.COREDATA5,
        PlcParamAddressEnum.COREDATA6,
        PlcParamAddressEnum.COREDATA7,

        )

    var arrayList2: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.COREDATA7,
        PlcParamAddressEnum.COREDATA8,
        PlcParamAddressEnum.COREDATA9,
        PlcParamAddressEnum.COREDATA10,
        PlcParamAddressEnum.COREDATA11,
        PlcParamAddressEnum.COREDATA12,
        PlcParamAddressEnum.COREDATA13,

        )
    var arrayList3: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.COREDATA14,
        PlcParamAddressEnum.COREDATA15,
        PlcParamAddressEnum.COREDATA16,
        PlcParamAddressEnum.COREDATA17,
        PlcParamAddressEnum.COREDATA18,
        PlcParamAddressEnum.COREDATA19,
        PlcParamAddressEnum.COREDATA20,

        )

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