public DCloudCommandResult StoreDicom ( fo.DicomDataset dataset, InstanceMetadata metadata ) { IStoreCommand storeCommand = CommandFactory.CreateStoreCommand( ); StoreCommandData storeData = new StoreCommandData( ) { Dataset = dataset, Metadata = metadata }; return(storeCommand.Execute(storeData)); }
public bool DoCommand(IStoreCommand cmd, CommandData data, bool CollabMode, StoreProduct storeProduct) { return(cmd.Execute(data, storeProduct, CollabMode)); }