添加信息播报页面
This commit is contained in:
commit
8d5631a651
6 files changed
+159
-3
No files matched your search
@@ -76,7 +76,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
public static UserControls.info[] inf = new UserControls.info[999]; //定义总览信息卡
|
||||
public static int ERR_c = 0;//错误计数器
|
||||
public static bool[] USER_Capacity { set; get; } = new bool[99];
|
||||
private SpeechSynthesizer synth = new SpeechSynthesizer();//语音
|
||||
// private SpeechSynthesizer synth = new SpeechSynthesizer();//语音
|
||||
|
||||
public MainWindowViewModel()
|
||||
{
|
||||
@@ -91,8 +91,9 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
SN_KEY = Configini.IniReadvalue("SN", "SN1");
|
||||
DyelotsDispenser = Convert.ToBoolean(Configini.IniReadvalue("SYS", "DyelotsDispenser"));
|
||||
|
||||
synth.Rate = int.Parse( Configini.IniReadvalue("VOICE", "V1"));
|
||||
synth.Volume = int.Parse( Configini.IniReadvalue("VOICE", "V2"));
|
||||
// synth.Rate = int.Parse( Configini.IniReadvalue("VOICE", "V1"));
|
||||
// synth.Volume = int.Parse( Configini.IniReadvalue("VOICE", "V2"));
|
||||
|
||||
}
|
||||
catch (Exception ex) { LogGing.ERRDATA(ex); }
|
||||
|
||||
@@ -108,6 +109,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
CountDown();
|
||||
TcpClientNEW();
|
||||
SQL_LINK();
|
||||
|
||||
}
|
||||
public static void USERCapacity(string user) //权限
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user