package com.module.backstage.activity.setting.sugarparametr

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

class SugarParameterRepository @Inject constructor() : BaseRepository() {
    @Inject
    lateinit var mApi: com.module.pay.service.HomeApiService
    var arrayList: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.SUGARWRITE1,
        PlcParamAddressEnum.SUGARWRITE2,
        PlcParamAddressEnum.SUGARWRITE3,
        PlcParamAddressEnum.SUGARWRITE4,
        PlcParamAddressEnum.SUGARWRITE5,
        PlcParamAddressEnum.SUGARWRITE6,
        PlcParamAddressEnum.SUGARWRITE7,
        PlcParamAddressEnum.SUGARWRITE8,
        PlcParamAddressEnum.SUGARWRITE9,
        PlcParamAddressEnum.SUGARWRITE10,
        )

    var arrayList2: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.SUGARWRITE11,
        PlcParamAddressEnum.SUGARWRITE12,
        PlcParamAddressEnum.SUGARWRITE13,
        PlcParamAddressEnum.SUGARWRITE14,
        PlcParamAddressEnum.SUGARWRITE15,
        PlcParamAddressEnum.SUGARWRITE16,
        PlcParamAddressEnum.SUGARWRITE17,
        PlcParamAddressEnum.SUGARWRITE18,
        PlcParamAddressEnum.SUGARWRITE19,
        PlcParamAddressEnum.SUGARWRITE20,
        )
    var arrayList3: MutableList<PlcParamAddressEnum> = Arrays.asList(
        PlcParamAddressEnum.SUGARWRITE21,
        PlcParamAddressEnum.SUGARWRITE22,
        PlcParamAddressEnum.SUGARWRITE23,
        PlcParamAddressEnum.SUGARWRITE24,
        PlcParamAddressEnum.SUGARWRITE25,

        )

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