mirror of https://github.com/Hypfer/Valetudo.git
34 lines
738 B
JavaScript
34 lines
738 B
JavaScript
const Capability = require("./Capability");
|
|
const NotImplementedError = require("../NotImplementedError");
|
|
|
|
/**
|
|
*
|
|
* @template {import("../ValetudoRobot")} T
|
|
* @extends Capability<T>
|
|
*/
|
|
class MopDockDryManualTriggerCapability extends Capability {
|
|
/**
|
|
* @abstract
|
|
* @returns {Promise<void>}
|
|
*/
|
|
async startDrying() {
|
|
throw new NotImplementedError();
|
|
}
|
|
|
|
/**
|
|
* @abstract
|
|
* @returns {Promise<void>}
|
|
*/
|
|
async stopDrying() {
|
|
throw new NotImplementedError();
|
|
}
|
|
|
|
getType() {
|
|
return MopDockDryManualTriggerCapability.TYPE;
|
|
}
|
|
}
|
|
|
|
MopDockDryManualTriggerCapability.TYPE = "MopDockDryManualTriggerCapability";
|
|
|
|
module.exports = MopDockDryManualTriggerCapability;
|