public ActorXmlKSService() : base(DeviceType.KS, "SuperKS") { _ksActor = Actor.Spawn(Actor.FromProducer(() => new KSActor())); ActorXmlDispatcher.AddIncomingMessageHandler("bestand", new Version(), IncomingMessageHandlers.Bestand(_ksActor)); ActorXmlDispatcher.AddIncomingMessageHandler("auslagerung", new Version(), IncomingMessageHandlers.Auslagerung(_ksActor)); }
private void AddIncomingMessageHandlers() { ActorXmlDispatcher.AddIncomingMessageHandler("getArtikelInfo", new Version(), MessageHandlers.GetArtikelInfo(_artikelService)); ActorXmlDispatcher.AddIncomingMessageHandler("addArtikel", new Version(), MessageHandlers.AddArtikel); }
public ActorXmlVSService(string deviceName) : base(DeviceType.Sichtwahl, deviceName) { ActorXmlDispatcher.AddIncomingMessageHandler("nurZurInfo", new Version(), IncomingMessageHandlers.NurZurInfo); }