| 1234567891011121314151617181920212223242526 |
- using System.Threading;
- using SHJX.Service.ServerClient;
- using SHJX.Service.Model.Control;
- using SHJX.Service.Control.PortOperate.Interface;
- namespace SHJX.Service.Control.PortOperate
- {
- public class FasHighOperate : PortOperateImp
- {
- public FasHighOperate(OptClient optClient) : base(optClient)
- {
- OpName = "FAS";
- }
- public override bool LiquidOperation(string pipeName, long quantity)
- {
- PortArgs switchArg = new()
- {
- TypeName = OpName,
- WriteWay = WriteWay.Antiposition
- };
- _client.Factory(OpName).Write(switchArg);
- Thread.Sleep(1000);
- return MotorWrite(quantity); //吸液
- }
- }
- }
|