예제 #1
0
        public void ActivateAssetMethod(AssetMethod assetMethod)
        {
            var command = new ActivateAssetMethodCommand
            {
                AssetMethod = assetMethod
            };

            processXml.Process(command.ToXml());
        }
예제 #2
0
        public AssetMethod ReadAssetMethod(string assetMethodType, string assetMethodCode)
        {
            var command = new ReadAssetMethodCommand
            {
                Office          = session.Office,
                AssetMethodType = assetMethodType,
                AssetMethodCode = assetMethodCode
            };
            var response = processXml.Process(command.ToXml());

            return(AssetMethod.FromXml(response));
        }
예제 #3
0
        public bool WriteAssetMethod(AssetMethod assetMethod)
        {
            var response = processXml.Process(assetMethod.ToXml());

            return(response.IsSuccess());
        }