From c4f23b0bd63112ba690efd305436f10fbbbcbede Mon Sep 17 00:00:00 2001 From: Michael Paul Coder Date: Sat, 12 Feb 2022 09:33:41 +1100 Subject: [PATCH] Add option to normalize values --- Installer/Lucid Scribe ThinkGear EEG.vdproj | 1753 ++---------------- ThinkGear EEG/PluginHandler.cs | 1792 ++++++++++--------- ThinkGear EEG/PortForm.Designer.cs | 554 +++--- ThinkGear EEG/PortForm.cs | 261 +-- ThinkGear EEG/PortForm.resx | 36 +- ThinkGear EEG/Properties/AssemblyInfo.cs | 6 +- 6 files changed, 1520 insertions(+), 2882 deletions(-) diff --git a/Installer/Lucid Scribe ThinkGear EEG.vdproj b/Installer/Lucid Scribe ThinkGear EEG.vdproj index af7e52e..a7ef033 100644 --- a/Installer/Lucid Scribe ThinkGear EEG.vdproj +++ b/Installer/Lucid Scribe ThinkGear EEG.vdproj @@ -13,24 +13,6 @@ "SccProvider" = "8:" "Hierarchy" { - "Entry" - { - "MsmKey" = "8:_009D334E2A754BE0B27F600E05FBC0B0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_055C84B11AC14567B84EBC5920F6ADCA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_05F1E37694DB4239AAF51B852952DA49" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } "Entry" { "MsmKey" = "8:_097C1D1150664426A4D95B200649D52D" @@ -39,12 +21,6 @@ } "Entry" { - "MsmKey" = "8:_0EF71C194AC545299172567F1386AD85" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_1120D4F5C1554844B5B0C4BCDFB904EE" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -57,30 +33,6 @@ } "Entry" { - "MsmKey" = "8:_1B10902F57CB4B63B6964DF51289AD10" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2B8B3091181044E3AED21D2A95B44A21" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2C7D75AF9A35468CBE6068200CE0DB9C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2C968D653E1C4B8E854F32CC5792ACBE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_30F5AE4DE3C5BA5CDCE558AE389D9D1C" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" @@ -99,192 +51,42 @@ } "Entry" { - "MsmKey" = "8:_3949C0A698D74799B990D99A600DE21E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3A3D8AB5487A4765908210BE65C7EFFE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_3F2C54130579A37A1203B0BB099DE966" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_400A671BBFDE42F2810C1726A2BB2460" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_402930A416B0484A929CA405F3E05B6E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_44DB6203A95F47938D6C957E0A605896" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_4B437E10D4B3E761DD910DF3C77C2634" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_4D017ED004C9412C814844F047694082" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4DFAFBD87DA4416CB63C9BA146EFAF4A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4FF010B251224DE98FCB6EB63DA5E26D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5301F5D8D26749F7BD0244DEDE118EB5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_584C7093243F428DAE8676518D43ADAA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5AA294791F0D439084588003EEAC8857" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5F06370B690A422EA10E04363D1B7C8A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5F508BE74620448590AA64015A83B06E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_6053C36EEF074E20AE7001854D213FBF" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_616C0B4096FB484A917ECDC81EC6E2FE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_63B072A3D23049528411EAA075B7B399" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_651E159C3D0248109AFD838F6F7EF6DD" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6F1CFFE9DFF14D4881E2E2B81CBE89EE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_725A333E577F4812BF5B507F051E9A54" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_74117A5E06D842DF8AE9BFFA1698A9FA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_74CAE4B0BF7440C18EA8ED97292C459A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_76E52DFE8E39419AB72C8147522D75A2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_79F412AA84FE42CBA003A895F8FC4F61" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_7C3F1728B8424A378354FA3B92D1ADBB" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_7C910E764D814BC8BC0B38DD16FB305F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_85BFF4D38A9C4842BD0A8F2B49CBF873" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8915AEDA41B64D118DDB33B143ACD567" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_92A98C7469E4447497F8692D6DB1B693" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_959FCC8CCDB3402CBD7D6C958640AE1C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_9880DC698C5A69481CED118346702816" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" @@ -297,96 +99,24 @@ } "Entry" { - "MsmKey" = "8:_9E28C41B2D054093937047F4C17C9581" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9E9D8254DE534A9EBA0558984F0BC14B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A25130F375E9481DB12D46BC1A5B0AB7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_A50AD2CB84BC4354A0FBDE7F0519C9CC" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_A9FCAA07EB54433F93FBE937A2636424" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_AF34FDD9F0B69171CDF8F342588A4B27" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_BB43A246130D4715B7C84F4BFA5B23A6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BF227CB923B24319B95F65B2AD272CA8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C7C6110CEEE34A33861535A254A31277" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C86B29555B0E46699DF4906A730891E8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CA34D900DE48404E847009156B68170B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_D670785AC0C94028BDB975198CF3C936" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D766236103384AE88F28A14C26BA0B4D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_DA524075B5A34B2EA6990D7997CCC2CA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_DB5EDEF8D7884AC1BD93265A814D5B33" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -399,36 +129,12 @@ } "Entry" { - "MsmKey" = "8:_E2EB12A483F34623BCA9969E6F1A2981" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E9762D6A598349C9A848ABD2A08638CA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EE15A636D11B43808FD10E5AA3B32673" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_F11395AD7A8E4FCFB570EC4AD279834E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_FFDADC739A344368886559052CD2A882" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_UNDEFINED" "OwnerKey" = "8:_D5F4677254244E92ACAD2F83F55F5016" "MsmSig" = "8:_UNDEFINED" @@ -436,55 +142,37 @@ "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_74CAE4B0BF7440C18EA8ED97292C459A" + "OwnerKey" = "8:_30F5AE4DE3C5BA5CDCE558AE389D9D1C" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_5F508BE74620448590AA64015A83B06E" + "OwnerKey" = "8:_9880DC698C5A69481CED118346702816" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_4DFAFBD87DA4416CB63C9BA146EFAF4A" + "OwnerKey" = "8:_AF34FDD9F0B69171CDF8F342588A4B27" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_30F5AE4DE3C5BA5CDCE558AE389D9D1C" + "OwnerKey" = "8:_3F2C54130579A37A1203B0BB099DE966" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_9880DC698C5A69481CED118346702816" + "OwnerKey" = "8:_4B437E10D4B3E761DD910DF3C77C2634" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_AF34FDD9F0B69171CDF8F342588A4B27" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_3F2C54130579A37A1203B0BB099DE966" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_4B437E10D4B3E761DD910DF3C77C2634" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E0F038AC851B626D0957870B6D07E855" + "OwnerKey" = "8:_E0F038AC851B626D0957870B6D07E855" "MsmSig" = "8:_UNDEFINED" } } @@ -579,1002 +267,25 @@ "ExternalPersistence" { "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_997C625A6F4A465C97457F1ACC2AA7BF" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "FrameworkVersion" = "8:3.5.30729 " - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=76617" - } - } - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_009D334E2A754BE0B27F600E05FBC0B0" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Properties\\AssemblyInfo.cs" - "TargetName" = "8:AssemblyInfo.cs" - "Tag" = "8:" - "Folder" = "8:_2DD68077B286441E8326123B8787D784" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_055C84B11AC14567B84EBC5920F6ADCA" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\docs\\copyright.txt" - "TargetName" = "8:copyright.txt" - "Tag" = "8:" - "Folder" = "8:_EC70CA60BD724895AE5D73B0893A5900" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_05F1E37694DB4239AAF51B852952DA49" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\docs\\NeuroSky_License_Agreement.pdf" - "TargetName" = "8:NeuroSky_License_Agreement.pdf" - "Tag" = "8:" - "Folder" = "8:_EC70CA60BD724895AE5D73B0893A5900" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_097C1D1150664426A4D95B200649D52D" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Beta.lsd" - "TargetName" = "8:Beta.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0EF71C194AC545299172567F1386AD85" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Click.lsd" - "TargetName" = "8:Blink Click.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1120D4F5C1554844B5B0C4BCDFB904EE" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Gamma.lsd" - "TargetName" = "8:Gamma.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_19E0465AA13147FFAA729ACC0793FD1F" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NS TCMP.lsd" - "TargetName" = "8:NS TCMP.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1B10902F57CB4B63B6964DF51289AD10" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Properties\\Resources.Designer.cs" - "TargetName" = "8:Resources.Designer.cs" - "Tag" = "8:" - "Folder" = "8:_B8D8248DF4754B6D8F3346BD67DFD371" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2B8B3091181044E3AED21D2A95B44A21" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\docs\\license.txt" - "TargetName" = "8:license.txt" - "Tag" = "8:" - "Folder" = "8:_EC70CA60BD724895AE5D73B0893A5900" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2C7D75AF9A35468CBE6068200CE0DB9C" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\ThinkGearNETTest.csproj" - "TargetName" = "8:ThinkGearNETTest.csproj" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2C968D653E1C4B8E854F32CC5792ACBE" - { - "SourcePath" = "8:Lucid Scribe ThinkGear EEG.vdproj" - "TargetName" = "8:Lucid Scribe ThinkGear EEG.vdproj" - "Tag" = "8:" - "Folder" = "8:_5FD7FFE05C554A918F551C59A9B355A0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_30F5AE4DE3C5BA5CDCE558AE389D9D1C" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:YocoWrapper, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86" - "ScatterAssemblies" - { - "_30F5AE4DE3C5BA5CDCE558AE389D9D1C" - { - "Name" = "8:YocoWrapper.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:YocoWrapper.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_33E0AD4EB622441787E9921E2DD28D8E" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Strength.lsd" - "TargetName" = "8:Blink Strength.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_344D1DE8A36948C28EE8CDEA634DCA2B" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NeuroSky RAW.lsd" - "TargetName" = "8:NeuroSky RAW.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3949C0A698D74799B990D99A600DE21E" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\docs\\NeuroSky_License_Agreement.pdf" - "TargetName" = "8:NeuroSky_License_Agreement.pdf" - "Tag" = "8:" - "Folder" = "8:_5D0D411279494194A626D3B89D8173E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3A3D8AB5487A4765908210BE65C7EFFE" - { - "SourcePath" = "8:Lucid Scribe.ico" - "TargetName" = "8:Lucid Scribe.ico" - "Tag" = "8:" - "Folder" = "8:_5FD7FFE05C554A918F551C59A9B355A0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3F2C54130579A37A1203B0BB099DE966" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.Interface.Illuminated, Version=1.0.4.0, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_3F2C54130579A37A1203B0BB099DE966" - { - "Name" = "8:lucidcode.LucidScribe.Interface.Illuminated.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:lucidcode.LucidScribe.Interface.Illuminated.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_400A671BBFDE42F2810C1726A2BB2460" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Theta.lsd" - "TargetName" = "8:Theta.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_402930A416B0484A929CA405F3E05B6E" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Form1.cs" - "TargetName" = "8:Form1.cs" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_44DB6203A95F47938D6C957E0A605896" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Delta.lsd" - "TargetName" = "8:Delta.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4B437E10D4B3E761DD910DF3C77C2634" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.Interface, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_4B437E10D4B3E761DD910DF3C77C2634" - { - "Name" = "8:lucidcode.LucidScribe.Interface.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:lucidcode.LucidScribe.Interface.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4D017ED004C9412C814844F047694082" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Beta.lsd" - "TargetName" = "8:Beta.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4DFAFBD87DA4416CB63C9BA146EFAF4A" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:lucidcode.Controls, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_4DFAFBD87DA4416CB63C9BA146EFAF4A" - { - "Name" = "8:lucidcode.Controls.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:..\\ThinkGear EEG\\References\\lucidcode.Controls.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_823C10B1A6DA41188A22C0C681F00CA6" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4FF010B251224DE98FCB6EB63DA5E26D" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\docs\\ReadMe.txt" - "TargetName" = "8:ReadMe.txt" - "Tag" = "8:" - "Folder" = "8:_EC70CA60BD724895AE5D73B0893A5900" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5301F5D8D26749F7BD0244DEDE118EB5" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Strength.lsd" - "TargetName" = "8:Blink Strength.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_584C7093243F428DAE8676518D43ADAA" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Properties\\Resources.resx" - "TargetName" = "8:Resources.resx" - "Tag" = "8:" - "Folder" = "8:_B8D8248DF4754B6D8F3346BD67DFD371" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5AA294791F0D439084588003EEAC8857" - { - "SourcePath" = "8:Banner.jpg" - "TargetName" = "8:Banner.jpg" - "Tag" = "8:" - "Folder" = "8:_5FD7FFE05C554A918F551C59A9B355A0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5F06370B690A422EA10E04363D1B7C8A" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\docs\\license.txt" - "TargetName" = "8:license.txt" - "Tag" = "8:" - "Folder" = "8:_5D0D411279494194A626D3B89D8173E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5F508BE74620448590AA64015A83B06E" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.Interface, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_5F508BE74620448590AA64015A83B06E" - { - "Name" = "8:lucidcode.LucidScribe.Interface.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:..\\ThinkGear EEG\\References\\lucidcode.LucidScribe.Interface.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_823C10B1A6DA41188A22C0C681F00CA6" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6053C36EEF074E20AE7001854D213FBF" - { - "SourcePath" = "8:..\\ThinkGear EEG\\References\\thinkgear.dll" - "TargetName" = "8:thinkgear.dll" - "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_616C0B4096FB484A917ECDC81EC6E2FE" - { - "SourcePath" = "8:..\\ThinkGear EEG\\PortForm.Designer.cs" - "TargetName" = "8:PortForm.Designer.cs" - "Tag" = "8:" - "Folder" = "8:_A3A127BA9DFB48648FF4D7D209D8E5E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_63B072A3D23049528411EAA075B7B399" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NZT-48.lsd" - "TargetName" = "8:NZT-48.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_651E159C3D0248109AFD838F6F7EF6DD" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Properties\\Settings.settings" - "TargetName" = "8:Settings.settings" - "Tag" = "8:" - "Folder" = "8:_B8D8248DF4754B6D8F3346BD67DFD371" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6F1CFFE9DFF14D4881E2E2B81CBE89EE" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Properties\\Settings.Designer.cs" - "TargetName" = "8:Settings.Designer.cs" - "Tag" = "8:" - "Folder" = "8:_B8D8248DF4754B6D8F3346BD67DFD371" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_725A333E577F4812BF5B507F051E9A54" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Theta.lsd" - "TargetName" = "8:Theta.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_74117A5E06D842DF8AE9BFFA1698A9FA" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\docs\\ReadMe.txt" - "TargetName" = "8:ReadMe.txt" - "Tag" = "8:" - "Folder" = "8:_5D0D411279494194A626D3B89D8173E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_74CAE4B0BF7440C18EA8ED97292C459A" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:ThinkGearNET, Version=1.0.3.0, Culture=neutral, processorArchitecture=x86" - "ScatterAssemblies" - { - "_74CAE4B0BF7440C18EA8ED97292C459A" - { - "Name" = "8:ThinkGearNET.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:..\\ThinkGear EEG\\References\\ThinkGearNET.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_823C10B1A6DA41188A22C0C681F00CA6" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_76E52DFE8E39419AB72C8147522D75A2" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Form1.Designer.cs" - "TargetName" = "8:Form1.Designer.cs" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_79F412AA84FE42CBA003A895F8FC4F61" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Properties\\AssemblyInfo.cs" - "TargetName" = "8:AssemblyInfo.cs" - "Tag" = "8:" - "Folder" = "8:_B8D8248DF4754B6D8F3346BD67DFD371" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C3F1728B8424A378354FA3B92D1ADBB" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Click.lsd" - "TargetName" = "8:Blink Click.lsd" - "Tag" = "8:" - "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C910E764D814BC8BC0B38DD16FB305F" - { - "SourcePath" = "8:..\\ThinkGear EEG\\PluginHandler.cs" - "TargetName" = "8:PluginHandler.cs" - "Tag" = "8:" - "Folder" = "8:_A3A127BA9DFB48648FF4D7D209D8E5E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_85BFF4D38A9C4842BD0A8F2B49CBF873" - { - "SourcePath" = "8:..\\ThinkGear EEG\\PortForm.resx" - "TargetName" = "8:PortForm.resx" - "Tag" = "8:" - "Folder" = "8:_A3A127BA9DFB48648FF4D7D209D8E5E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8915AEDA41B64D118DDB33B143ACD567" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\thinkgear.dll" - "TargetName" = "8:thinkgear.dll" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_92A98C7469E4447497F8692D6DB1B693" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGear EEG.csproj" - "TargetName" = "8:ThinkGear EEG.csproj" - "Tag" = "8:" - "Folder" = "8:_A3A127BA9DFB48648FF4D7D209D8E5E4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_959FCC8CCDB3402CBD7D6C958640AE1C" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\ThinkGearNET.csproj" - "TargetName" = "8:ThinkGearNET.csproj" - "Tag" = "8:" - "Folder" = "8:_879E66CFD9614327ABA8545231366E36" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9880DC698C5A69481CED118346702816" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:ThinkGearNET, Version=1.0.3.0, Culture=neutral, processorArchitecture=x86" - "ScatterAssemblies" + { + "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_997C625A6F4A465C97457F1ACC2AA7BF" { - "_9880DC698C5A69481CED118346702816" - { - "Name" = "8:ThinkGearNET.dll" - "Attributes" = "3:512" - } + "Name" = "8:.NET Framework" + "Message" = "8:[VSDNETMSG]" + "FrameworkVersion" = "8:3.5.30729 " + "AllowLaterVersions" = "11:FALSE" + "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=76617" } - "SourcePath" = "8:ThinkGearNET.dll" - "TargetName" = "8:" + } + } + "File" + { + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_097C1D1150664426A4D95B200649D52D" + { + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Beta.lsd" + "TargetName" = "8:Beta.lsd" "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1586,13 +297,13 @@ "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" + "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9D24EB3E19804672B3FC1B60CAE03943" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1120D4F5C1554844B5B0C4BCDFB904EE" { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Delta.lsd" - "TargetName" = "8:Delta.lsd" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Gamma.lsd" + "TargetName" = "8:Gamma.lsd" "Tag" = "8:" "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" @@ -1609,12 +320,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9E28C41B2D054093937047F4C17C9581" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_19E0465AA13147FFAA729ACC0793FD1F" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\thinkgear.dll" - "TargetName" = "8:thinkgear.dll" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NS TCMP.lsd" + "TargetName" = "8:NS TCMP.lsd" "Tag" = "8:" - "Folder" = "8:_879E66CFD9614327ABA8545231366E36" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1629,12 +340,23 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9E9D8254DE534A9EBA0558984F0BC14B" + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_30F5AE4DE3C5BA5CDCE558AE389D9D1C" { - "SourcePath" = "8:..\\ThinkGear EEG\\PortForm.cs" - "TargetName" = "8:PortForm.cs" + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:YocoWrapper, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86" + "ScatterAssemblies" + { + "_30F5AE4DE3C5BA5CDCE558AE389D9D1C" + { + "Name" = "8:YocoWrapper.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:YocoWrapper.dll" + "TargetName" = "8:" "Tag" = "8:" - "Folder" = "8:_A3A127BA9DFB48648FF4D7D209D8E5E4" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1646,15 +368,15 @@ "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" + "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A25130F375E9481DB12D46BC1A5B0AB7" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_33E0AD4EB622441787E9921E2DD28D8E" { - "SourcePath" = "8:..\\ThinkGear EEG\\References\\thinkgear.dll" - "TargetName" = "8:thinkgear.dll" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Strength.lsd" + "TargetName" = "8:Blink Strength.lsd" "Tag" = "8:" - "Folder" = "8:_823C10B1A6DA41188A22C0C681F00CA6" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1669,12 +391,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A50AD2CB84BC4354A0FBDE7F0519C9CC" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_344D1DE8A36948C28EE8CDEA634DCA2B" { - "SourcePath" = "8:Banner.jpg" - "TargetName" = "8:LD3Banner.jpg" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NeuroSky RAW.lsd" + "TargetName" = "8:NeuroSky RAW.lsd" "Tag" = "8:" - "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1689,12 +411,23 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A9FCAA07EB54433F93FBE937A2636424" + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3F2C54130579A37A1203B0BB099DE966" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Form1.resx" - "TargetName" = "8:Form1.resx" + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.Interface.Illuminated, Version=1.0.4.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_3F2C54130579A37A1203B0BB099DE966" + { + "Name" = "8:lucidcode.LucidScribe.Interface.Illuminated.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:lucidcode.LucidScribe.Interface.Illuminated.dll" + "TargetName" = "8:" "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1705,24 +438,24 @@ "SharedLegacy" = "11:FALSE" "PackageAs" = "3:1" "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AF34FDD9F0B69171CDF8F342588A4B27" + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4B437E10D4B3E761DD910DF3C77C2634" { "AssemblyRegister" = "3:1" "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.TCMP, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL" + "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.Interface, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_AF34FDD9F0B69171CDF8F342588A4B27" + "_4B437E10D4B3E761DD910DF3C77C2634" { - "Name" = "8:lucidcode.LucidScribe.TCMP.dll" + "Name" = "8:lucidcode.LucidScribe.Interface.dll" "Attributes" = "3:512" } } - "SourcePath" = "8:lucidcode.LucidScribe.TCMP.dll" + "SourcePath" = "8:lucidcode.LucidScribe.Interface.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" @@ -1736,16 +469,16 @@ "SharedLegacy" = "11:FALSE" "PackageAs" = "3:1" "Register" = "3:1" - "Exclude" = "11:FALSE" + "Exclude" = "11:TRUE" "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BB43A246130D4715B7C84F4BFA5B23A6" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6053C36EEF074E20AE7001854D213FBF" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\ThinkGear.cs" - "TargetName" = "8:ThinkGear.cs" + "SourcePath" = "8:..\\ThinkGear EEG\\References\\thinkgear.dll" + "TargetName" = "8:thinkgear.dll" "Tag" = "8:" - "Folder" = "8:_879E66CFD9614327ABA8545231366E36" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1760,12 +493,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BF227CB923B24319B95F65B2AD272CA8" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_63B072A3D23049528411EAA075B7B399" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\docs\\copyright.txt" - "TargetName" = "8:copyright.txt" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\NZT-48.lsd" + "TargetName" = "8:NZT-48.lsd" "Tag" = "8:" - "Folder" = "8:_5D0D411279494194A626D3B89D8173E4" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1780,12 +513,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C7C6110CEEE34A33861535A254A31277" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_725A333E577F4812BF5B507F051E9A54" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\Properties\\AssemblyInfo.cs" - "TargetName" = "8:AssemblyInfo.cs" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Theta.lsd" + "TargetName" = "8:Theta.lsd" "Tag" = "8:" - "Folder" = "8:_3BD208E6E2914128A55CA1278C6E5CC6" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1800,12 +533,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C86B29555B0E46699DF4906A730891E8" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7C3F1728B8424A378354FA3B92D1ADBB" { - "SourcePath" = "8:..\\Lucid Scribe - ThinkGear EEG.sln" - "TargetName" = "8:Lucid Scribe - ThinkGear EEG.sln" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Blink Click.lsd" + "TargetName" = "8:Blink Click.lsd" "Tag" = "8:" - "Folder" = "8:_4ED188BE6F0F4F0AB3CF7FD17672FAC2" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1820,12 +553,23 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CA34D900DE48404E847009156B68170B" + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9880DC698C5A69481CED118346702816" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET.suo" - "TargetName" = "8:ThinkGearNET.suo" + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:ThinkGearNET, Version=1.0.3.0, Culture=neutral, processorArchitecture=x86" + "ScatterAssemblies" + { + "_9880DC698C5A69481CED118346702816" + { + "Name" = "8:ThinkGearNET.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:ThinkGearNET.dll" + "TargetName" = "8:" "Tag" = "8:" - "Folder" = "8:_A13667FF10004431ABF4EEB663EF0E2C" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1837,15 +581,15 @@ "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" + "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D670785AC0C94028BDB975198CF3C936" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9D24EB3E19804672B3FC1B60CAE03943" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET.sln" - "TargetName" = "8:ThinkGearNET.sln" + "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Delta.lsd" + "TargetName" = "8:Delta.lsd" "Tag" = "8:" - "Folder" = "8:_A13667FF10004431ABF4EEB663EF0E2C" + "Folder" = "8:_E4E5B7EE01D94A59926DD97BFC70E283" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1860,12 +604,12 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D766236103384AE88F28A14C26BA0B4D" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A50AD2CB84BC4354A0FBDE7F0519C9CC" { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\ThinkGearWrapper.cs" - "TargetName" = "8:ThinkGearWrapper.cs" + "SourcePath" = "8:Banner.jpg" + "TargetName" = "8:LD3Banner.jpg" "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1880,12 +624,23 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DA524075B5A34B2EA6990D7997CCC2CA" + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_AF34FDD9F0B69171CDF8F342588A4B27" { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Gamma.lsd" - "TargetName" = "8:Gamma.lsd" + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:lucidcode.LucidScribe.TCMP, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_AF34FDD9F0B69171CDF8F342588A4B27" + { + "Name" = "8:lucidcode.LucidScribe.TCMP.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:lucidcode.LucidScribe.TCMP.dll" + "TargetName" = "8:" "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" + "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" @@ -1897,7 +652,7 @@ "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" + "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DB5EDEF8D7884AC1BD93265A814D5B33" @@ -1951,66 +706,6 @@ "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E2EB12A483F34623BCA9969E6F1A2981" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNET\\ThinkGearWrapper.cs" - "TargetName" = "8:ThinkGearWrapper.cs" - "Tag" = "8:" - "Folder" = "8:_879E66CFD9614327ABA8545231366E36" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E9762D6A598349C9A848ABD2A08638CA" - { - "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Alpha.lsd" - "TargetName" = "8:Alpha.lsd" - "Tag" = "8:" - "Folder" = "8:_4E72C7D978C747C5A23481148245C44B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EE15A636D11B43808FD10E5AA3B32673" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\ThinkGear.cs" - "TargetName" = "8:ThinkGear.cs" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F11395AD7A8E4FCFB570EC4AD279834E" { "SourcePath" = "8:..\\ThinkGear EEG\\Plugins\\Alpha.lsd" @@ -2031,26 +726,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FFDADC739A344368886559052CD2A882" - { - "SourcePath" = "8:..\\ThinkGear EEG\\ThinkGearNET\\ThinkGearNETTest\\Program.cs" - "TargetName" = "8:Program.cs" - "Tag" = "8:" - "Folder" = "8:_5C51AB878BDD475BB950CEDCD248C51A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } } "FileType" { @@ -2067,160 +742,6 @@ "Property" = "8:TARGETDIR" "Folders" { - "{9EF0B969-E518-4E46-987F-47570745A589}:_CA4CFA1BC13F46788E5737911D1EF7DD" - { - "Name" = "8:Source Code" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_0423563E2DC04E3D8C2CF54526CE1E23" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_4ED188BE6F0F4F0AB3CF7FD17672FAC2" - { - "Name" = "8:NeuroSky.ThinkGear.EEG" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_7726462CA4D3482790D8D6E6255B0C11" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_5FD7FFE05C554A918F551C59A9B355A0" - { - "Name" = "8:Installer" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_B75B027623B646B4899FFE9EF8F74399" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_A3A127BA9DFB48648FF4D7D209D8E5E4" - { - "Name" = "8:ThinkGear EEG" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_E0EB0C275A7C49A6BC02CFE7579E82CA" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_2DD68077B286441E8326123B8787D784" - { - "Name" = "8:Properties" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F37EDAD7C1324A1A9E090026E3F11F2C" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_4E72C7D978C747C5A23481148245C44B" - { - "Name" = "8:Plugins" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_732E39E102F840B9806405E00309CEB9" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_823C10B1A6DA41188A22C0C681F00CA6" - { - "Name" = "8:References" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_46CE9322A5754143B3010EA1165B246F" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_A13667FF10004431ABF4EEB663EF0E2C" - { - "Name" = "8:ThinkGearNET" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_4C5F1F55370646C1A546293F5416489B" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_5C51AB878BDD475BB950CEDCD248C51A" - { - "Name" = "8:ThinkGearNETTest" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_59987C7C108A4F5DB57A80A5413F4F93" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_B8D8248DF4754B6D8F3346BD67DFD371" - { - "Name" = "8:Properties" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F930BF3FC1C74827B194616258FBCE90" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_5D0D411279494194A626D3B89D8173E4" - { - "Name" = "8:docs" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_176E9CB165A34EDAA89B815AA16A8816" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_879E66CFD9614327ABA8545231366E36" - { - "Name" = "8:ThinkGearNET" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_1E577DFB212B47B39DFD5E5F5F7CD052" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_3BD208E6E2914128A55CA1278C6E5CC6" - { - "Name" = "8:Properties" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_E86FAEEA855F4CF6AA1FE8EDDFF563A0" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_EC70CA60BD724895AE5D73B0893A5900" - { - "Name" = "8:docs" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_88CDF25001374EFFB2FD76AD2E0ADEA1" - "Folders" - { - } - } - } - } - } - } - } - } - } - } - } - } } } "{1525181F-901A-416C-8A58-119130FE478E}:_905309E44D1C41E5BE4AF71E0268CAFA" @@ -2305,15 +826,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Lucid Scribe ThinkGear EEG" - "ProductCode" = "8:{DB14E410-F1E8-45BE-B64A-EC814D9329F5}" - "PackageCode" = "8:{48277C01-8883-46A9-ABFD-9B9FF8D5C3CF}" + "ProductCode" = "8:{07DBA5B3-9594-43CD-BF76-A9AD16FA6307}" + "PackageCode" = "8:{F746A652-9C3B-41B2-9D50-F7B6DB3BB611}" "UpgradeCode" = "8:{9B1E2A82-9D73-4675-9717-2311206ABC4E}" "AspNetVersion" = "8:4.0.30319.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:TRUE" - "ProductVersion" = "8:1.1.7" + "ProductVersion" = "8:1.1.8" "Manufacturer" = "8:lucidcode" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:http://www.lucidcode.com/Contact" @@ -2837,7 +1358,7 @@ { "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D5F4677254244E92ACAD2F83F55F5016" { - "SourcePath" = "8:..\\ThinkGear EEG\\obj\\Release\\lucidcode.LucidScribe.Plugin.NeuroSky.ThinkGear.EEG.dll" + "SourcePath" = "8:..\\ThinkGear EEG\\obj\\Debug\\lucidcode.LucidScribe.Plugin.NeuroSky.ThinkGear.EEG.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_491A001224CF4D699EA475B2FB5F2890" diff --git a/ThinkGear EEG/PluginHandler.cs b/ThinkGear EEG/PluginHandler.cs index 790ba71..9e53be3 100644 --- a/ThinkGear EEG/PluginHandler.cs +++ b/ThinkGear EEG/PluginHandler.cs @@ -1,565 +1,593 @@ using System; -using System.Diagnostics; -using System.IO.Ports; -using System.Threading; using System.Windows.Forms; using ThinkGearNET; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Drawing; using System.Linq; -using System.IO; -using System.Xml; namespace lucidcode.LucidScribe.Plugin.NeuroSky.MindSet { - - public static class Device - { - private static ThinkGearWrapper _thinkGearWrapper; - private static bool m_boolInitialized; - private static bool m_boolInitError; - public static String Algorithm; - public static int Threshold; - - private static double m_dblAttention; - private static double m_dblLastAttention; - private static double m_dblBlinkStrength; - private static double m_dblMeditation; - private static double m_dblLastMeditation; - private static double m_dblAlpha; - private static double m_dblLastAlpha; - private static double m_dblBeta; - private static double m_dblLastBeta; - private static double m_dblDelta; - private static double m_dblLastDelta; - private static double m_dblGamma; - private static double m_dblLastGamma; - private static double m_dblTheta; - private static double m_dblLastTheta; - private static double m_dblRaw; - - private static bool ClearDisplay; - private static bool ClearHighscore; - private static double DisplayValue; - private static double HighscoreValue; - - public static Boolean TCMP = false; - public static Boolean NZT48 = false; - - public static EventHandler ThinkGearChanged; - - public static Boolean Initialize() + public static class Device { - try - { - if (!m_boolInitialized && !m_boolInitError) + private static ThinkGearWrapper thinkGearWrapper; + private static bool initialized; + private static bool initError; + + private static double attention; + private static double lastAttention; + private static double blinkStrength; + private static double meditation; + private static double lastMeditation; + private static double alpha; + private static double lastAlpha; + private static double beta; + private static double lastBeta; + private static double delta; + private static double lastDelta; + private static double gamma; + private static double lastGamma; + private static double theta; + private static double lastTheta; + + private static bool clearDisplay; + private static bool clearHighscore; + private static double displayValue; + private static double highscoreValue; + + public static EventHandler ThinkGearChanged; + + static PortForm portForm = new PortForm(); + + public static Boolean Initialize() { - PortForm formPort = new PortForm(); - if (formPort.ShowDialog() == DialogResult.OK) - { try { - _thinkGearWrapper = new ThinkGearWrapper(); - _thinkGearWrapper.ThinkGearChanged += _thinkGearWrapper_ThinkGearChanged; - if (_thinkGearWrapper.Connect(formPort.SelectedPort, 57600, true)) - { - _thinkGearWrapper.EnableBlinkDetection(true); - Algorithm = formPort.Algorithm; - Threshold = formPort.Threshold; - - TCMP = formPort.TCMP; - NZT48 = formPort.NZT48; - - m_boolInitialized = true; - } - else - { - throw new Exception("Could not connect to port " + formPort.SelectedPort + "."); - } + if (!initialized && !initError) + { + if (portForm.ShowDialog() == DialogResult.OK) + { + try + { + thinkGearWrapper = new ThinkGearWrapper(); + thinkGearWrapper.ThinkGearChanged += _thinkGearWrapper_ThinkGearChanged; + if (thinkGearWrapper.Connect(portForm.SelectedPort, 57600, true)) + { + thinkGearWrapper.EnableBlinkDetection(true); + initialized = true; + } + else + { + throw new Exception("Could not connect to port " + portForm.SelectedPort + "."); + } + } + catch (Exception ex) + { + if (!initError) + { + MessageBox.Show(ex.Message, "LucidScribe.InitializePlugin()", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + initError = true; + } + } + else + { + initError = true; + return false; + } + } + return true; } catch (Exception ex) { - if (!m_boolInitError) - { - MessageBox.Show(ex.Message, "LucidScribe.InitializePlugin()", MessageBoxButtons.OK, MessageBoxIcon.Error); - } - m_boolInitError = true; + initError = true; + throw (new Exception("The 'NeuroSky' plugin failed to initialize: " + ex.Message)); } - } - else - { - m_boolInitError = true; - return false; - } } - return true; - } - catch (Exception ex) - { - m_boolInitError = true; - throw (new Exception("The 'NeuroSky' plugin failed to initialize: " + ex.Message)); - } - } - - static void _thinkGearWrapper_ThinkGearChanged(object sender, ThinkGearChangedEventArgs e) - { - m_dblLastAttention = e.ThinkGearState.Attention * 10; - m_dblBlinkStrength = e.ThinkGearState.BlinkStrength * 10; - m_dblLastMeditation = e.ThinkGearState.Meditation * 10; - m_dblLastAlpha = ((e.ThinkGearState.Alpha1 / 100) + (e.ThinkGearState.Alpha2 / 100)) / 2; - m_dblLastBeta = ((e.ThinkGearState.Beta1 / 100) + (e.ThinkGearState.Beta2 / 100)) / 2; - m_dblLastDelta = e.ThinkGearState.Delta / 10000; - m_dblLastGamma = ((e.ThinkGearState.Gamma1 / 100) + (e.ThinkGearState.Gamma2 / 100)) / 2; - m_dblLastTheta = e.ThinkGearState.Theta / 1000; - - if (ClearDisplay) - { - ClearDisplay = false; - DisplayValue = 0; - } - - if (ClearHighscore) - { - ClearHighscore = false; - DisplayValue = 0; - } - - m_dblRaw += e.ThinkGearState.Raw; - - if (e.ThinkGearState.Raw >= HighscoreValue) - { - HighscoreValue = e.ThinkGearState.Raw; - } - - if (e.ThinkGearState.Raw >= DisplayValue) - { - DisplayValue = e.ThinkGearState.Raw; - } - - if (ThinkGearChanged != null) - { - ThinkGearChanged(sender, e); - } - } + public static string Algorithm + { + get + { + return portForm.Algorithm; + } + } + public static int Threshold + { + get + { + return portForm.Threshold; + } + } - public static void Dispose() - { - _thinkGearWrapper.ThinkGearChanged -= _thinkGearWrapper_ThinkGearChanged; - _thinkGearWrapper.Disconnect(); - } - - public static Double GetEEG() - { - double temp = DisplayValue; - ClearDisplay = true; - return DisplayValue; - } - - public static Double GetHighscore() - { - double temp = HighscoreValue; - ClearHighscore = true; - return HighscoreValue; - } - - public static Double GetREM() - { - return 0; - } - - public static Double GetAttention() - { - if (m_dblLastAttention > m_dblAttention) - { - m_dblAttention += (m_dblLastAttention / 100); - } - else - { - m_dblAttention -= (m_dblLastAttention / 100); - } - return m_dblAttention; - } + public static bool TCMP + { + get + { + return portForm.TCMP; + } + } - public static Double GetMeditation() - { - if (m_dblLastMeditation > m_dblMeditation) - { - m_dblMeditation += (m_dblLastMeditation / 100); - } - else - { - m_dblMeditation -= (m_dblLastMeditation / 100); - } - return m_dblMeditation; - } + public static bool NZT48 + { + get + { + return portForm.NZT48; + } + } - public static Double GetAlpha() - { - if (m_dblLastAlpha > m_dblAlpha) - { - m_dblAlpha += (m_dblLastAlpha / 100); - } - else - { - m_dblAlpha -= (m_dblLastAlpha / 100); - } - return m_dblAlpha; - } + public static bool Normalize + { + get + { + return portForm.Normalize; + } + } - public static Double GetBeta() - { - if (m_dblLastBeta > m_dblBeta) - { - m_dblBeta += (m_dblLastBeta / 100); - } - else - { - m_dblBeta -= (m_dblLastBeta / 100); - } - return m_dblBeta; - } + static void _thinkGearWrapper_ThinkGearChanged(object sender, ThinkGearChangedEventArgs e) + { + lastAttention = e.ThinkGearState.Attention * 10; + blinkStrength = e.ThinkGearState.BlinkStrength * 10; + lastMeditation = e.ThinkGearState.Meditation * 10; + lastAlpha = ((e.ThinkGearState.Alpha1 / 100) + (e.ThinkGearState.Alpha2 / 100)) / 2; + lastBeta = ((e.ThinkGearState.Beta1 / 100) + (e.ThinkGearState.Beta2 / 100)) / 2; + lastDelta = e.ThinkGearState.Delta / 10000; + lastGamma = ((e.ThinkGearState.Gamma1 / 100) + (e.ThinkGearState.Gamma2 / 100)) / 2; + lastTheta = e.ThinkGearState.Theta / 1000; + + if (clearDisplay) + { + clearDisplay = false; + displayValue = 0; + } - public static Double GetDelta() - { - if (m_dblLastDelta > m_dblDelta) - { - m_dblDelta += (m_dblLastDelta / 100); - } - else - { - m_dblDelta -= (m_dblLastDelta / 100); - } - return m_dblDelta; - } + if (clearHighscore) + { + clearHighscore = false; + highscoreValue = 0; + } - public static Double GetGamma() - { - if (m_dblLastGamma > m_dblGamma) - { - m_dblGamma += (m_dblLastGamma / 100); - } - else - { - m_dblGamma -= (m_dblLastGamma / 100); - } - return m_dblGamma; - } + if (e.ThinkGearState.Raw >= highscoreValue) + { + highscoreValue = e.ThinkGearState.Raw; + } - public static Double GetTheta() - { - if (m_dblLastTheta > m_dblTheta) - { - m_dblTheta += (m_dblLastTheta / 100); - } - else - { - m_dblTheta -= (m_dblLastTheta / 100); - } - return m_dblTheta; - } + if (e.ThinkGearState.Raw >= displayValue) + { + displayValue = e.ThinkGearState.Raw; + } - public static Double GetBlinkStrength() - { - return m_dblBlinkStrength; - } - } + if (ThinkGearChanged != null) + { + ThinkGearChanged(sender, e); + } + } - namespace EEG - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase - { - public override string Name - { - get { return "NeuroSky EEG"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public static void Dispose() { - double dblValue = Device.GetEEG(); - if (dblValue > 999) { dblValue = 999; } - if (dblValue < 0) { dblValue = 0; } - return dblValue; + thinkGearWrapper.ThinkGearChanged -= _thinkGearWrapper_ThinkGearChanged; + thinkGearWrapper.Disconnect(); } - } - } - } - namespace RAW - { - public class PluginHandler : lucidcode.LucidScribe.Interface.ILluminatedPlugin - { - public string Name - { - get { return "NeuroSky RAW"; } - } - public bool Initialize() - { - bool initialized = Device.Initialize(); - Device.ThinkGearChanged += _thinkGearWrapper_ThinkGearChanged; - return initialized; - } - - public event Interface.SenseHandler Sensed; - public void _thinkGearWrapper_ThinkGearChanged(object sender, ThinkGearChangedEventArgs e) - { - if (ClearTicks) + public static Double GetEEG() { - ClearTicks = false; - TickCount = ""; + double temp = displayValue; + clearDisplay = true; + return temp; } - TickCount += e.ThinkGearState.Raw + ","; - if (ClearBuffer) + public static Double GetHighscore() { - ClearBuffer = false; - BufferData = ""; + double temp = highscoreValue; + clearHighscore = true; + return temp; } - BufferData += e.ThinkGearState.Raw + ","; - } - - public void Dispose() - { - Device.ThinkGearChanged -= _thinkGearWrapper_ThinkGearChanged; - Device.Dispose(); - } - - public Boolean isEnabled = false; - public Boolean Enabled - { - get + + public static Double GetREM() { - return isEnabled; + return 0; } - set + + public static Double GetAttention() { - isEnabled = value; + if (lastAttention > attention) + { + attention += (lastAttention / 100); + } + else + { + attention -= (lastAttention / 100); + } + return attention; } - } - public Color PluginColor = Color.White; - public Color Color - { - get + public static Double GetMeditation() { - return Color; + if (lastMeditation > meditation) + { + meditation += (lastMeditation / 100); + } + else + { + meditation -= (lastMeditation / 100); + } + return meditation; } - set + + public static Double GetAlpha() { - Color = value; + if (lastAlpha > alpha) + { + alpha += (lastAlpha / 100); + } + else + { + alpha -= (lastAlpha / 100); + } + return alpha; } - } - private Boolean ClearTicks = false; - public String TickCount = ""; - public String Ticks - { - get + public static Double GetBeta() { - ClearTicks = true; - return TickCount; + if (lastBeta > beta) + { + beta += (lastBeta / 100); + } + else + { + beta -= (lastBeta / 100); + } + return beta; } - set + + public static Double GetDelta() { - TickCount = value; + if (lastDelta > delta) + { + delta += (lastDelta / 100); + } + else + { + delta -= (lastDelta / 100); + } + return delta; } - } - private Boolean ClearBuffer = false; - public String BufferData = ""; - public String Buffer - { - get + public static Double GetGamma() { - ClearBuffer = true; - return BufferData; + if (lastGamma > gamma) + { + gamma += (lastGamma / 100); + } + else + { + gamma -= (lastGamma / 100); + } + return gamma; } - set + + public static Double GetTheta() { - BufferData = value; + if (lastTheta > theta) + { + theta += (lastTheta / 100); + } + else + { + theta -= (lastTheta / 100); + } + return theta; } - } - int lastHour; - public int LastHour - { - get + public static Double GetBlinkStrength() { - return lastHour; + return blinkStrength; } - set + } + + namespace EEG + { + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - lastHour = value; + public override string Name + { + get { return "NeuroSky EEG"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double eegValue = Device.GetEEG(); + + if (Device.Normalize) + { + if (eegValue > 999) { eegValue = 999; } + if (eegValue < 0) { eegValue = 0; } + } + + return eegValue; + } + } } - } } - } - namespace RapidEyeMovement - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace RAW { - List m_arrHistory = new List(); - public override string Name - { - get { return "NeuroSky REM"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.ILluminatedPlugin { - double dblEEG = Device.GetEEG(); - if (dblEEG > 999) { dblEEG = 999; } - if (dblEEG < 0) { dblEEG = 0; } + public string Name + { + get { return "NeuroSky RAW"; } + } + public bool Initialize() + { + bool initialized = Device.Initialize(); + Device.ThinkGearChanged += _thinkGearWrapper_ThinkGearChanged; + return initialized; + } - if (Device.Algorithm == "REM Detector") - { - // Update the mem list - m_arrHistory.Add(Convert.ToInt32(dblEEG)); - if (m_arrHistory.Count > 512) { m_arrHistory.RemoveAt(0); } - - // Check for blinks - int intBlinks = 0; - bool boolBlinking = false; - - int intBelow = 0; - int intAbove = 0; - - bool boolDreaming = false; - foreach (Double dblValue in m_arrHistory) - { - if (dblValue > Device.Threshold) - { - intAbove += 1; - intBelow = 0; - } - else - { - intBelow += 1; - intAbove = 0; - } - - if (!boolBlinking) - { - if (intAbove >= 1) + public event Interface.SenseHandler Sensed; + public void _thinkGearWrapper_ThinkGearChanged(object sender, ThinkGearChangedEventArgs e) + { + if (ClearTicks) { - boolBlinking = true; - intBlinks += 1; - intAbove = 0; - intBelow = 0; + ClearTicks = false; + TickCount = ""; } - } - else - { - if (intBelow >= 28) + TickCount += e.ThinkGearState.Raw + ","; + + if (ClearBuffer) { - boolBlinking = false; - intBelow = 0; - intAbove = 0; + ClearBuffer = false; + BufferData = ""; } - else + BufferData += e.ThinkGearState.Raw + ","; + } + + public void Dispose() + { + Device.ThinkGearChanged -= _thinkGearWrapper_ThinkGearChanged; + Device.Dispose(); + } + + public Boolean isEnabled = false; + public Boolean Enabled + { + get { - if (intAbove >= 12) - { - // reset - boolBlinking = false; - intBlinks = 0; - intBelow = 0; - intAbove = 0; - } + return isEnabled; } - } - - if (intBlinks > 6) - { - boolDreaming = true; - break; - } - - if (intAbove > 12) - { // reset - boolBlinking = false; - intBlinks = 0; - intBelow = 0; - intAbove = 0; ; - } - if (intBelow > 80) - { // reset - boolBlinking = false; - intBlinks = 0; - intBelow = 0; - intAbove = 0; ; - } - } - - if (boolDreaming) - { - return 888; - } - - if (intBlinks > 10) { intBlinks = 10; } - return intBlinks * 100; - } - else if (Device.Algorithm == "Gamma Detector") - { - if (Device.GetGamma() >= Device.Threshold) + set + { + isEnabled = value; + } + } + + public Color PluginColor = Color.White; + public Color Color { - return 888; + get + { + return Color; + } + set + { + Color = value; + } } - } - else if (Device.Algorithm == "Motion Detector") - { - if (dblEEG >= Device.Threshold) + + private Boolean ClearTicks = false; + public String TickCount = ""; + public String Ticks { - return 888; + get + { + ClearTicks = true; + return TickCount; + } + set + { + TickCount = value; + } } - } - return 0; - } - } + private Boolean ClearBuffer = false; + public String BufferData = ""; + public String Buffer + { + get + { + ClearBuffer = true; + return BufferData; + } + set + { + BufferData = value; + } + } + int lastHour; + public int LastHour + { + get + { + return lastHour; + } + set + { + lastHour = value; + } + } + } } - } - namespace TCMP - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase, lucidcode.LucidScribe.TCMP.ITransConsciousnessPlugin + namespace RapidEyeMovement { - - public override string Name - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - return "NS TCMP"; - } - } + List m_arrHistory = new List(); + public override string Name + { + get { return "NeuroSky REM"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double eegValue = Device.GetEEG(); + + if (Device.Normalize) + { + if (eegValue > 999) { eegValue = 999; } + if (eegValue < 0) { eegValue = 0; } + } + + if (Device.Algorithm == "REM Detector") + { + // Update the mem list + m_arrHistory.Add(Convert.ToInt32(eegValue)); + if (m_arrHistory.Count > 512) { m_arrHistory.RemoveAt(0); } + + // Check for blinks + int intBlinks = 0; + bool boolBlinking = false; + + int intBelow = 0; + int intAbove = 0; + + bool boolDreaming = false; + foreach (Double dblValue in m_arrHistory) + { + if (dblValue > Device.Threshold) + { + intAbove += 1; + intBelow = 0; + } + else + { + intBelow += 1; + intAbove = 0; + } + + if (!boolBlinking) + { + if (intAbove >= 1) + { + boolBlinking = true; + intBlinks += 1; + intAbove = 0; + intBelow = 0; + } + } + else + { + if (intBelow >= 28) + { + boolBlinking = false; + intBelow = 0; + intAbove = 0; + } + else + { + if (intAbove >= 12) + { + // reset + boolBlinking = false; + intBlinks = 0; + intBelow = 0; + intAbove = 0; + } + } + } + + if (intBlinks > 6) + { + boolDreaming = true; + break; + } + + if (intAbove > 12) + { // reset + boolBlinking = false; + intBlinks = 0; + intBelow = 0; + intAbove = 0; ; + } + if (intBelow > 80) + { // reset + boolBlinking = false; + intBlinks = 0; + intBelow = 0; + intAbove = 0; ; + } + } + + if (boolDreaming) + { + return 888; + } + + if (intBlinks > 10) { intBlinks = 10; } + return intBlinks * 100; + } + else if (Device.Algorithm == "Gamma Detector") + { + if (Device.GetGamma() >= Device.Threshold) + { + return 888; + } + } + else if (Device.Algorithm == "Motion Detector") + { + if (eegValue >= Device.Threshold) + { + return 888; + } + } + + return 0; + } + } - public override bool Initialize() - { - try - { - return Device.Initialize(); } - catch (Exception ex) + } + + namespace TCMP + { + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase, lucidcode.LucidScribe.TCMP.ITransConsciousnessPlugin { - throw (new Exception("The '" + Name + "' plugin failed to initialize: " + ex.Message)); - } - } - private static String Morse = ""; - Dictionary Code = new Dictionary() + public override string Name + { + get + { + return "NS TCMP"; + } + } + + public override bool Initialize() + { + try + { + return Device.Initialize(); + } + catch (Exception ex) + { + throw (new Exception("The '" + Name + "' plugin failed to initialize: " + ex.Message)); + } + } + + private static String Morse = ""; + Dictionary Code = new Dictionary() { {'A' , ".-"}, {'B' , "-..."}, @@ -599,460 +627,518 @@ public override bool Initialize() {'9' , "----."}, }; - List m_arrHistory = new List(); - Boolean FirstTick = false; - Boolean SpaceSent = true; - int TicksSinceSpace = 0; - Boolean Started = false; - int PreliminaryTicks = 0; - - public override double Value - { - get - { - if (!Device.TCMP) { return 0; } - - double tempValue = Device.GetEEG(); - if (tempValue > 999) { tempValue = 999; } - if (tempValue < 0) { tempValue = 0; } + List m_arrHistory = new List(); + Boolean FirstTick = false; + Boolean SpaceSent = true; + int TicksSinceSpace = 0; + Boolean Started = false; + int PreliminaryTicks = 0; - if (!Started) - { - PreliminaryTicks++; - if (PreliminaryTicks > 10) + public override double Value { - Started = true; + get + { + if (!Device.TCMP) { return 0; } + + double eegValue = Device.GetEEG(); + + if (Device.Normalize) + { + if (eegValue > 999) { eegValue = 999; } + if (eegValue < 0) { eegValue = 0; } + } + + if (!Started) + { + PreliminaryTicks++; + if (PreliminaryTicks > 10) + { + Started = true; + } + + return 0; + } + + int signalLength = 0; + int dotHeight = 500; + int dashHeight = 900; + + // Update the mem list + String signal = ""; + + if (!FirstTick && (eegValue > dotHeight)) + { + m_arrHistory.Add(Convert.ToInt32(eegValue)); + } + + if (!FirstTick && m_arrHistory.Count > 0) + { + m_arrHistory.Add(Convert.ToInt32(eegValue)); + } + + if (FirstTick && (eegValue > dotHeight)) + { + FirstTick = false; + } + + if (!SpaceSent & m_arrHistory.Count == 0) + { + TicksSinceSpace++; + if (TicksSinceSpace > 32) + { + // Send the space key + Morse = " "; + SendKeys.Send(" "); + SpaceSent = true; + TicksSinceSpace = 0; + } + } + + if (!FirstTick && m_arrHistory.Count > 32) + { + int nextOffset = 0; + do + { + int fivePointValue = 0; + for (int i = nextOffset; i < m_arrHistory.Count; i++) + { + for (int x = i; x < m_arrHistory.Count; x++) + { + if (m_arrHistory[x] > fivePointValue) + { + fivePointValue = m_arrHistory[x]; + } + + if (m_arrHistory[x] < 300) + { + nextOffset = x + 1; + break; + } + + if (x == m_arrHistory.Count - 1) + { + nextOffset = -1; + } + } + + if (fivePointValue >= dashHeight) + { + signal += "-"; + signalLength++; + break; + } + else if (fivePointValue >= dotHeight) + { + signal += "."; + signalLength++; + break; + } + + if (i == m_arrHistory.Count - 1) + { + nextOffset = -1; + } + + } + + if (nextOffset < 0 | nextOffset == m_arrHistory.Count) + { + break; + } + + } while (true); + + m_arrHistory.RemoveAt(0); + + // Check if the signal is morse + try + { + // Make sure that we have a signal + if (signal != "") + { + var myValue = Code.First(x => x.Value == signal); + Morse = myValue.Key.ToString(); + SendKeys.Send(myValue.Key.ToString()); + signal = ""; + m_arrHistory.Clear(); + SpaceSent = false; + TicksSinceSpace = 0; + } + } + catch (Exception ex) + { + String err = ex.Message; + } + } + + if (m_arrHistory.Count > 0) + { return 888; } + + return 0; + } } - return 0; - } - - int signalLength = 0; - int dotHeight = 500; - int dashHeight = 900; - - // Update the mem list - String signal = ""; - - if (!FirstTick && (tempValue > dotHeight)) - { - m_arrHistory.Add(Convert.ToInt32(tempValue)); - } - - if (!FirstTick && m_arrHistory.Count > 0) - { - m_arrHistory.Add(Convert.ToInt32(tempValue)); - } - - if (FirstTick && (tempValue > dotHeight)) - { - FirstTick = false; - } + string lucidcode.LucidScribe.TCMP.ITransConsciousnessPlugin.MorseCode + { + get + { + String temp = Morse; + Morse = ""; + return temp; + } + } - if (!SpaceSent & m_arrHistory.Count == 0) - { - TicksSinceSpace++; - if (TicksSinceSpace > 32) + public override void Dispose() { - // Send the space key - Morse = " "; - SendKeys.Send(" "); - SpaceSent = true; - TicksSinceSpace = 0; + Device.Dispose(); } - } - if (!FirstTick && m_arrHistory.Count > 32) - { - int nextOffset = 0; - do + } + } + + namespace NZT48 + { + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + { + + public override string Name { - int fivePointValue = 0; - for (int i = nextOffset; i < m_arrHistory.Count; i++) - { - for (int x = i; x < m_arrHistory.Count; x++) + get { - if (m_arrHistory[x] > fivePointValue) - { - fivePointValue = m_arrHistory[x]; - } - - if (m_arrHistory[x] < 300) - { - nextOffset = x + 1; - break; - } - - if (x == m_arrHistory.Count - 1) - { - nextOffset = -1; - } + return "NZT-48"; } + } - if (fivePointValue >= dashHeight) + public override bool Initialize() + { + try { - signal += "-"; - signalLength++; - break; + return Device.Initialize(); } - else if (fivePointValue >= dotHeight) + catch (Exception ex) { - signal += "."; - signalLength++; - break; + throw (new Exception("The '" + Name + "' plugin failed to initialize: " + ex.Message)); } + } - if (i == m_arrHistory.Count - 1) + public override double Value + { + get { - nextOffset = -1; - } + if (!Device.NZT48) { return 0; } - } + double betaValue = 0; - if (nextOffset < 0 | nextOffset == m_arrHistory.Count) - { - break; - } + if (Device.Algorithm == "Beta") + { + betaValue = Device.GetBeta(); + } - } while (true); + if (Device.Normalize) + { + if (betaValue > 999) { betaValue = 999; } + if (betaValue < 0) { betaValue = 0; } + } - m_arrHistory.RemoveAt(0); + if (betaValue > Device.Threshold) + { + return 888; + } - // Check if the signal is morse - try - { - // Make sure that we have a signal - if (signal != "") - { - var myValue = Code.First(x => x.Value == signal); - Morse = myValue.Key.ToString(); - SendKeys.Send(myValue.Key.ToString()); - signal = ""; - m_arrHistory.Clear(); - SpaceSent = false; - TicksSinceSpace = 0; - } + return 0; + } } - catch (Exception ex) + + public override void Dispose() { - String err = ex.Message; + Device.Dispose(); } - } - - if (m_arrHistory.Count > 0) - { return 888; } - return 0; - } - } - - string lucidcode.LucidScribe.TCMP.ITransConsciousnessPlugin.MorseCode - { - get - { - String temp = Morse; - Morse = ""; - return temp; } - } - - public override void Dispose() - { - Device.Dispose(); - } - } - } - namespace NZT48 - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Attention { - - public override string Name - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - return "NZT-48"; - } - } - - public override bool Initialize() - { - try - { - return Device.Initialize(); - } - catch (Exception ex) - { - throw (new Exception("The '" + Name + "' plugin failed to initialize: " + ex.Message)); - } - } - - public override double Value - { - get - { - if (!Device.NZT48) { return 0; } - - double tempValue = 0; - - if (Device.Algorithm == "Beta") - { - tempValue = Device.GetBeta(); - } - - if (tempValue > 999) { tempValue = 999; } - if (tempValue < 0) { tempValue = 0; } + public override string Name + { + get { return "Attention"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double attentionValue = Device.GetAttention(); - if (tempValue > Device.Threshold) - { - return 888; - } + if (Device.Normalize) + { + if (attentionValue > 999) { attentionValue = 999; } + if (attentionValue < 0) { attentionValue = 0; } + } - return 0; + return attentionValue; + } + } } - } - - public override void Dispose() - { - Device.Dispose(); - } - } - } - namespace Attention - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Meditation { - public override string Name - { - get { return "Attention"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetAttention(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; - } - } - } - } + public override string Name + { + get { return "Meditation"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double meditationValue = Device.GetMeditation(); - namespace Meditation - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase - { - public override string Name - { - get { return "Meditation"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get - { - double dblValue = Device.GetMeditation(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + if (Device.Normalize) + { + if (meditationValue > 999) { meditationValue = 999; } + if (meditationValue < 0) { meditationValue = 0; } + } + + return meditationValue; + } + } } - } } - } - namespace Alpha - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Alpha { - public override string Name - { - get { return "Alpha"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetAlpha(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Alpha"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double alphaValue = Device.GetAlpha(); + + if (Device.Normalize) + { + if (alphaValue > 999) { alphaValue = 999; } + if (alphaValue < 0) { alphaValue = 0; } + } + + return alphaValue; + } + } } - } } - } - namespace Beta - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Beta { - public override string Name - { - get { return "Beta"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetBeta(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Beta"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double betaValue = Device.GetBeta(); + + if (Device.Normalize) + { + if (betaValue > 999) { betaValue = 999; } + if (betaValue < 0) { betaValue = 0; } + } + + return betaValue; + } + } } - } } - } - namespace Delta - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Delta { - public override string Name - { - get { return "Delta"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetDelta(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Delta"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double deltaValue = Device.GetDelta(); + + if (Device.Normalize) + { + if (deltaValue > 999) { deltaValue = 999; } + if (deltaValue < 0) { deltaValue = 0; } + } + + return deltaValue; + } + } } - } } - } - namespace Gamma - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Gamma { - public override string Name - { - get { return "Gamma"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetGamma(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Gamma"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double gammaValue = Device.GetGamma(); + + if (Device.Normalize) + { + if (gammaValue > 999) { gammaValue = 999; } + if (gammaValue < 0) { gammaValue = 0; } + } + + return gammaValue; + } + } } - } } - } - namespace Theta - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace Theta { - public override string Name - { - get { return "Theta"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetTheta(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Theta"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double thetaValue = Device.GetTheta(); + + if (Device.Normalize) + { + if (thetaValue > 999) { thetaValue = 999; } + if (thetaValue < 0) { thetaValue = 0; } + } + + return thetaValue; + } + } } - } } - } - namespace BlinkStrength - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace BlinkStrength { - public override string Name - { - get { return "Blink Strength"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetBlinkStrength(); - if (dblValue > 999) { dblValue = 999; } - return dblValue; + public override string Name + { + get { return "Blink Strength"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double blinkStrengthValue = Device.GetBlinkStrength(); + + if (Device.Normalize) + { + if (blinkStrengthValue > 999) { blinkStrengthValue = 999; } + if (blinkStrengthValue < 0) { blinkStrengthValue = 0; } + } + + return blinkStrengthValue; + } + } } - } } - } - namespace BlinkClick - { - public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase + namespace BlinkClick { - [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] - public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, uint dwExtraInfo); - - private const int MOUSEEVENTF_LEFTDOWN = 0x02; - private const int MOUSEEVENTF_LEFTUP = 0x04; - - public override string Name - { - get { return "Blink Click"; } - } - public override bool Initialize() - { - return Device.Initialize(); - } - public override double Value - { - get + public class PluginHandler : lucidcode.LucidScribe.Interface.LucidPluginBase { - double dblValue = Device.GetEEG(); - if (dblValue > 999) { dblValue = 999; } - if (dblValue == 999) - { - dblValue = 888; - uint X = (uint)Cursor.Position.X; - uint Y = (uint)Cursor.Position.Y; - mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, X, Y, 0, 0); - } - else - { - dblValue = 0; - } - return dblValue; + [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] + public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, uint dwExtraInfo); + + private const int MOUSEEVENTF_LEFTDOWN = 0x02; + private const int MOUSEEVENTF_LEFTUP = 0x04; + + public override string Name + { + get { return "Blink Click"; } + } + public override bool Initialize() + { + return Device.Initialize(); + } + public override double Value + { + get + { + double eegValue = Device.GetEEG(); + + if (eegValue > 999) { eegValue = 999; } + + if (eegValue == 999) + { + eegValue = 888; + uint X = (uint)Cursor.Position.X; + uint Y = (uint)Cursor.Position.Y; + mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, X, Y, 0, 0); + } + else + { + eegValue = 0; + } + + return eegValue; + } + } } - } } - } } diff --git a/ThinkGear EEG/PortForm.Designer.cs b/ThinkGear EEG/PortForm.Designer.cs index 9e5cd0a..a6470ff 100644 --- a/ThinkGear EEG/PortForm.Designer.cs +++ b/ThinkGear EEG/PortForm.Designer.cs @@ -28,264 +28,267 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortForm)); - this.pnlPlugins = new lucidcode.Controls.Panel3D(); - this.lstPorts = new System.Windows.Forms.ListView(); - this.mnuPortsList = new System.Windows.Forms.ContextMenuStrip(this.components); - this.mnuRefreshPorts = new System.Windows.Forms.ToolStripMenuItem(); - this.lstImg = new System.Windows.Forms.ImageList(this.components); - this.Panel3D4 = new lucidcode.Controls.Panel3D(); - this.Label5 = new System.Windows.Forms.Label(); - this.Label6 = new System.Windows.Forms.Label(); - this.panel3D3 = new lucidcode.Controls.Panel3D(); - this.btnBrowse = new System.Windows.Forms.Button(); - this.txtVideo = new System.Windows.Forms.TextBox(); - this.chkNZT48 = new System.Windows.Forms.CheckBox(); - this.chkTCMP = new System.Windows.Forms.CheckBox(); - this.label8 = new System.Windows.Forms.Label(); - this.cmbAlgorithm = new System.Windows.Forms.ComboBox(); - this.label2 = new System.Windows.Forms.Label(); - this.panel3D5 = new lucidcode.Controls.Panel3D(); - this.label3 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.cmbThreshold = new System.Windows.Forms.ComboBox(); - this.pnlPlugins.SuspendLayout(); - this.mnuPortsList.SuspendLayout(); - this.Panel3D4.SuspendLayout(); - this.panel3D3.SuspendLayout(); - this.panel3D5.SuspendLayout(); - this.SuspendLayout(); - // - // pnlPlugins - // - this.pnlPlugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortForm)); + this.pnlPlugins = new lucidcode.Controls.Panel3D(); + this.lstPorts = new System.Windows.Forms.ListView(); + this.mnuPortsList = new System.Windows.Forms.ContextMenuStrip(this.components); + this.mnuRefreshPorts = new System.Windows.Forms.ToolStripMenuItem(); + this.lstImg = new System.Windows.Forms.ImageList(this.components); + this.Panel3D4 = new lucidcode.Controls.Panel3D(); + this.Label5 = new System.Windows.Forms.Label(); + this.Label6 = new System.Windows.Forms.Label(); + this.panel3D3 = new lucidcode.Controls.Panel3D(); + this.btnBrowse = new System.Windows.Forms.Button(); + this.txtVideo = new System.Windows.Forms.TextBox(); + this.chkNZT48 = new System.Windows.Forms.CheckBox(); + this.chkTCMP = new System.Windows.Forms.CheckBox(); + this.label8 = new System.Windows.Forms.Label(); + this.cmbAlgorithm = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.panel3D5 = new lucidcode.Controls.Panel3D(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.cmbThreshold = new System.Windows.Forms.ComboBox(); + this.chkNormalize = new System.Windows.Forms.CheckBox(); + this.pnlPlugins.SuspendLayout(); + this.mnuPortsList.SuspendLayout(); + this.Panel3D4.SuspendLayout(); + this.panel3D3.SuspendLayout(); + this.panel3D5.SuspendLayout(); + this.SuspendLayout(); + // + // pnlPlugins + // + this.pnlPlugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.pnlPlugins.BackColor = System.Drawing.Color.White; - this.pnlPlugins.Controls.Add(this.lstPorts); - this.pnlPlugins.Controls.Add(this.Panel3D4); - this.pnlPlugins.Location = new System.Drawing.Point(12, 12); - this.pnlPlugins.Name = "pnlPlugins"; - this.pnlPlugins.Size = new System.Drawing.Size(360, 260); - this.pnlPlugins.TabIndex = 5; - // - // lstPorts - // - this.lstPorts.Activation = System.Windows.Forms.ItemActivation.OneClick; - this.lstPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.pnlPlugins.BackColor = System.Drawing.Color.White; + this.pnlPlugins.Controls.Add(this.lstPorts); + this.pnlPlugins.Controls.Add(this.Panel3D4); + this.pnlPlugins.Location = new System.Drawing.Point(12, 12); + this.pnlPlugins.Name = "pnlPlugins"; + this.pnlPlugins.Size = new System.Drawing.Size(360, 260); + this.pnlPlugins.TabIndex = 5; + // + // lstPorts + // + this.lstPorts.Activation = System.Windows.Forms.ItemActivation.OneClick; + this.lstPorts.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.lstPorts.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.lstPorts.ContextMenuStrip = this.mnuPortsList; - this.lstPorts.LargeImageList = this.lstImg; - this.lstPorts.Location = new System.Drawing.Point(3, 25); - this.lstPorts.MultiSelect = false; - this.lstPorts.Name = "lstPorts"; - this.lstPorts.Size = new System.Drawing.Size(354, 232); - this.lstPorts.TabIndex = 8; - this.lstPorts.TileSize = new System.Drawing.Size(150, 32); - this.lstPorts.UseCompatibleStateImageBehavior = false; - this.lstPorts.View = System.Windows.Forms.View.Tile; - this.lstPorts.SelectedIndexChanged += new System.EventHandler(this.lstPlaylists_SelectedIndexChanged); - this.lstPorts.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lstPlaylists_MouseMove); - // - // mnuPortsList - // - this.mnuPortsList.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.lstPorts.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.lstPorts.ContextMenuStrip = this.mnuPortsList; + this.lstPorts.HideSelection = false; + this.lstPorts.LargeImageList = this.lstImg; + this.lstPorts.Location = new System.Drawing.Point(3, 25); + this.lstPorts.MultiSelect = false; + this.lstPorts.Name = "lstPorts"; + this.lstPorts.Size = new System.Drawing.Size(354, 232); + this.lstPorts.TabIndex = 0; + this.lstPorts.TileSize = new System.Drawing.Size(150, 32); + this.lstPorts.UseCompatibleStateImageBehavior = false; + this.lstPorts.View = System.Windows.Forms.View.Tile; + this.lstPorts.SelectedIndexChanged += new System.EventHandler(this.lstPlaylists_SelectedIndexChanged); + this.lstPorts.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lstPlaylists_MouseMove); + // + // mnuPortsList + // + this.mnuPortsList.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuRefreshPorts}); - this.mnuPortsList.Name = "contextMenuStrip1"; - this.mnuPortsList.Size = new System.Drawing.Size(114, 26); - // - // mnuRefreshPorts - // - this.mnuRefreshPorts.Name = "mnuRefreshPorts"; - this.mnuRefreshPorts.Size = new System.Drawing.Size(113, 22); - this.mnuRefreshPorts.Text = "&Refresh"; - this.mnuRefreshPorts.Click += new System.EventHandler(this.mnuRefresh_Click); - // - // lstImg - // - this.lstImg.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("lstImg.ImageStream"))); - this.lstImg.TransparentColor = System.Drawing.Color.Transparent; - this.lstImg.Images.SetKeyName(0, "Graph.Plugin2.bmp"); - // - // Panel3D4 - // - this.Panel3D4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.mnuPortsList.Name = "contextMenuStrip1"; + this.mnuPortsList.Size = new System.Drawing.Size(114, 26); + // + // mnuRefreshPorts + // + this.mnuRefreshPorts.Name = "mnuRefreshPorts"; + this.mnuRefreshPorts.Size = new System.Drawing.Size(113, 22); + this.mnuRefreshPorts.Text = "&Refresh"; + this.mnuRefreshPorts.Click += new System.EventHandler(this.mnuRefresh_Click); + // + // lstImg + // + this.lstImg.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("lstImg.ImageStream"))); + this.lstImg.TransparentColor = System.Drawing.Color.Transparent; + this.lstImg.Images.SetKeyName(0, "Graph.Plugin2.bmp"); + // + // Panel3D4 + // + this.Panel3D4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Panel3D4.BackColor = System.Drawing.Color.SteelBlue; - this.Panel3D4.Controls.Add(this.Label5); - this.Panel3D4.Controls.Add(this.Label6); - this.Panel3D4.Location = new System.Drawing.Point(0, 0); - this.Panel3D4.Name = "Panel3D4"; - this.Panel3D4.Size = new System.Drawing.Size(360, 24); - this.Panel3D4.TabIndex = 4; - // - // Label5 - // - this.Label5.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.Label5.ForeColor = System.Drawing.Color.White; - this.Label5.Image = ((System.Drawing.Image)(resources.GetObject("Label5.Image"))); - this.Label5.Location = new System.Drawing.Point(3, 3); - this.Label5.Name = "Label5"; - this.Label5.Size = new System.Drawing.Size(19, 19); - this.Label5.TabIndex = 4; - this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // Label6 - // - this.Label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Panel3D4.BackColor = System.Drawing.Color.SteelBlue; + this.Panel3D4.Controls.Add(this.Label5); + this.Panel3D4.Controls.Add(this.Label6); + this.Panel3D4.Location = new System.Drawing.Point(0, 0); + this.Panel3D4.Name = "Panel3D4"; + this.Panel3D4.Size = new System.Drawing.Size(360, 24); + this.Panel3D4.TabIndex = 4; + // + // Label5 + // + this.Label5.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); + this.Label5.ForeColor = System.Drawing.Color.White; + this.Label5.Image = ((System.Drawing.Image)(resources.GetObject("Label5.Image"))); + this.Label5.Location = new System.Drawing.Point(3, 3); + this.Label5.Name = "Label5"; + this.Label5.Size = new System.Drawing.Size(19, 19); + this.Label5.TabIndex = 4; + this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // Label6 + // + this.Label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Label6.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); - this.Label6.ForeColor = System.Drawing.Color.White; - this.Label6.Location = new System.Drawing.Point(24, 3); - this.Label6.Name = "Label6"; - this.Label6.Size = new System.Drawing.Size(333, 19); - this.Label6.TabIndex = 3; - this.Label6.Text = "Select port to connect"; - this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // panel3D3 - // - this.panel3D3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.Label6.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); + this.Label6.ForeColor = System.Drawing.Color.White; + this.Label6.Location = new System.Drawing.Point(24, 3); + this.Label6.Name = "Label6"; + this.Label6.Size = new System.Drawing.Size(333, 19); + this.Label6.TabIndex = 3; + this.Label6.Text = "Select port to connect"; + this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // panel3D3 + // + this.panel3D3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.panel3D3.BackColor = System.Drawing.Color.LightSteelBlue; - this.panel3D3.Controls.Add(this.btnBrowse); - this.panel3D3.Controls.Add(this.txtVideo); - this.panel3D3.Controls.Add(this.chkNZT48); - this.panel3D3.Controls.Add(this.chkTCMP); - this.panel3D3.Controls.Add(this.label8); - this.panel3D3.Controls.Add(this.cmbAlgorithm); - this.panel3D3.Controls.Add(this.label2); - this.panel3D3.Controls.Add(this.panel3D5); - this.panel3D3.Controls.Add(this.cmbThreshold); - this.panel3D3.Location = new System.Drawing.Point(12, 278); - this.panel3D3.Name = "panel3D3"; - this.panel3D3.Size = new System.Drawing.Size(360, 136); - this.panel3D3.TabIndex = 37; - // - // btnBrowse - // - this.btnBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnBrowse.Location = new System.Drawing.Point(324, 83); - this.btnBrowse.Name = "btnBrowse"; - this.btnBrowse.Size = new System.Drawing.Size(30, 23); - this.btnBrowse.TabIndex = 286; - this.btnBrowse.Text = "..."; - this.btnBrowse.UseVisualStyleBackColor = true; - this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); - // - // txtVideo - // - this.txtVideo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel3D3.BackColor = System.Drawing.Color.LightSteelBlue; + this.panel3D3.Controls.Add(this.chkNormalize); + this.panel3D3.Controls.Add(this.btnBrowse); + this.panel3D3.Controls.Add(this.txtVideo); + this.panel3D3.Controls.Add(this.chkNZT48); + this.panel3D3.Controls.Add(this.chkTCMP); + this.panel3D3.Controls.Add(this.label8); + this.panel3D3.Controls.Add(this.cmbAlgorithm); + this.panel3D3.Controls.Add(this.label2); + this.panel3D3.Controls.Add(this.panel3D5); + this.panel3D3.Controls.Add(this.cmbThreshold); + this.panel3D3.Location = new System.Drawing.Point(12, 278); + this.panel3D3.Name = "panel3D3"; + this.panel3D3.Size = new System.Drawing.Size(360, 136); + this.panel3D3.TabIndex = 37; + // + // btnBrowse + // + this.btnBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnBrowse.Location = new System.Drawing.Point(324, 83); + this.btnBrowse.Name = "btnBrowse"; + this.btnBrowse.Size = new System.Drawing.Size(30, 23); + this.btnBrowse.TabIndex = 5; + this.btnBrowse.Text = "..."; + this.btnBrowse.UseVisualStyleBackColor = true; + this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); + // + // txtVideo + // + this.txtVideo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtVideo.Location = new System.Drawing.Point(99, 84); - this.txtVideo.Name = "txtVideo"; - this.txtVideo.Size = new System.Drawing.Size(219, 21); - this.txtVideo.TabIndex = 285; - this.txtVideo.TextChanged += new System.EventHandler(this.txtVideo_TextChanged); - // - // chkNZT48 - // - this.chkNZT48.Location = new System.Drawing.Point(9, 86); - this.chkNZT48.Name = "chkNZT48"; - this.chkNZT48.Size = new System.Drawing.Size(88, 17); - this.chkNZT48.TabIndex = 284; - this.chkNZT48.Text = "NZT-48"; - this.chkNZT48.UseVisualStyleBackColor = true; - this.chkNZT48.CheckedChanged += new System.EventHandler(this.chkNZT48_CheckedChanged); - // - // chkTCMP - // - this.chkTCMP.Location = new System.Drawing.Point(9, 111); - this.chkTCMP.Name = "chkTCMP"; - this.chkTCMP.Size = new System.Drawing.Size(151, 17); - this.chkTCMP.TabIndex = 283; - this.chkTCMP.Text = "TCMP"; - this.chkTCMP.UseVisualStyleBackColor = true; - this.chkTCMP.CheckedChanged += new System.EventHandler(this.chkTCMP_CheckedChanged); - // - // label8 - // - this.label8.ForeColor = System.Drawing.Color.MidnightBlue; - this.label8.Location = new System.Drawing.Point(6, 57); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(85, 21); - this.label8.TabIndex = 276; - this.label8.Text = "Threshold"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // cmbAlgorithm - // - this.cmbAlgorithm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtVideo.Location = new System.Drawing.Point(99, 84); + this.txtVideo.Name = "txtVideo"; + this.txtVideo.Size = new System.Drawing.Size(219, 21); + this.txtVideo.TabIndex = 4; + this.txtVideo.TextChanged += new System.EventHandler(this.txtVideo_TextChanged); + // + // chkNZT48 + // + this.chkNZT48.Location = new System.Drawing.Point(9, 86); + this.chkNZT48.Name = "chkNZT48"; + this.chkNZT48.Size = new System.Drawing.Size(88, 17); + this.chkNZT48.TabIndex = 3; + this.chkNZT48.Text = "NZT-48"; + this.chkNZT48.UseVisualStyleBackColor = true; + this.chkNZT48.CheckedChanged += new System.EventHandler(this.chkNZT48_CheckedChanged); + // + // chkTCMP + // + this.chkTCMP.Location = new System.Drawing.Point(9, 111); + this.chkTCMP.Name = "chkTCMP"; + this.chkTCMP.Size = new System.Drawing.Size(88, 17); + this.chkTCMP.TabIndex = 6; + this.chkTCMP.Text = "TCMP"; + this.chkTCMP.UseVisualStyleBackColor = true; + this.chkTCMP.CheckedChanged += new System.EventHandler(this.chkTCMP_CheckedChanged); + // + // label8 + // + this.label8.ForeColor = System.Drawing.Color.MidnightBlue; + this.label8.Location = new System.Drawing.Point(6, 57); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(85, 21); + this.label8.TabIndex = 276; + this.label8.Text = "Threshold"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cmbAlgorithm + // + this.cmbAlgorithm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.cmbAlgorithm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbAlgorithm.FormattingEnabled = true; - this.cmbAlgorithm.Items.AddRange(new object[] { + this.cmbAlgorithm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbAlgorithm.FormattingEnabled = true; + this.cmbAlgorithm.Items.AddRange(new object[] { "Motion Detector", "REM Detector", "Gamma Detector", "Beta"}); - this.cmbAlgorithm.Location = new System.Drawing.Point(99, 30); - this.cmbAlgorithm.Name = "cmbAlgorithm"; - this.cmbAlgorithm.Size = new System.Drawing.Size(255, 21); - this.cmbAlgorithm.TabIndex = 275; - this.cmbAlgorithm.SelectedIndexChanged += new System.EventHandler(this.cmbAlgorithm_SelectedIndexChanged); - // - // label2 - // - this.label2.ForeColor = System.Drawing.Color.MidnightBlue; - this.label2.Location = new System.Drawing.Point(6, 29); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(87, 21); - this.label2.TabIndex = 271; - this.label2.Text = "Algorithm"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // panel3D5 - // - this.panel3D5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.cmbAlgorithm.Location = new System.Drawing.Point(99, 30); + this.cmbAlgorithm.Name = "cmbAlgorithm"; + this.cmbAlgorithm.Size = new System.Drawing.Size(255, 21); + this.cmbAlgorithm.TabIndex = 1; + this.cmbAlgorithm.SelectedIndexChanged += new System.EventHandler(this.cmbAlgorithm_SelectedIndexChanged); + // + // label2 + // + this.label2.ForeColor = System.Drawing.Color.MidnightBlue; + this.label2.Location = new System.Drawing.Point(6, 29); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(87, 21); + this.label2.TabIndex = 271; + this.label2.Text = "Algorithm"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // panel3D5 + // + this.panel3D5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.panel3D5.BackColor = System.Drawing.Color.SteelBlue; - this.panel3D5.Controls.Add(this.label3); - this.panel3D5.Controls.Add(this.label4); - this.panel3D5.Location = new System.Drawing.Point(0, 0); - this.panel3D5.Name = "panel3D5"; - this.panel3D5.Size = new System.Drawing.Size(360, 24); - this.panel3D5.TabIndex = 4; - // - // label3 - // - this.label3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.label3.ForeColor = System.Drawing.Color.White; - this.label3.Image = ((System.Drawing.Image)(resources.GetObject("label3.Image"))); - this.label3.Location = new System.Drawing.Point(3, 3); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(19, 19); - this.label3.TabIndex = 4; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label4 - // - this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel3D5.BackColor = System.Drawing.Color.SteelBlue; + this.panel3D5.Controls.Add(this.label3); + this.panel3D5.Controls.Add(this.label4); + this.panel3D5.Location = new System.Drawing.Point(0, 0); + this.panel3D5.Name = "panel3D5"; + this.panel3D5.Size = new System.Drawing.Size(360, 24); + this.panel3D5.TabIndex = 4; + // + // label3 + // + this.label3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); + this.label3.ForeColor = System.Drawing.Color.White; + this.label3.Image = ((System.Drawing.Image)(resources.GetObject("label3.Image"))); + this.label3.Location = new System.Drawing.Point(3, 3); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(19, 19); + this.label3.TabIndex = 4; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label4 + // + this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.label4.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); - this.label4.ForeColor = System.Drawing.Color.White; - this.label4.Location = new System.Drawing.Point(24, 3); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(333, 19); - this.label4.TabIndex = 3; - this.label4.Text = "Settings"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // cmbThreshold - // - this.cmbThreshold.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label4.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); + this.label4.ForeColor = System.Drawing.Color.White; + this.label4.Location = new System.Drawing.Point(24, 3); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(333, 19); + this.label4.TabIndex = 3; + this.label4.Text = "Settings"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cmbThreshold + // + this.cmbThreshold.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.cmbThreshold.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbThreshold.FormattingEnabled = true; - this.cmbThreshold.Items.AddRange(new object[] { + this.cmbThreshold.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbThreshold.FormattingEnabled = true; + this.cmbThreshold.Items.AddRange(new object[] { "100", "150", "200", @@ -305,33 +308,45 @@ private void InitializeComponent() "900", "950", "1000"}); - this.cmbThreshold.Location = new System.Drawing.Point(99, 57); - this.cmbThreshold.Name = "cmbThreshold"; - this.cmbThreshold.Size = new System.Drawing.Size(255, 21); - this.cmbThreshold.TabIndex = 33; - this.cmbThreshold.SelectedIndexChanged += new System.EventHandler(this.cmbThreshold_SelectedIndexChanged); - // - // PortForm - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.LightSteelBlue; - this.ClientSize = new System.Drawing.Size(384, 426); - this.Controls.Add(this.pnlPlugins); - this.Controls.Add(this.panel3D3); - this.Font = new System.Drawing.Font("Verdana", 8.25F); - this.ForeColor = System.Drawing.Color.MidnightBlue; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "PortForm"; - this.Text = "Lucid Scribe - NeuroSky ThinkGear EEG"; - this.Load += new System.EventHandler(this.PortForm_Load); - this.pnlPlugins.ResumeLayout(false); - this.mnuPortsList.ResumeLayout(false); - this.Panel3D4.ResumeLayout(false); - this.panel3D3.ResumeLayout(false); - this.panel3D3.PerformLayout(); - this.panel3D5.ResumeLayout(false); - this.ResumeLayout(false); + this.cmbThreshold.Location = new System.Drawing.Point(99, 57); + this.cmbThreshold.Name = "cmbThreshold"; + this.cmbThreshold.Size = new System.Drawing.Size(255, 21); + this.cmbThreshold.TabIndex = 2; + this.cmbThreshold.SelectedIndexChanged += new System.EventHandler(this.cmbThreshold_SelectedIndexChanged); + // + // chkNormalize + // + this.chkNormalize.Checked = true; + this.chkNormalize.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkNormalize.Location = new System.Drawing.Point(99, 111); + this.chkNormalize.Name = "chkNormalize"; + this.chkNormalize.Size = new System.Drawing.Size(135, 17); + this.chkNormalize.TabIndex = 7; + this.chkNormalize.Text = "Normalize Values"; + this.chkNormalize.UseVisualStyleBackColor = true; + this.chkNormalize.CheckedChanged += new System.EventHandler(this.chkNormalize_CheckedChanged); + // + // PortForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.LightSteelBlue; + this.ClientSize = new System.Drawing.Size(384, 426); + this.Controls.Add(this.pnlPlugins); + this.Controls.Add(this.panel3D3); + this.Font = new System.Drawing.Font("Verdana", 8.25F); + this.ForeColor = System.Drawing.Color.MidnightBlue; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "PortForm"; + this.Text = "Lucid Scribe - NeuroSky ThinkGear EEG"; + this.Load += new System.EventHandler(this.PortForm_Load); + this.pnlPlugins.ResumeLayout(false); + this.mnuPortsList.ResumeLayout(false); + this.Panel3D4.ResumeLayout(false); + this.panel3D3.ResumeLayout(false); + this.panel3D3.PerformLayout(); + this.panel3D5.ResumeLayout(false); + this.ResumeLayout(false); } @@ -357,5 +372,6 @@ private void InitializeComponent() private System.Windows.Forms.Button btnBrowse; private System.Windows.Forms.TextBox txtVideo; private System.Windows.Forms.CheckBox chkNZT48; - } + private System.Windows.Forms.CheckBox chkNormalize; + } } \ No newline at end of file diff --git a/ThinkGear EEG/PortForm.cs b/ThinkGear EEG/PortForm.cs index 4d4f77f..13a50ac 100644 --- a/ThinkGear EEG/PortForm.cs +++ b/ThinkGear EEG/PortForm.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.Xml; @@ -20,6 +15,7 @@ public partial class PortForm : Form private Boolean loaded = false; public Boolean TCMP = false; public Boolean NZT48 = false; + public Boolean Normalize = true; public PortForm() { @@ -28,115 +24,132 @@ public PortForm() private void PortForm_Load(object sender, EventArgs e) { - LoadPortList(); - LoadSettings(); - loaded = true; + LoadPortList(); + LoadSettings(); + loaded = true; } private void LoadPortList() { - lstPorts.Clear(); - foreach (string strPort in SerialPort.GetPortNames()) - { - String strPortName = strPort; - strPortName = strPortName.Replace("a", ""); - strPortName = strPortName.Replace("b", ""); - strPortName = strPortName.Replace("c", ""); - strPortName = strPortName.Replace("d", ""); - strPortName = strPortName.Replace("e", ""); - strPortName = strPortName.Replace("f", ""); - strPortName = strPortName.Replace("g", ""); - strPortName = strPortName.Replace("h", ""); - strPortName = strPortName.Replace("i", ""); - strPortName = strPortName.Replace("j", ""); - strPortName = strPortName.Replace("k", ""); - strPortName = strPortName.Replace("l", ""); - strPortName = strPortName.Replace("m", ""); - strPortName = strPortName.Replace("n", ""); - strPortName = strPortName.Replace("o", ""); - strPortName = strPortName.Replace("p", ""); - strPortName = strPortName.Replace("q", ""); - strPortName = strPortName.Replace("r", ""); - strPortName = strPortName.Replace("s", ""); - strPortName = strPortName.Replace("t", ""); - strPortName = strPortName.Replace("u", ""); - strPortName = strPortName.Replace("v", ""); - strPortName = strPortName.Replace("w", ""); - strPortName = strPortName.Replace("x", ""); - strPortName = strPortName.Replace("y", ""); - strPortName = strPortName.Replace("z", ""); - - ListViewItem lstItem = new ListViewItem(strPortName); - lstItem.ImageIndex = 0; - lstPorts.Items.Add(lstItem); - } + lstPorts.Clear(); + foreach (string strPort in SerialPort.GetPortNames()) + { + String strPortName = strPort; + strPortName = strPortName.Replace("a", ""); + strPortName = strPortName.Replace("b", ""); + strPortName = strPortName.Replace("c", ""); + strPortName = strPortName.Replace("d", ""); + strPortName = strPortName.Replace("e", ""); + strPortName = strPortName.Replace("f", ""); + strPortName = strPortName.Replace("g", ""); + strPortName = strPortName.Replace("h", ""); + strPortName = strPortName.Replace("i", ""); + strPortName = strPortName.Replace("j", ""); + strPortName = strPortName.Replace("k", ""); + strPortName = strPortName.Replace("l", ""); + strPortName = strPortName.Replace("m", ""); + strPortName = strPortName.Replace("n", ""); + strPortName = strPortName.Replace("o", ""); + strPortName = strPortName.Replace("p", ""); + strPortName = strPortName.Replace("q", ""); + strPortName = strPortName.Replace("r", ""); + strPortName = strPortName.Replace("s", ""); + strPortName = strPortName.Replace("t", ""); + strPortName = strPortName.Replace("u", ""); + strPortName = strPortName.Replace("v", ""); + strPortName = strPortName.Replace("w", ""); + strPortName = strPortName.Replace("x", ""); + strPortName = strPortName.Replace("y", ""); + strPortName = strPortName.Replace("z", ""); + + ListViewItem lstItem = new ListViewItem(strPortName); + lstItem.ImageIndex = 0; + lstPorts.Items.Add(lstItem); + } } private void LoadSettings() { - if (!File.Exists(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd")) - { - String defaultSettings = ""; - defaultSettings += ""; - defaultSettings += "REM Detector"; - defaultSettings += "800"; - defaultSettings += ""; - defaultSettings += ""; - File.WriteAllText(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd", defaultSettings); - } - - XmlDocument xmlSettings = new XmlDocument(); - xmlSettings.Load(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd"); - - cmbAlgorithm.Text = xmlSettings.DocumentElement.SelectSingleNode("//Algorithm").InnerText; - cmbThreshold.Text = xmlSettings.DocumentElement.SelectSingleNode("//Threshold").InnerText; - - if (xmlSettings.DocumentElement.SelectSingleNode("//NZT48") != null && xmlSettings.DocumentElement.SelectSingleNode("//NZT48").InnerText == "1") - { - chkNZT48.Checked = true; - NZT48 = true; - } - - if (File.Exists(m_strPath + "Plugins\\NZT-48.video.lsd")) - { - txtVideo.Text = File.ReadAllText(m_strPath + "Plugins\\NZT-48.video.lsd"); - } - - if (xmlSettings.DocumentElement.SelectSingleNode("//TCMP") != null && xmlSettings.DocumentElement.SelectSingleNode("//TCMP").InnerText == "1") - { - chkTCMP.Checked = true; - TCMP = true; - } + if (!File.Exists(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd")) + { + String defaultSettings = ""; + defaultSettings += ""; + defaultSettings += "REM Detector"; + defaultSettings += "800"; + defaultSettings += ""; + defaultSettings += ""; + File.WriteAllText(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd", defaultSettings); + } + + XmlDocument xmlSettings = new XmlDocument(); + xmlSettings.Load(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd"); + + cmbAlgorithm.Text = xmlSettings.DocumentElement.SelectSingleNode("//Algorithm").InnerText; + cmbThreshold.Text = xmlSettings.DocumentElement.SelectSingleNode("//Threshold").InnerText; + + if (xmlSettings.DocumentElement.SelectSingleNode("//NZT48") != null && xmlSettings.DocumentElement.SelectSingleNode("//NZT48").InnerText == "1") + { + chkNZT48.Checked = true; + NZT48 = true; + } + + if (File.Exists(m_strPath + "Plugins\\NZT-48.video.lsd")) + { + txtVideo.Text = File.ReadAllText(m_strPath + "Plugins\\NZT-48.video.lsd"); + } + + if (xmlSettings.DocumentElement.SelectSingleNode("//TCMP") != null && xmlSettings.DocumentElement.SelectSingleNode("//TCMP").InnerText == "1") + { + chkTCMP.Checked = true; + TCMP = true; + } + + if (xmlSettings.DocumentElement.SelectSingleNode("//Normalize") != null && xmlSettings.DocumentElement.SelectSingleNode("//Normalize").InnerText == "0") + { + chkNormalize.Checked = false; + Normalize = false; + } } private void SaveSettings() { - String settingsXML = ""; - settingsXML += ""; - settingsXML += "" + cmbAlgorithm.Text + ""; - settingsXML += "" + cmbThreshold.Text + ""; - - if (chkNZT48.Checked) - { - settingsXML += "1"; - } - else - { - settingsXML += "0"; - } - - if (chkTCMP.Checked) - { - settingsXML += "1"; - } - else - { - settingsXML += "0"; - } - - settingsXML += ""; - settingsXML += ""; - File.WriteAllText(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd", settingsXML); + if (!loaded) { return; } + + String settingsXML = ""; + settingsXML += ""; + settingsXML += "" + cmbAlgorithm.Text + ""; + settingsXML += "" + cmbThreshold.Text + ""; + + if (chkNZT48.Checked) + { + settingsXML += "1"; + } + else + { + settingsXML += "0"; + } + + if (chkTCMP.Checked) + { + settingsXML += "1"; + } + else + { + settingsXML += "0"; + } + + if (chkNormalize.Checked) + { + settingsXML += "1"; + } + else + { + settingsXML += "0"; + } + + settingsXML += ""; + settingsXML += ""; + File.WriteAllText(m_strPath + "Plugins\\ThinkGear.EEG.User.lsd", settingsXML); } private void lstPlaylists_MouseMove(object sender, MouseEventArgs e) @@ -163,56 +176,58 @@ private void lstPlaylists_SelectedIndexChanged(object sender, EventArgs e) private void mnuRefresh_Click(object sender, EventArgs e) { - LoadPortList(); + LoadPortList(); } private void cmbAlgorithm_SelectedIndexChanged(object sender, EventArgs e) { - Algorithm = cmbAlgorithm.Text; - if (loaded) { SaveSettings(); } + Algorithm = cmbAlgorithm.Text; + SaveSettings(); } private void cmbThreshold_SelectedIndexChanged(object sender, EventArgs e) { - Threshold = Convert.ToInt32(cmbThreshold.Text); - if (loaded) { SaveSettings(); } + Threshold = Convert.ToInt32(cmbThreshold.Text); + SaveSettings(); } private void chkTCMP_CheckedChanged(object sender, EventArgs e) { - if (!loaded) { return; } + TCMP = chkTCMP.Checked; + SaveSettings(); + } - TCMP = chkTCMP.Checked; - SaveSettings(); + private void chkNormalize_CheckedChanged(object sender, EventArgs e) + { + + Normalize = chkNormalize.Checked; + SaveSettings(); } private void chkNZT48_CheckedChanged(object sender, EventArgs e) { - if (!loaded) { return; } - - NZT48 = chkNZT48.Checked; - SaveSettings(); + NZT48 = chkNZT48.Checked; + SaveSettings(); } private void txtVideo_TextChanged(object sender, EventArgs e) { - SaveNZT48Settings(); + SaveNZT48Settings(); } private void btnBrowse_Click(object sender, EventArgs e) { - OpenFileDialog openFileDialog = new OpenFileDialog(); - openFileDialog.Title = "Select NZT-48 Video"; - if (openFileDialog.ShowDialog() == DialogResult.OK) - { - txtVideo.Text = openFileDialog.FileName; - } + OpenFileDialog openFileDialog = new OpenFileDialog(); + openFileDialog.Title = "Select NZT-48 Video"; + if (openFileDialog.ShowDialog() == DialogResult.OK) + { + txtVideo.Text = openFileDialog.FileName; + } } private void SaveNZT48Settings() { - File.WriteAllText(m_strPath + "Plugins\\NZT-48.video.lsd", txtVideo.Text); + File.WriteAllText(m_strPath + "Plugins\\NZT-48.video.lsd", txtVideo.Text); } - } } diff --git a/ThinkGear EEG/PortForm.resx b/ThinkGear EEG/PortForm.resx index ede1417..4172a01 100644 --- a/ThinkGear EEG/PortForm.resx +++ b/ThinkGear EEG/PortForm.resx @@ -112,23 +112,23 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 257, 17 - + 17, 17 - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACW - DQAAAk1TRnQBSQFMAwEBAAHAAQABwAEAAR8BAAEcAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABfAMA + DQAAAk1TRnQBSQFMAwEBAAHIAQAByAEAAR8BAAEcAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABfAMA ARwDAAEBAQABGAUAAbABKBIAXf//ABgABv8B6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHW AccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHW AccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6QHWAccB6AHX @@ -189,26 +189,26 @@ wgAL - + - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAACXSURBVDhPnZDBDcAgCEU9uFF3YqfePHQc745j860kiGBr - X0JMLP9JCStKKTWlq+LsV3sgDI6D/gnwMsK/JwDbr2PsVfU2HzRZ5JzbOUn0pj1BjHGoFgYcwL+iPIFk - EOhNs4CIzAKDQCMFkkBnC4JpAoSsCQCCXKaAA3oHnwWrHciwK9CwAE1W8bfePsOCFa8C+aJXT3cIN4jJ - kEFaMsuqAAAAAElFTkSuQmCC + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAAJdJREFUOE+dkMENwCAIRT24UXdip948dBzvjmPzrSSIYGtfQkws/0kJK0opNaWr + 4uxXeyAMjoP+CfAywr8nANuvY+xV9TYfNFnknNs5SfSmPUGMcagWBhzAv6I8gWQQ6E2zgIjMAoNAIwWS + QGcLgmkChKwJAIJcpoADegefBasdyLAr0LAATVbxt94+w4IVrwL5oldPdwg3iMmQQVoyy6oAAAAASUVO + RK5CYII= - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAACXSURBVDhPnZDBDcAgCEU9uFF3YqfePHQc745j860kiGBr - X0JMLP9JCStKKTWlq+LsV3sgDI6D/gnwMsK/JwDbr2PsVfU2HzRZ5JzbOUn0pj1BjHGoFgYcwL+iPIFk - EOhNs4CIzAKDQCMFkkBnC4JpAoSsCQCCXKaAA3oHnwWrHciwK9CwAE1W8bfePsOCFa8C+aJXT3cIN4jJ - kEFaMsuqAAAAAElFTkSuQmCC + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAAJdJREFUOE+dkMENwCAIRT24UXdip948dBzvjmPzrSSIYGtfQkws/0kJK0opNaWr + 4uxXeyAMjoP+CfAywr8nANuvY+xV9TYfNFnknNs5SfSmPUGMcagWBhzAv6I8gWQQ6E2zgIjMAoNAIwWS + QGcLgmkChKwJAIJcpoADegefBasdyLAr0LAATVbxt94+w4IVrwL5oldPdwg3iMmQQVoyy6oAAAAASUVO + RK5CYII= - + 32 diff --git a/ThinkGear EEG/Properties/AssemblyInfo.cs b/ThinkGear EEG/Properties/AssemblyInfo.cs index 3121a67..5a80a54 100644 --- a/ThinkGear EEG/Properties/AssemblyInfo.cs +++ b/ThinkGear EEG/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("lucidcode")] [assembly: AssemblyProduct("Lucid Scribe ThinkGear EEG Plugin")] -[assembly: AssemblyCopyright("Copyright © lucidcode 2012 - 2015")] +[assembly: AssemblyCopyright("Copyright © lucidcode 2012 - 2022")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.1.7.0")] -[assembly: AssemblyFileVersion("1.1.7.0")] +[assembly: AssemblyVersion("1.1.8.0")] +[assembly: AssemblyFileVersion("1.1.8.0")]