using SHJX.Service.ServerClient; using SHJX.Service.Model.Control; using SHJX.Service.Control.PortOperate.Interface; namespace SHJX.Service.Control.PortOperate { public class DripNozzleOperateHigh : StorageOperateImp { /// /// 滴嘴 /// /// public DripNozzleOperateHigh(OptClient client) : base(client) { OpName = "DripNozzle2"; } public override bool Start(object reserve = null) { var openArgs = new PortArgs { TypeName = OpName, WriteWay = WriteWay.Normotopia }; return Client.Factory(OpName).Write(openArgs); } public override bool Stop(object reserve = null) { var openArgs = new PortArgs { TypeName = OpName, WriteWay = WriteWay.Antiposition }; return Client.Factory(OpName).Write(openArgs); } } }