package com.billion.main.plcServer.sub; import com.billion.main.da.service.IDaParamCollectionService; import com.kangaroohy.milo.runner.subscription.SubscriptionCallback; import com.kangaroohy.milo.service.MiloService; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; @Slf4j @Component public class OPCUaSubscription implements SubscriptionCallback { public static MiloService miloService; public IDaParamCollectionService daParamCollectionService; public OPCUaSubscription(MiloService miloService, IDaParamCollectionService daParamCollectionService) { OPCUaSubscription.miloService = miloService; this.daParamCollectionService = daParamCollectionService; } @Override public void onSubscribe(String identifier, Object value) { } }