X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Shares%2FmTaskShare.dcl;h=57855c13bb93ee1a36f925cd88b919d3ba9544eb;hb=848595d1288804d6de43625f9e6f1cf76295c285;hp=1d3866958258509aac70f383dabf4f2e3c71b51d;hpb=7d9088b54956fe56c36ca8d01ec386b48f0a1c47;p=mTask.git diff --git a/Shares/mTaskShare.dcl b/Shares/mTaskShare.dcl index 1d38669..57855c1 100644 --- a/Shares/mTaskShare.dcl +++ b/Shares/mTaskShare.dcl @@ -13,6 +13,8 @@ derive class iTask MTaskShare ,value :: BCValue } +instance == MTaskShare + //Constructor makeShare :: String Int BCValue -> MTaskShare @@ -27,7 +29,7 @@ cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare] //cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare] //Clean out shares when a device has been removed -updateShareFromPublish :: MTaskDevice Int BCValue -> Task [MTaskShare] +updateShareFromPublish :: MTaskDevice Int BCValue -> Task BCValue //updateShare :: Int BCValue -> Task [MTaskShare] getRealShare :: MTaskDevice MTaskShare -> Shared BCValue