IMPORTANT from 0.7.0-alpha.863 we will maintain release logs in Releases here
Please make sure you create commits with proper descripions and document your changes in respective PRs.
Added posibility to provide authentication token via serial interface.
Usage
SecurityProvider.Get.AuthenticationService;
authService.ExternalAuthorization = ExternalTokenAuthorization.CreateComReader("COM3");
Added TcoIo library for details see here
- WPF Update MaterialDesign 4.4.0
- TcoTask now accesses the PLC data via cyclic or lastvalue instead of synchron due to performance degradation.
- Clears sequencers cycle timer on
Restore
- TcoTask now accesses the PLC data via cyclic or lastvalue instead of synchron due to performance degradation.
TcoTask
hasExecuteDialog
delegate that is executed prior to actual task execution when called from UI it can contain arbitrary logic to prevent or allow the execution of the task.TcoTask
Checks for authentication whenRoles
property is assigned.- WPF
ViewModelizer
simple mechanism to create ViewModel when required for the view, the call must be placed in the view like this: - ViewModelizer simple mechanism to create ViewModel when required for the view, the call must be placed in the view like this:
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
{
base.OnPropertyChanged(e);
if (e.Property == DataContextProperty)
{
this.DataContext = this.DataContext.ViewModelizeDataContext<TcoTaskViewModel, TcoTask>();
}
}
GetSignal
is now an FB the symbol is retrieved only when the pointer changes (performance issue)
- User login and logout are now logged
IAuthenticationService
now includesHasAuthorization
method to allow access to check the user roles fromApplicationDomain
- Implementation of IRepository for RavenDB. More here
- WPF Added filter to recipe selector user control.
From version 0.5 there are notable changes in the way we initialize structures and nested TcoObjects.
FB_init when object is in another FUNCTION_BLOCK (No change just reminder)
FUNCTION_BLOCK myFunctionBlock : EXTENDS TcoCore.TcoObject
VAR
myObject : SomeTcoObject(THIS^);
END_VAR
TcoStruct
has been added to allow structure and inner objects to access TcoContext
and take advantage of the framework features.
Data : ExampleInspectorsStruct := (Parent := THIS^);
IMPORTANT!!! The compiler will not warn you about missing parent assignment. Missing parent assignment may result in invalid pointer/reference exceptions.
FB_init when object is in another STRUCTURE
TYPE
MyStructure EXTENDS TcoCore.TcoStruct :
STRUCT
// Before not possible
// Now
myObject : TcoObject(THISSTRUCT);
END_STRUCT
END_TYPE