This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE STREAM "DESTINATION_SQL_STREAM" (time_stamp bigint, mean_value double); | |
CREATE OR REPLACE PUMP "STREAM_PUMP" AS INSERT INTO "DESTINATION_SQL_STREAM" | |
SELECT STREAM | |
MAX("COL_timestamp") OVER TEN_SECOND_SLIDING_WINDOW as time_stamp, | |
AVG(cast("v" as double)) OVER TEN_SECOND_SLIDING_WINDOW AS mean_value | |
FROM "SOURCE_SQL_STREAM_001" | |
WHERE "id" = 'Simulation Examples.Functions.Sine4' | |
WINDOW TEN_SECOND_SLIDING_WINDOW AS ( | |
PARTITION BY "COL_timestamp" | |
RANGE INTERVAL '10' SECOND PRECEDING); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Feature SiLA2Version="0.1" FeatureVersion="1.0" Originator="org.silastandard" Category="examples" | |
xmlns="http://www.sila-standard.org" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.sila-standard.org https://gitlab.com/SiLA2/sila_base/raw/master/schema/FeatureDefinition.xsd"> | |
<Identifier>AutomatedStorage</Identifier> | |
<DisplayName>Automated Storage</DisplayName> | |
<Description>Feature allowing to interact with automated storage remote controls</Description> | |
<Command> | |
<Identifier>StoreRackWithNoContentCheck</Identifier> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sila_java.servers.automated_freezer.automated_storage; | |
import sila2.org.silastandard.examples.automatedstorage.v1.AutomatedStorageGrpc; | |
import sila2.org.silastandard.examples.automatedstorage.v1.AutomatedStorageOuterClass; | |
import sila_java.library.core.sila.types.SiLAErrors; | |
public class AutomatedStorageImpl extends AutomatedStorageGrpc.AutomatedStorageImplBase{ | |
/** | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder.addFeature( | |
"org.silastandard/examples/v1/AutomatedStorage", | |
getResourceContent("AutomatedStorage.sila.xml"), | |
new AutomatedStorageImpl() | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Feature SiLA2Version="0.1" FeatureVersion="1.0" Originator="org.silastandard" Category="examples" | |
xmlns="http://www.sila-standard.org" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.sila-standard.org https://gitlab.com/SiLA2/sila_base/raw/master/schema/FeatureDefinition.xsd"> | |
<Identifier>AutomatedStorage</Identifier> | |
<DisplayName>Automated Storage</DisplayName> | |
<Description>Feature allowing to interact with automated storage remote controls</Description> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
<Identifier>StoreRackWithNoContentCheck</Identifier> | |
<DisplayName>Store Rack without checking content</DisplayName> | |
<Description>Store a rack without checking for its content in term of mapping of tubes position</Description> | |
<Observable>No</Observable> | |
<Parameter> | |
... | |
</Parameter> | |
<Response> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
... | |
<Parameter> | |
<Identifier>RackBarcode</Identifier> | |
<DisplayName>Rack Barcode</DisplayName> | |
<Description>The barcode of the rack that will be inserted into the automated freezer</Description> | |
<DataType> | |
<Basic>String</Basic> | |
</DataType> | |
</Parameter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
... | |
<Parameter> | |
<Identifier>ExpectedRackContent</Identifier> | |
<DisplayName>Expected Rack Content</DisplayName> | |
<Description>The vials barcode and position which are expected within the rack</Description> | |
<DataType> | |
<List> | |
<DataType> | |
<Structure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Feature> | |
... | |
<Property> | |
<Identifier>FreezerTemperature</Identifier> | |
<DisplayName>Freezer Temperature</DisplayName> | |
<Description>The current temperature of the freezer</Description> | |
<DataType> | |
<Basic>Real</Basic> | |
</DataType> | |
<Observable>Yes</Observable> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DataTypeDefinition> | |
<Identifier>Rack</Identifier> | |
<DisplayName>Rack</DisplayName> | |
<Description>Rack entity containing containers </Description> | |
<DataType> | |
... | |
</DataType> | |
</DataTypeDefinition> |
OlderNewer