kumajaya

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 141 total)
  • Author
    Posts
  • in reply to: Rapid SCADA 6 Beta #11321
    kumajaya
    Participant

    I have no idea how to to make a core modification outside the sources tree.

    in reply to: Tooltip on mobile browser #11320
    kumajaya
    Participant

    @Mikhail Somehow I can’t make Bootstrap tooltips working on SCADA 6 scheme. Still always show standard tooltips on desktop browser.

    I confirm my modification works on:
    https://www.w3schools.com/bootstrap5/tryit.asp?filename=trybs_tooltip&stacked=h

    in reply to: Rapid SCADA 6 Beta #11314
    kumajaya
    Participant

    About PWA, I’ll push my local changes to github. I won’t asking for merge but just a reference. Without start_url parameter in manifest, we can put unlimited shortcut (unlimited fullscreen window) on screen, just like multiple bookmark but without address bar. With start_url parameter, we only can register one shortcut for one PWA application.

    in reply to: Rapid SCADA 6 Beta #11313
    kumajaya
    Participant

    @Mikhail Web plugin to show server information for admin only will be a good add-on but Rapid SCADA is a very complicated software. It’s good if you can create a simple example web plugin in the community repository for us.

    in reply to: Rapid SCADA 6 Beta #11301
    kumajaya
    Participant

    @Mikhail A good or a bad idea? https://drive.google.com/file/d/1utNnWR4-kXuTepxcD03yoQtjjSb-SbFF/preview

    – Partial PWA support
    – OS info on about page
    – User agent info on user profile

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11298
    kumajaya
    Participant

    Hi @Mikhail To make device log more readable, you can install consolas font via winetricks using “winetricks consolas” command.

    in reply to: Rapid SCADA tite text #11283
    kumajaya
    Participant

    For en-GB culture: ScadaWeb/lang/ScadaData.en-GB.xml

    in reply to: Rapid SCADA 6 Beta #11281
    kumajaya
    Participant

    Just a little worried because no confirmation after back connected.

    I found a glitch on mobile browser in portrait mode and found it the printer icon move down because no horizontal space left.

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11280
    kumajaya
    Participant

    I have a Windows application that only works on Wine staging, that’s why staging version installed on my computer.

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11278
    kumajaya
    Participant

    wine –version output:

    wine-7.18 (Staging)

    No special modification here, our current source should be run on Wine.

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11275
    kumajaya
    Participant

    Using Ubuntu 20.04 and Wine staging here.

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11267
    kumajaya
    Participant

    A great way out. I love it 😀

    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11265
    kumajaya
    Participant
    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11262
    kumajaya
    Participant

    MonoDevelop create a bit more simple changes with a same packages.config contents:

    @@ -53,6 +53,9 @@
           <Name>ScadaCommon</Name>
         </ProjectReference>
       </ItemGroup>
    +  <ItemGroup>
    +    <None Include="packages.config" />
    +  </ItemGroup>
       <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
       <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
            Other similar extension points exist, see Microsoft.Common.targets.
    @@ -61,4 +64,5 @@
       <Target Name="AfterBuild">
       </Target>
       -->
    +  <Import Project="..\packages\Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets" Condition="Exists('..\packages
    \Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets')" />
     </Project>
    \ No newline at end of file

    Both need a manual nuget CLI command to restore package:

    mono /usr/local/bin/nuget.exe restore ScadaCommon.Svc/ScadaCommon.Svc.csproj -PackagesDirectory packages

    • This reply was modified 3 years, 3 months ago by kumajaya.
    in reply to: Buid Rapid SCADA 6 on Visual Studio Code #11260
    kumajaya
    Participant

    Yes, we can use VS 2022 to add nuget package Microsoft.NETFramework.ReferenceAssemblies.net48 with a complex change to ScadaCommon.Svc.csproj and packages.config added with content:

    <?xml version="1.0" encoding="utf-8"?>
    <packages>
      <package id="Microsoft.NETFramework.ReferenceAssemblies.net48" version="1.0.3" targetFramework="net48" developmentDependency="true" />
    </packages>

    As a patch to ScadaCommon.Svc.csproj:

    @@ -12,6 +12,8 @@
         <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
         <FileAlignment>512</FileAlignment>
         <TargetFrameworkProfile />
    +    <NuGetPackageImportStamp>
    +    </NuGetPackageImportStamp>
       </PropertyGroup>
       <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
         <DebugSymbols>true</DebugSymbols>
    @@ -53,7 +55,17 @@
           <Name>ScadaCommon</Name>
         </ProjectReference>
       </ItemGroup>
    +  <ItemGroup>
    +    <None Include="packages.config" />
    +  </ItemGroup>
       <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    +  <Import Project="..\packages\Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets" Condition="Exists('..\packages\Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets')" />
    +  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    +    <PropertyGroup>
    +      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    +    </PropertyGroup>
    +    <Error Condition="!Exists('..\packages\Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.NETFramework.ReferenceAssemblies.net48.1.0.3\build\Microsoft.NETFramework.ReferenceAssemblies.net48.targets'))" />
    +  </Target>
       <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
            Other similar extension points exist, see Microsoft.Common.targets.
       <Target Name="BeforeBuild">
    
    • This reply was modified 3 years, 3 months ago by kumajaya.
Viewing 15 posts - 16 through 30 (of 141 total)