-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
28 changed files
with
1,537 additions
and
172 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file renamed
BIN
+17.5 MB
APK Release/CS710SCSDemo0.1.6-059.apk → APK Release/CS710SCSDemo0.1.7-070.apk
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
MobileMvxApp/BLE.Client/PagesViewModelsSet/SpecialFuction/ASYGN/PageAsygnInventory.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<views:MvxContentPage x:TypeArguments="viewModels:ViewModelAsygnInventory" | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:views="clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms" | ||
xmlns:viewModels="clr-namespace:BLE.Client.ViewModels;assembly=BLE.Client" | ||
x:Class="BLE.Client.Pages.PageAsygnInventory" | ||
Title="Asygn Temp Tag Inventory"> | ||
|
||
<StackLayout> | ||
|
||
<ListView x:Name="liewViewTagData" ItemsSource="{Binding TagInfoList}" ItemSelected="OnItemSelected" HasUnevenRows="true" > | ||
|
||
<ListView.Header> | ||
<StackLayout Padding="10,5,0,5" BackgroundColor="#cccccc"> | ||
<Grid> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="0.8*" /> | ||
<ColumnDefinition Width="0.2*" /> | ||
</Grid.ColumnDefinitions> | ||
<Label Text="EPC" VerticalTextAlignment="Center" FontSize="Small" /> | ||
<Label Grid.Column="1" Text="RSSI" VerticalTextAlignment="Center" HorizontalTextAlignment="Start" FontSize="Small" /> | ||
</Grid> | ||
</StackLayout> | ||
</ListView.Header> | ||
|
||
<ListView.ItemTemplate> | ||
<DataTemplate> | ||
<ViewCell> | ||
<StackLayout Orientation="Vertical"> | ||
<Grid> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="0.8*" /> | ||
<ColumnDefinition Width="0.2*" /> | ||
</Grid.ColumnDefinitions> | ||
<Label Text="{Binding EPC}" VerticalTextAlignment="Center" FontSize="Small" /> | ||
<Label Grid.Column="1" Text="{Binding RSSI}" VerticalTextAlignment="Center" HorizontalTextAlignment="Start" /> | ||
</Grid> | ||
|
||
<Label Text="{Binding Bank1Data}" VerticalTextAlignment="Center" FontSize="Small" /> | ||
<Label Text="{Binding Bank2Data}" VerticalTextAlignment="Center" FontSize="Small" /> | ||
|
||
</StackLayout> | ||
</ViewCell> | ||
</DataTemplate> | ||
</ListView.ItemTemplate> | ||
|
||
</ListView> | ||
|
||
<StackLayout Orientation="Vertical" VerticalOptions="EndAndExpand" > | ||
|
||
<Button Text= "{Binding startInventoryButtonText}" Font="Large" Command="{Binding OnStartInventoryButtonCommand}" /> | ||
<Button Text="Clear" Font="Large" Command="{Binding OnClearButtonCommand}" /> | ||
|
||
<StackLayout Orientation="Horizontal"> | ||
|
||
<Label Text="{Binding FilterIndicator}" Font="Small" TextColor="Red" HorizontalOptions="Start" VerticalTextAlignment="End"/> | ||
<Label Text="{Binding InventoryTime}" Font="Small" HorizontalOptions="CenterAndExpand" VerticalOptions="End" /> | ||
|
||
</StackLayout> | ||
|
||
<StackLayout Orientation="Horizontal"> | ||
|
||
<Label Text="{Binding numberOfTagsText}" Font="Small" HorizontalOptions="StartAndExpand" VerticalOptions="CenterAndExpand" /> | ||
<Label Text="{Binding labelVoltage}" Font="Small" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" /> | ||
<Label Text="{Binding tagPerSecondText}" Font="Small" HorizontalOptions="EndAndExpand" VerticalOptions="CenterAndExpand" /> | ||
|
||
</StackLayout> | ||
</StackLayout> | ||
|
||
</StackLayout> | ||
</views:MvxContentPage> |
40 changes: 40 additions & 0 deletions
40
MobileMvxApp/BLE.Client/PagesViewModelsSet/SpecialFuction/ASYGN/PageAsygnInventory.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using BLE.Client.Pages; | ||
using BLE.Client.ViewModels; | ||
using MvvmCross.Forms.Views; | ||
using Xamarin.Forms; | ||
|
||
namespace BLE.Client.Pages | ||
{ | ||
public partial class PageAsygnInventory : MvxContentPage<ViewModelAsygnInventory> | ||
{ | ||
public PageAsygnInventory() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
public async void OnItemSelected(object sender, SelectedItemChangedEventArgs e) | ||
{ | ||
var answer = await DisplayAlert("Select Tag", "Selected Tag for Read/Write and Geiger search", "OK", "Cancel"); | ||
|
||
if (answer) | ||
{ | ||
//BLE.Client.ViewModels.ViewModelInventorynScan.TagInfo Items = (BLE.Client.ViewModels.ViewModelInventorynScan.TagInfo)e.SelectedItem; | ||
TagInfoViewModel Items = (TagInfoViewModel)e.SelectedItem; | ||
|
||
BleMvxApplication._SELECT_EPC = Items.EPC; | ||
BleMvxApplication._SELECT_PC = Items.PC; | ||
|
||
if ((BleMvxApplication._config.RFID_MBI_MultiBank1Enable && BleMvxApplication._config.RFID_MBI_MultiBank1 == CSLibrary.Constants.MemoryBank.TID) || | ||
(!BleMvxApplication._config.RFID_MBI_MultiBank1Enable && BleMvxApplication._config.RFID_MBI_MultiBank2Enable && BleMvxApplication._config.RFID_MBI_MultiBank2 == CSLibrary.Constants.MemoryBank.TID)) | ||
BleMvxApplication._SELECT_TID = Items.Bank1Data; | ||
else if (BleMvxApplication._config.RFID_MBI_MultiBank2Enable && BleMvxApplication._config.RFID_MBI_MultiBank2 == CSLibrary.Constants.MemoryBank.TID) | ||
BleMvxApplication._SELECT_TID = Items.Bank2Data; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.