| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SHJX.Service.Control.Common
- {
- public class OptionSilverSulfatePipe : IDisposable
- {
- private readonly string Position;
- public OptionSilverSulfatePipe(string position)
- {
- Position = position;
- bool res;
- do
- {
- res = DataCentre.GetStorageContent.Factory("SilverSulfatePipe").Start(Position);
- } while (!res);
- }
- public void Dispose()
- {
- bool res;
- do
- {
- res = DataCentre.GetStorageContent.Factory("SilverSulfatePipe").Stop(Position);
- } while (!res);
-
- }
- }
- }
|