Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

"http:restcountries.

eu","/rest/v2/all"

{"Url":"internal.medvision.com.co:9090/MedvisionQxApiTest/","Tipo":"Paciente"}

{"Url":"http://internal.medvision.com.co:9090/MedvisionQxApiTest/MedvisionQx/","Tip
o":"Paciente"} CORRECTA
{"Url":"http://internal.medvision.com.co:9090/MedvisionQxApiTest/MedvisionQx/","Tip
o":"Limpieza"} CORRECTA

{"Url":"http://internal.medvision.com.co:9090/MedvisionTPCService/medvisionqx/","Ti
po":"Pacientes"} NUEVA

QXFULL
C:\Users\Luis\OneDrive\Escritorio\Qx4Mayo\QXMovil

QXPANAMA
C:\Users\Luis\OneDrive\Escritorio\QXPANAMA

<CollectionView
ItemsSource="{Binding Users}"
VerticalOptions="Center"
HeightRequest="50"
SelectionMode="Single"

SelectedItem="{Binding SelectedUser}"
SelectionChangedCommand="{Binding ItemSelectedCommand}">
<CollectionView.ItemsLayout>
<LinearItemsLayout Orientation="Horizontal"
ItemSpacing="20"/>
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<Frame Padding="0"
WidthRequest="50"
HeightRequest="50"
CornerRadius="25"
HorizontalOptions="Center"
VerticalOptions="Center"
HasShadow="False"
IsClippedToBounds="True">
<StackLayout>

<Image Source="{Binding Avatar}"/>


<Label Text="{Binding Sender}"
TextColor="{Binding Color}"
FontSize="15"
FontAttributes="Bold"/>

</StackLayout>
</Frame>
</DataTemplate>
</CollectionView.ItemTemplate>

</CollectionView>
********************/

rsion="1.0" encoding="utf-8" ?>


<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="TheChat.Pages.SalaLimpiezaPage">

<StackLayout BackgroundColor="White" >

<StackLayout BackgroundColor="#ce682c">
<Label></Label>
<Label
Text="ESTADO QX"
HorizontalOptions="Center"
TextColor="#ffff"
FontSize="15"
></Label>

<Label Text="{Binding DateTime,StringFormat='{0:T}'}"


HorizontalOptions="Center" VerticalOptions="Center"
FontSize="Large"
></Label>

</StackLayout>

<StackLayout BackgroundColor="White">

<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions >

<Label
TextColor="#ce682c"
Text="Fecha"
FontSize="13" HeightRequest="20"
HorizontalTextAlignment="Center"
FontAttributes="Bold"
Grid.Column="0"
Grid.Row="0"/>

<Label HorizontalTextAlignment="Center" FontSize="13"


TextColor="#ce682c"
Text="Qx" HeightRequest="20"
Grid.Row="0" FontAttributes="Bold"
Grid.Column="1"
/>

<Label HorizontalTextAlignment="Center" FontSize="13"


TextColor="#ce682c" HeightRequest="20"
Text="Hora llamado"
Grid.Row="0" FontAttributes="Bold"
Grid.Column="2"
/>
<Label HorizontalTextAlignment="Center" FontSize="13"
TextColor="#ce682c"
Text="Tiempo" HeightRequest="20"
Grid.Row="0" FontAttributes="Bold"
VerticalTextAlignment="Center"
Grid.Column="3"
/>

</Grid>

</StackLayout>

<Label></Label>
<StackLayout >

<ListView x:Name="listView1"
ItemsSource="{Binding limpiezaviewmodelq}"
BackgroundColor="White"
SelectionMode="None"
Footer=""
HasUnevenRows="True"
IsPullToRefreshEnabled = "True"
RefreshControlColor = "Orange"
RefreshCommand = "{Binding RefreshCommand}"
IsRefreshing = "{Binding IsRefreshing}"
>

<ListView.ItemTemplate >

<DataTemplate>
<ViewCell>
<ViewCell.View>

<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions >

<Label

Text="{Binding FechaInicioFull} "


Grid.Column="0"
HorizontalTextAlignment="Center"
FontSize="15"
Grid.Row="1"
TextColor="#ce682c"
/>

<Label FontSize="15" HorizontalTextAlignment="Center"


Text="{Binding OperationRoom.Name}" TextColor="#ce682c"
Grid.Row="1" Grid.Column="1"/>

<Label FontSize="15" HorizontalTextAlignment="Center"


Text="{Binding HoraFinFull}"
TextColor="#ce682c"
Grid.Row="1" Grid.Column="2"/>

<Label
x:Name="tiempodemora"
FontSize="15" HorizontalTextAlignment="Center"
Text="{Binding DateTime1,StringFormat='{0:T}'}"

Grid.Row="1" Grid.Column="3"/>

</Grid>

</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>

</StackLayout>

</StackLayout>

</ContentPage>

*******************************************

#region Foreach Ok
//foreach (var data in asistencialviewmodelq)
//{

// MedicoTipo.Add(new MedicoModelTipo()
// {
// Tipo = data.ProcedureType[0].Name,
// ID = Convert.ToString(data.ProcedureType[0].Oid)

// });

// int cantidad1 = MedicoTipo.Where(x => x.Tipo ==


data.ProcedureType[0].Name).Count();

// Cantidadxtipo = new List<CantidadxTipo>()


// {

// new CantidadxTipo (data.ProcedureType[0].Name,cantidad1),

// };
// //foreach (var data1 in asistencialviewmodelq)
// //{
// // //Anasto...1
// // //Apendicectomia 2
// // //Cesarea 3
// // //Proced1...1
// // //Proced3...1

// // Cantidadxtipo.Add(new
CantidadxTipo(data1.ProcedureType[0].Name, cantidad1));
// //}

// }

#endregion

https://github.com/prashantvc/easychat-service/tree/master/service

https://devblogs.microsoft.com/xamarin/developing-real-time-communication-apps-
with-websocket/

You might also like